The Conley-Morse Graphs Software
p_roessler.h
Go to the documentation of this file.
1/////////////////////////////////////////////////////////////////////////////
2///
3/// @file p_roessler.h
4///
5/// Parameters for the Roessler equations with 2 parameters.
6///
7/// @author Pawel Pilarczyk
8///
9/////////////////////////////////////////////////////////////////////////////
10
11// Copyright (C) 1997-2014 by Pawel Pilarczyk.
12//
13// This file is part of my research software package. This is free software:
14// you can redistribute it and/or modify it under the terms of the GNU
15// General Public License as published by the Free Software Foundation,
16// either version 3 of the License, or (at your option) any later version.
17//
18// This software is distributed in the hope that it will be useful,
19// but WITHOUT ANY WARRANTY; without even the implied warranty of
20// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21// GNU General Public License for more details.
22//
23// You should have received a copy of the GNU General Public License
24// along with this software; see the file "license.txt". If not,
25// please, see <https://www.gnu.org/licenses/>.
26
27// Started on May 26, 2011. Last revision: May 26, 2011.
28
29
30#ifndef _CMGRAPHS_P_H_
31#define _CMGRAPHS_P_H_
32
33
34namespace custom {
35
36/// Parameters for the Roessler time-t map with 2 parameters.
37namespace roessler {
38
39
40// --------------------------------------------------
41// --------- the phase space configuration ----------
42// --------------------------------------------------
43
44/// The dimension of the phase space.
45const int spaceDim = 3;
46
47/// Is space wrapping (a.k.a. periodic boundary conditions)
48/// in effect in the given directions?
49const bool spaceWrapping [spaceDim] = {false, false, false};
50
51/// The initial depth of subdivisions in the phase space.
52const int initialDepth = 5;
53
54/// The final depth of subdivisions in the phase space.
55const int finalDepth = 7;
56
57
58// --------------------------------------------------
59// ------------ the parameter selection -------------
60// --------------------------------------------------
61
62/// The dimension of the parameter space to iterate. Only those parameters
63/// which are varying are taken into consideration here.
64const int paramDim = 2;
65
66/// The numbers of subintervals in each direction of the parameter space.
67/// The type of these numbers must match "parCoord" in "typedefs.h".
68const short int paramSubdiv [paramDim] = {1, 1};
69
70/// The numbers of parameters to subdivide.
71const int paramSelect [paramDim] = {0, 1};
72
73
74// --------------------------------------------------
75// ---------- the parameter space settings ----------
76// --------------------------------------------------
77
78/// The number of all the parameters, both varying and fixed.
79const int paramCount = 2;
80
81/// The left bounds on the parameters.
82const double paramLeft [paramCount] = {3.1, 0.2};
83
84/// The right bounds on the parameters.
85const double paramRight [paramCount] = {3.1, 0.2};
86
87
88// --------------------------------------------------
89// -------------- the phase space size --------------
90// --------------------------------------------------
91
92/// An array which keeps the offset of the rectangular area
93/// in the phase space that contains the invariant sets of interest.
94const double spaceOffset [spaceDim] = {-8, -8, -1};//{-16, -16, -4};
95
96/// An array which keeps the width of the rectangular area
97/// in the phase space that contains the invariant sets of interest.
98const double spaceWidth [spaceDim] = {16, 16, 16};//{32, 32, 32};
99
100
101// --------------------------------------------------
102// ------------------ refinements -------------------
103// --------------------------------------------------
104
105/// The number of refinements that should be done if a Morse set
106/// with the trivial index is encountered or if the image of a Morse set
107/// sticks out of the rectangular region to which the computations
108/// are restricted. Set to zero for no refinements.
109const int refineDepth = 3;
110
111/// The maximal allowed size of a set of cubes in the phase space
112/// which can be refined at the initial subdivision level.
113/// Set to zero to suppress any refinements.
114const int maxRefineSize0 = 10000;
115
116/// The maximal allowed size of a set of cubes in the phase space
117/// which can be refined at the subsequent subdivision levels.
118/// Set to zero to suppress any refinements.
119const int maxRefineSize1 = 5000;
120
121
122// --------------------------------------------------
123// ------------------- map images -------------------
124// --------------------------------------------------
125
126/// The maximal allowed diameter of the cubical image of a signle box.
127/// This limit is set up in order to prevent a blow-up of the program
128/// in the memory because of accumulating huge images of boxes.
129const int maxImageDiameter = 1000000;
130
131/// The maximal allowed volume of the cubical image of a single box.
132/// This limit is set up in order to prevent a blow-up of the program
133/// in the memory because of accumulating huge images of boxes.
134const int maxImageVolume = 10000000;
135
136
137// --------------------------------------------------
138// -------------- max index pair size ---------------
139// --------------------------------------------------
140
141/// The maximal allowed size of the index pair. This size is measured
142/// as the total number of cubes in the index pair and its forward image.
143const int maxIndexPairSize = 20000;
144
145
146// --------------------------------------------------
147// --------------- joining Morse sets ---------------
148// --------------------------------------------------
149
150/// The maximal number of cubes in a trivial Morse set for which an attempt
151/// is made to join this set with another near-by Morse set.
152/// Set to zero to suppress joining.
153const int maxJoinSize = 0;
154
155/// The maximal size of a connecting orbit between two Morse sets
156/// which can be considered for joining.
157const int maxJoinConnection = 1000;
158
159/// The maximal allowed distance between two Morse sets which can be
160/// considered for joining. Note: It doesn't work with space wrapping.
161const int maxJoinDistance = 100;
162
163
164// --------------------------------------------------
165// ----------------- other settings -----------------
166// --------------------------------------------------
167
168/// Should the ordering between the Morse sets be taken into consideration
169/// while determining whether two Morse decompositions
170/// computed for adjacent parameter boxes are in the same class?
171const bool compareMorseOrdering = true;
172
173/// Ignoring the isolation problem while matching Morse decompositions.
174/// If this constant is set to "true" then Morse sets are matched
175/// with each other indepent of whether the Conley index could be computed
176/// for them or not. Otherwise, 'correct' and 'wrong' Morse sets
177/// are matched with their counterparts in the same category only.
179
180/// Ignoring the isolation problem while computing the Conley index.
181/// If the constant is set to "true" then the index pair constructed on the
182/// basis of a combinatorial Morse set with respect to the dynamics
183/// restricted to the rectangular area of interest is also restricted
184/// to that area by means of projecting all the boxes that stick out
185/// of the region onto a single layer of boxes around the boundary.
187
188
189} // namespace roessler
190} // namespace custom
191
192
193#endif // _CMGRAPHS_P_H_
194
const int maxImageDiameter
The maximal allowed diameter of the cubical image of a signle box.
Definition: p_roessler.h:129
const int refineDepth
The number of refinements that should be done if a Morse set with the trivial index is encountered or...
Definition: p_roessler.h:109
const int maxJoinConnection
The maximal size of a connecting orbit between two Morse sets which can be considered for joining.
Definition: p_roessler.h:157
const double spaceOffset[spaceDim]
An array which keeps the offset of the rectangular area in the phase space that contains the invarian...
Definition: p_roessler.h:94
const double spaceWidth[spaceDim]
An array which keeps the width of the rectangular area in the phase space that contains the invariant...
Definition: p_roessler.h:98
const bool ignoreIsolationForConleyIndex
Ignoring the isolation problem while computing the Conley index.
Definition: p_roessler.h:186
const int maxRefineSize1
The maximal allowed size of a set of cubes in the phase space which can be refined at the subsequent ...
Definition: p_roessler.h:119
const int maxImageVolume
The maximal allowed volume of the cubical image of a single box.
Definition: p_roessler.h:134
const int paramCount
The number of all the parameters, both varying and fixed.
Definition: p_roessler.h:79
const double paramRight[paramCount]
The right bounds on the parameters.
Definition: p_roessler.h:85
const int initialDepth
The initial depth of subdivisions in the phase space.
Definition: p_roessler.h:52
const int maxJoinSize
The maximal number of cubes in a trivial Morse set for which an attempt is made to join this set with...
Definition: p_roessler.h:153
const int paramDim
The dimension of the parameter space to iterate.
Definition: p_roessler.h:64
const int spaceDim
The dimension of the phase space.
Definition: p_roessler.h:45
const int paramSelect[paramDim]
The numbers of parameters to subdivide.
Definition: p_roessler.h:71
const double paramLeft[paramCount]
The left bounds on the parameters.
Definition: p_roessler.h:82
const bool spaceWrapping[spaceDim]
Is space wrapping (a.k.a.
Definition: p_roessler.h:49
const int maxIndexPairSize
The maximal allowed size of the index pair.
Definition: p_roessler.h:143
const int maxJoinDistance
The maximal allowed distance between two Morse sets which can be considered for joining.
Definition: p_roessler.h:161
const bool ignoreIsolationForContinuation
Ignoring the isolation problem while matching Morse decompositions.
Definition: p_roessler.h:178
const bool compareMorseOrdering
Should the ordering between the Morse sets be taken into consideration while determining whether two ...
Definition: p_roessler.h:171
const int maxRefineSize0
The maximal allowed size of a set of cubes in the phase space which can be refined at the initial sub...
Definition: p_roessler.h:114
const short int paramSubdiv[paramDim]
The numbers of subintervals in each direction of the parameter space.
Definition: p_roessler.h:68
const int finalDepth
The final depth of subdivisions in the phase space.
Definition: p_roessler.h:55
Customizable settings that are supposed to be modified and/or chosen by the user of the software.