Class for serialization of Evolved states.
More...
#include <Evolved.h>
|
typedef boost::shared_ptr< EvolvedIO > | Ptr |
|
typedef boost::shared_ptr< const EvolvedIO > | ConstPtr |
|
|
| EvolvedIO (A &, double dtInit, double epsRel, double epsAbs) |
| straightforward constructor More...
|
|
A & | getA () |
|
A const & | getA () const |
|
virtual | ~EvolvedIO () |
| necessary in order that EvolvedIO be polymorphic
|
|
double | getDtDid () const |
| returns the last performed timestep
|
|
double | getDtTry () const |
| returns the timestep to try in the next step
|
|
void | setDtTry (double dtTry) |
| Sets the timestep to try in the next step. More...
|
|
void | update (double t, double dtTry) |
|
TimeStepBookkeeper & | operator= (const TimeStepBookkeeper &) |
| straightforward assignment operator that avoids self-assignment
|
|
double | getTime () const |
|
void | setTime (double t) |
|
double | getEpsRel () const |
| relative precision
|
|
double | getEpsAbs () const |
| absolute precision
|
|
template<typename A>
class evolved::EvolvedIO< A >
Class for serialization of Evolved states.
- See also
- trajectory::AdaptiveIO
- Template Parameters
-
- Todo:
- Think about using a shared pointer instead of plain reference for referencing the array
Definition at line 113 of file Evolved.h.
template<typename A>
friend class boost::serialization::access |
|
friend |
The serialization of A by reference leads to memory leak (for not completely understood reasons),.
hence we adopt serialization by a temporary, which necessitates splitting save/load.
Definition at line 135 of file Evolved.h.
The documentation for this class was generated from the following file: