Flow123d
master-93637712f
|
Go to the documentation of this file.
90 else DebugOut().fmt(
"Method 'initialize' of '{}' is not implemented.\n",
typeid(*this).name());
101 if (
equation_empty_)
DebugOut().fmt(
"Calling 'zero_time_step' of empty equation '{}'.\n",
typeid(*this).name());
102 else DebugOut().fmt(
"Method 'zero_time_step' of '{}' is not implemented.\n",
typeid(*this).name());
118 if (
equation_empty_)
DebugOut().fmt(
"Calling 'update_solution' of empty equation '{}'.\n",
typeid(*this).name());
119 else DebugOut().fmt(
"Method 'update_solution' of '{}' is not implemented.\n",
typeid(*this).name());
186 inline std::shared_ptr<Balance>
balance()
const
214 else DebugOut().fmt(
"Method 'output_data' of '{}' is not implemented.\n",
typeid(*this).name());
Basic time management class.
int set_upper_constraint(double upper, std::string message)
Sets upper constraint for the next time step estimating.
double estimate_time() const
virtual void output_data()
Write computed fields.
int set_lower_constraint(double lower, std::string message)
Sets lower constraint for the next time step estimating.
std::shared_ptr< Balance > balance() const
virtual void zero_time_step()
virtual void choose_next_time()
std::shared_ptr< Balance > balance_
object for calculation and writing the mass balance to file.
virtual void update_solution()
Basic time management functionality for unsteady (and steady) solvers (class Equation).
Input::Record input_record_
virtual double solved_time()
Container for various descendants of FieldCommonBase.
virtual void initialize()
virtual void set_time_lower_constraint(double dt, std::string message)
bool equation_empty_
flag is true if only default constructor was called
static Input::Type::Record & record_template()
Template Record with common keys for derived equations.
TimeMark::Type equation_mark_type() const
#define DebugOut()
Macro defining 'debug' record of log.
#define ASSERT_PTR(ptr)
Definition of assert macro checking non-null pointer (PTR) only for debug mode.
virtual void set_time_governor(TimeGovernor &time)
double fix_dt_until_mark()
Fixing time step until fixed time mark.
virtual void set_time_upper_constraint(double dt, std::string message)
TimeMark::Type mark_type()