Flow123d
JS_before_hm-1712-g4d968e368
|
Go to the documentation of this file.
91 else DebugOut().fmt(
"Method 'initialize' of '{}' is not implemented.\n",
typeid(*this).name());
102 if (
equation_empty_)
DebugOut().fmt(
"Calling 'zero_time_step' of empty equation '{}'.\n",
typeid(*this).name());
103 else DebugOut().fmt(
"Method 'zero_time_step' of '{}' is not implemented.\n",
typeid(*this).name());
119 if (
equation_empty_)
DebugOut().fmt(
"Calling 'update_solution' of empty equation '{}'.\n",
typeid(*this).name());
120 else DebugOut().fmt(
"Method 'update_solution' of '{}' is not implemented.\n",
typeid(*this).name());
185 inline std::shared_ptr<Balance>
balance()
const
213 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_
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
Global macros to enhance readability and debugging, general constants.
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.
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()