The Conley-Morse Graphs Software
typespace.h
Go to the documentation of this file.
1/////////////////////////////////////////////////////////////////////////////
2///
3/// @file typespace.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_TYPESPACE_H_
36#define _CMGRAPHS_TYPESPACE_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
45// --------------------------------------------------
46// ---------- phase space grid structures -----------
47// --------------------------------------------------
48
49/// The type of coordinates of cubes in the phase space.
50typedef int spcCoord;
51
52/// The type of a cube in the phase space.
53/// Note: This type must be different from the type of a cube
54/// in the set of parameters.
55typedef chomp::homology::tCubeBase<spcCoord> spcCube;
56
57/// The type of a set of cubes in the phase space.
58typedef chomp::homology::hashedset<spcCube> spcCubes;
59
60/// The type of a combinatorial cubical multivalued map.
61typedef chomp::homology::mvmap<spcCube,spcCube> spcMap;
62
63/// The type of a rectangle used to iterate sets of cubes in the phase space.
64typedef chomp::homology::tRectangle<spcCoord> spcRect;
65
66
67#endif // _CMGRAPHS_TYPESPACE_H_
68
chomp::homology::mvmap< spcCube, spcCube > spcMap
The type of a combinatorial cubical multivalued map.
Definition: typespace.h:61
chomp::homology::hashedset< spcCube > spcCubes
The type of a set of cubes in the phase space.
Definition: typespace.h:58
int spcCoord
The type of coordinates of cubes in the phase space.
Definition: typespace.h:50
chomp::homology::tRectangle< spcCoord > spcRect
The type of a rectangle used to iterate sets of cubes in the phase space.
Definition: typespace.h:64
chomp::homology::tCubeBase< spcCoord > spcCube
The type of a cube in the phase space.
Definition: typespace.h:55