Minsky
simulation.h
Go to the documentation of this file.
1
/*
2
@copyright Steve Keen 2018
3
@author Russell Standish
4
This file is part of Minsky.
5
6
Minsky is free software: you can redistribute it and/or modify it
7
under the terms of the GNU General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
Minsky is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with Minsky. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
#ifndef SIMULATION_H
20
#define SIMULATION_H
21
22
#include <cmath>
23
#include <string>
24
25
namespace
minsky
26
{
27
struct
Simulation
28
{
29
double
stepMin
{0},
stepMax
{0.01};
30
int
nSteps
{1};
31
double
epsRel
{1e-2},
epsAbs
{1e-3};
32
int
order
{4};
33
bool
implicit
{
false
};
34
int
simulationDelay
{0};
35
std::string
timeUnit
;
36
double
tmax
{INFINITY},
t0
{0};
37
};
38
}
39
40
#include "simulation.cd"
41
#include "simulation.xcd"
42
#endif
minsky::Simulation::simulationDelay
int simulationDelay
Definition:
simulation.h:34
minsky::Simulation::stepMin
double stepMin
Definition:
simulation.h:29
minsky::Simulation::epsAbs
double epsAbs
Definition:
simulation.h:31
minsky::Simulation::order
int order
Definition:
simulation.h:32
minsky::Simulation::epsRel
double epsRel
Definition:
simulation.h:31
minsky::Simulation
Definition:
simulation.h:27
minsky
Creation and access to the minskyTCL_obj object, which has code to record whenever Minsky's state cha...
Definition:
constMap.h:22
minsky::Simulation::timeUnit
std::string timeUnit
Definition:
simulation.h:35
minsky::Simulation::t0
double t0
Definition:
simulation.h:36
minsky::Simulation::stepMax
double stepMax
Definition:
simulation.h:29
minsky::Simulation::nSteps
int nSteps
Definition:
simulation.h:30
minsky::Simulation::implicit
bool implicit
Definition:
simulation.h:33
minsky::Simulation::tmax
double tmax
Definition:
simulation.h:36
schema
simulation.h
Generated on Tue Mar 18 2025 13:00:34 for Minsky by
1.8.14