The Conley-Morse Graphs Software
typeparam.h
Go to the documentation of this file.
1/////////////////////////////////////////////////////////////////////////////
2///
3/// @file typeparam.h
4///
5/// Customizable data types for the Conley-Morse graphs computation program.
6/// This file contains the definitions of various types
7/// used in the program "cmgraphs.cpp".
8/// The experienced end user is supposed to edit this file if he or she
9/// finds it necessary to tweak the program settings or to use the code
10/// for customized computations.
11///
12/// @author Pawel Pilarczyk
13///
14/////////////////////////////////////////////////////////////////////////////
15
16// Copyright (C) 1997-2014 by Pawel Pilarczyk.
17//
18// This file is part of my research software package. This is free software:
19// you can redistribute it and/or modify it under the terms of the GNU
20// General Public License as published by the Free Software Foundation,
21// either version 3 of the License, or (at your option) any later version.
22//
23// This software is distributed in the hope that it will be useful,
24// but WITHOUT ANY WARRANTY; without even the implied warranty of
25// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26// GNU General Public License for more details.
27//
28// You should have received a copy of the GNU General Public License
29// along with this software; see the file "license.txt". If not,
30// please, see <https://www.gnu.org/licenses/>.
31
32// Started on February 11, 2008. Last revision: February 20, 2012.
33
34
35#ifndef _CMGRAPHS_TYPEPARAM_H_
36#define _CMGRAPHS_TYPEPARAM_H_
37
38
39// include selected header files from the CHomP library
40#include "chomp/cubes/pointset.h"
41#include "chomp/cubes/cube.h"
42#include "chomp/struct/hashsets.h"
43
44// include local header files
45#include "config.h"
46
47
48// --------------------------------------------------
49// ----------- parameter grid structures ------------
50// --------------------------------------------------
51
52/// The type of coordinates of cubes in the set of parameters.
53typedef short int parCoord;
54
55/// The type of a cube in the set of parameters.
56/// Note: This type must be different from the type of a cube
57/// in the phase space.
58typedef chomp::homology::tCubeFix<paramDim,parCoord> parCube;
59
60/// The type of a set of cubes in the set of parameters.
61typedef chomp::homology::hashedset<parCube> parCubes;
62
63/// The type of a rectangle used to iterate sets of cubes of parameters.
64typedef chomp::homology::tRectangle<parCoord> parRect;
65
66
67#endif // _CMGRAPHS_TYPEPARAM_H_
68
Choice of configuration settings.
chomp::homology::tCubeFix< paramDim, parCoord > parCube
The type of a cube in the set of parameters.
Definition: typeparam.h:58
short int parCoord
The type of coordinates of cubes in the set of parameters.
Definition: typeparam.h:53
chomp::homology::tRectangle< parCoord > parRect
The type of a rectangle used to iterate sets of cubes of parameters.
Definition: typeparam.h:64
chomp::homology::hashedset< parCube > parCubes
The type of a set of cubes in the set of parameters.
Definition: typeparam.h:61