The Conley-Morse Graphs Software
c_inf_t.h
Go to the documentation of this file.
1/////////////////////////////////////////////////////////////////////////////
2///
3/// @file
4///
5/// Configuration for the time-t map for an infectious disease model.
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 February 9, 2008. Last revision: February 9, 2008.
28
29
30#ifndef _CMGRAPHS_CONFIG_H_
31#define _CMGRAPHS_CONFIG_H_
32
33
34// Use single parameter points instead of parameter intervals.
35// Comment this setting out for the final computations.
36//#define CONFIG_PARAMPOINTS
37
38// Do not send individual parameter boxes for precomputing
39// the Conley indices.
40//#define CONFIG_NOPREPROCESSING
41
42// Do preprocessing only and skip the matching part.
43#define CONFIG_ONLYPREPROCESSING
44
45// Use the procedure for computing the Morse decomposition
46// instead of computing the invariant part of the set,
47// and also don't determine connections between Morse sets.
48// In this way, the connections between Morse sets are lost,
49// but the invariant part to subdivide may be substantially smaller.
50// Comment this setting out for the final computations
51// to get full information.
52//#define CONFIG_NOCONNECTIONS
53
54// Use the default bounding box for ODE integration in order to prevent
55// iterating trajectories far beyond the phase space of interest,
56// and, in particular, to avoid running out of the scope of integer
57// coordinates of boxes when determining the images of boxes.
58// WARNING: This technique may lead to the construction of combinatorial
59// cubical multivalued maps that are not acyclic, that is, do not satisfy
60// the necessary assupmtions for the computation of the homomorphism
61// induced in homology (for the Conley index map).
62// NOTE: If using the approximate integration of the ODE, this technique
63// works in a different way, by fading the vector field outside the box,
64// so it is safe to use it in that setting.
65//#define CONFIG_ODEBOUNDINGBOX
66
67// Make a correction to the isolating neiborhood after subdivision.
68// This is necessary for integrating ODEs using the time-t map
69// with variable t, because an isolating neighborhood for one t
70// need not be an isolating neighborhood for another t, so it is only taken
71// as a hint, and those cubes from the exit set whose images intersect
72// the isolating neighborhood are added to the isolating neighborhood,
73// like in an algorithm for the construction of an index pair.
74#define CONFIG_ODEVART
75
76// Define the X coordinate for plotting the Morse sets in the PNG files.
77// Note: Plotting the amount of infected individuals.
78#define PLOT_X_COORD 0
79
80// Define the Y coordinate for plotting the Morse sets in the PNG files.
81// Note: Plotting the amount of infected individuals.
82#define PLOT_Y_COORD 2
83
84
85// --------------------------------------------------
86// -------------- THE PARAMETER RANGES --------------
87// --------- AND THE PHASE SPACE SELECTION ----------
88// --------------------------------------------------
89
90#include "p_inf.h"
91using namespace custom::InfModel;
92
93
94// --------------------------------------------------
95// --------------- THE MAP SELECTION ----------------
96// --------------------------------------------------
97
98#include "m_inf.h"
99
100/// Defines the type of the map to be used for the computations.
101/// The corresponding header file must be included prior to this definition.
103#define _MAP_COMP_TIGHT_
104
105
106// --------------------------------------------------
107// -------------- KNOWN CONLEY INDICES --------------
108// --------------------------------------------------
109
110#include "indknown.h"
111using namespace custom::noKnownIndices;
112
113
114// --------------------------------------------------
115// ---- POST-PROCESSING OF MORSE DECOMPOSITIONS -----
116// --------------------------------------------------
117
118#include "procmdec.h"
119//#include "procsave.h"
120using namespace custom::noProcMorseDec;
121//using namespace custom::saveMorseDec;
122
123
124// --------------------------------------------------
125// ------------- COMPATIBILITY CONTROL --------------
126// --------------------------------------------------
127
128/// The control number that is used to confirm the compatibility
129/// between the coordinator and workers.
130/// Please, increase this number by 1 every time the configuration
131/// of the program changes substantially (e.g., different parameter ranges,
132/// different numbers of subintervals, or different maps are chosen).
133const int controlNumber = 31130;
134
135
136#endif // _CMGRAPHS_CONFIG_H_
137
const int controlNumber
The control number that is used to confirm the compatibility between the coordinator and workers.
Definition: c_inf_t.h:133
MapInf theMapType
Defines the type of the map to be used for the computations.
Definition: c_inf_t.h:102
This class defines the time-t map for the equations.
Definition: m_inf.h:46
Known Conley indices for a dynamical system.
The time-t map for an infectious disease model.
Parameters for the two coupled quintic Vanderpol maps.
Definition: p_inf.h:37
Dummy version of a function for the computation of Conley indices of Morse sets which fail the isolat...
Definition: indknown.h:54
Dummy version of a function for the post-processing of Morse decompositions.
Definition: procmdec.h:52
Parameters for an infectious disease ODE.
Dummy post-processing of Morse decompositions.