7#include "warpxm/warpxm_config.h"
98 return _td_try.
getDt();
114 return _td_taken.
getDt();
138 return _td_next.
getDt();
Information that constrain the time step.
Definition: timestep_constraint.h:17
Encapsulates information necessary to communicate and explain a decision about what timestep should b...
Definition: timestep_decision.h:16
real getDt() const
The timestep that was decided upon.
Definition: timestep_decision.h:56
std::shared_ptr< std::string > getExplanation() const
An explanation for why this timestep was chosen.
Definition: timestep_decision.h:72
std::shared_ptr< TimestepConstraint > getConstraint() const
The most restrictive TimestepConstraint that informed the decision.
Definition: timestep_decision.h:64
Manages information about dt tried first, dt actually taken, and dt suggested for the next timestep,...
Definition: timestep_status.h:21
TimestepConstraint * getConstraint() const
Get TimestepConstraint for dt taken.
Definition: timestep_status.h:144
void bumpTdTaken()
For time step with a retryable failure, set _td_taken to _td_next.
Definition: timestep_status.h:70
real getDtNext() const
Get dt suggested for next time step.
Definition: timestep_status.h:136
void setTdTaken(TimestepDecision new_td)
Set td taken to be new value.
Definition: timestep_status.h:60
std::string * getTakenExplanation() const
Get explanation of dt taken.
Definition: timestep_status.h:128
real getDtToTry() const
Get dt to try.
Definition: timestep_status.h:96
int getNumTrys()
Get number of attempts this timestep.
Definition: timestep_status.h:160
std::string * getTryExplanation() const
Get explanation of dt taken.
Definition: timestep_status.h:104
void incrementTrys()
Increment number of trys.
Definition: timestep_status.h:88
TimestepDecision getTdTaken() const
Get TimestepDecision of time step taken.
Definition: timestep_status.h:120
TimestepStatus()
Create a new dt status object.
Definition: timestep_status.h:26
void setTdNext(TimestepDecision new_td)
Set suggeted td for next time step.
Definition: timestep_status.h:80
std::string * getNextExplanation() const
Get explanation of dt suggested for next time step.
Definition: timestep_status.h:152
real getDtTaken() const
Get dt taken.
Definition: timestep_status.h:112
void setTdToTry(TimestepDecision new_td)
Set TimestepDecision to try this time step.
Definition: timestep_status.h:49
void updateForNextStep()
Prepare for next time step.
Definition: timestep_status.h:34
#define real
Definition: wmoclunstructuredreconstruction.h:11