Definition at line 17 of file DifferentialModel.hpp.
Public Member Functions | |
| DifferentialModel () | |
| Default constructor for restoring from serialization. | |
| DifferentialModel (const unsigned int dimensions) | |
| Constructor. | |
| virtual | ~DifferentialModel () |
| Destructor. | |
| virtual void | calculateDerivatives (double t, const double y[], double dydt[])=0 |
| Calculate derivatives of the system at a given time. | |
| unsigned int | getDimensions () |
| Number of state variables in the system. | |
Default constructor for restoring from serialization.
Definition at line 9 of file DifferentialModel.cpp.
| DifferentialModel | ( | const unsigned int | dimensions | ) |
Constructor.
| dimensions | Number of state variables in the system. |
Definition at line 13 of file DifferentialModel.cpp.
| ~DifferentialModel | ( | ) | [virtual] |
| virtual void calculateDerivatives | ( | double | t, | |
| const double | y[], | |||
| double | dydt[] | |||
| ) | [pure virtual] |
Calculate derivatives of the system at a given time.
| t | ; the time. | |
| y | ; the values of all state variables at time . | |
| dydt | Array into which to write the calculated derivatives for state variables at time . |
gsl_odeiv_system data type and gsl_odeiv_evolve_apply() function of the GSL.
| unsigned int getDimensions | ( | ) |
Number of state variables in the system.
Definition at line 22 of file DifferentialModel.cpp.
1.5.3