#include <revolve.h>
Inheritance diagram for Arevolve:
Public Member Functions | |
Arevolve (int sn, Checkpoint *c, ostream &str) | |
Constructor that is called after an Online Checkpointing class has exceeded the max. | |
Arevolve (Arevolve &o) | |
Copy Constructor. | |
int | tmin (int steps, int snaps, ostream &str) |
This function returns the number of advance steps. | |
int | sumtmin () |
This function calculates the number of advance steps for a given Checkpoint distribution. | |
int | mintmin () |
This function will look for a checkpoint to be replaced for the condition of arevolve. | |
int | get_fine () |
This function returns the momental fine. | |
void | akt_cp (int cp) |
This function renews the array ord_ch of the class Online after a checkpoint was replaced. | |
void | set_fine (int f) |
enum ACTION::action | revolve (ostream &str) |
This function returns advance or takeshot during the forward integration. | |
~Arevolve () |
This class is usually called after another Onlie Checkpointing class has exceeds its maximum number of time steps.
Definition at line 280 of file revolve.h.
Arevolve::Arevolve | ( | int | sn, | |
Checkpoint * | c, | |||
ostream & | str | |||
) |
Constructor that is called after an Online Checkpointing class has exceeded the max.
number of time steps.
Arevolve::Arevolve | ( | Arevolve & | o | ) |
Copy Constructor.
int Arevolve::tmin | ( | int | steps, | |
int | snaps, | |||
ostream & | str | |||
) |
This function returns the number of advance steps.
This number depends on the the number of steps and snaps.
int Arevolve::sumtmin | ( | ) |
This function calculates the number of advance steps for a given Checkpoint distribution.
This distribution is stored in Schedule.
int Arevolve::mintmin | ( | ) |
This function will look for a checkpoint to be replaced for the condition of arevolve.
int Arevolve::get_fine | ( | ) | [virtual] |
void Arevolve::akt_cp | ( | int | cp | ) |
This function renews the array ord_ch of the class Online after a checkpoint was replaced.
void Arevolve::set_fine | ( | int | f | ) | [virtual] |
enum ACTION::action Arevolve::revolve | ( | ostream & | str | ) | [virtual] |
This function returns advance or takeshot during the forward integration.
Reimplemented from Online.