Minsky
|
#include <schema0.h>
Public Types | |
typedef std::map< int, Port > | Ports |
typedef std::map< int, Wire > | Wires |
typedef std::map< int, GodleyIcon > | GodleyItems |
typedef std::map< int, Operation > | Operations |
typedef std::map< int, GroupIcon > | GroupIcons |
Public Member Functions | |
Minsky () | |
Minsky (classdesc::xml_unpack_t &data) | |
void | removeIntVarOrphans () |
Public Attributes | |
Ports | ports |
Wires | wires |
GodleyTable | godley |
GodleyItems | godleyItems |
Operations | operations |
VariableManager | variables |
GroupIcons | groupItems |
Plots | plots |
double | stepMin =0 |
Runge-Kutta parameters. More... | |
double | stepMax =1 |
maximum step size More... | |
int | nSteps =1 |
number of steps per GUI update More... | |
double | epsAbs =1e-3 |
absolute error More... | |
double | epsRel =1e-2 |
relative error More... | |
typedef std::map<int, GodleyIcon> schema0::Minsky::GodleyItems |
typedef std::map<int, GroupIcon> schema0::Minsky::GroupIcons |
typedef std::map<int, Operation> schema0::Minsky::Operations |
typedef std::map<int, Port> schema0::Minsky::Ports |
typedef std::map<int, Wire> schema0::Minsky::Wires |
|
inline |
Definition at line 232 of file schema0.h.
References removeIntVarOrphans(), and xml_unpack().
void schema0::Minsky::removeIntVarOrphans | ( | ) |
See ticket #329 and references within. At some stage, IntOp had no destructor, which leads to an orphaned, invisible integral variable, with invalid output port. This bit of code deals with corrupt schema files that have been caused by this problem.
Apparently schema0 files suffered from this problem too!
Definition at line 43 of file schema0.cc.
References minsky::VariableType::integral, and minsky::OperationType::integrate.
Referenced by Minsky().
double schema0::Minsky::epsAbs =1e-3 |
double schema0::Minsky::epsRel =1e-2 |
GodleyTable schema0::Minsky::godley |
GodleyItems schema0::Minsky::godleyItems |
Definition at line 212 of file schema0.h.
Referenced by schema1::Minsky::Minsky().
GroupIcons schema0::Minsky::groupItems |
Definition at line 219 of file schema0.h.
Referenced by schema1::Minsky::Minsky().
int schema0::Minsky::nSteps =1 |
number of steps per GUI update
Definition at line 228 of file schema0.h.
Referenced by schema1::Minsky::Minsky().
Operations schema0::Minsky::operations |
Definition at line 215 of file schema0.h.
Referenced by schema1::Minsky::Minsky().
Plots schema0::Minsky::plots |
Definition at line 221 of file schema0.h.
Referenced by schema1::Minsky::Minsky().
Ports schema0::Minsky::ports |
Definition at line 207 of file schema0.h.
Referenced by schema1::Minsky::Minsky().
double schema0::Minsky::stepMax =1 |
maximum step size
Definition at line 227 of file schema0.h.
Referenced by schema1::Minsky::Minsky().
double schema0::Minsky::stepMin =0 |
Runge-Kutta parameters.
minimum step size
Definition at line 226 of file schema0.h.
Referenced by schema1::Minsky::Minsky().
VariableManager schema0::Minsky::variables |
Definition at line 216 of file schema0.h.
Referenced by schema1::Minsky::Minsky().
Wires schema0::Minsky::wires |
Definition at line 208 of file schema0.h.
Referenced by schema1::Minsky::Minsky().