20 #ifndef PISM_MAXTIMESTEP_HH
21 #define PISM_MAXTIMESTEP_HH
MaxTimestep()
Create an instance corresponding to an "inactive" time-step restriction (in other words,...
std::string description() const
bool finite() const
Convert to bool to check if a time step restriction is "active".
std::string m_description
double value() const
Get the value of the maximum time step.
Combines the max. time step with the flag indicating if a restriction is active. Makes is possible to...
bool operator>(const MaxTimestep &a, const MaxTimestep &b)
Greater than operator for MaxTimestep.
bool operator<(const MaxTimestep &a, const MaxTimestep &b)
Less than operator for MaxTimestep.
bool operator==(const MaxTimestep &a, const MaxTimestep &b)
Equality operator for MaxTimestep.