Flow123d
JS_before_hm-1801-ga009cfea3
|
#include <heat_model.hh>
Classes | |
class | ModelEqData |
class | ModelEqFields |
Public Types | |
typedef AdvectionProcessBase | FactoryBaseType |
Public Types inherited from AdvectionDiffusionModel | |
enum | Abstract_bc_types { abc_inflow, abc_dirichlet, abc_total_flux, abc_diffusive_flux } |
Public Member Functions | |
HeatTransferModel (Mesh &mesh, const Input::Record in_rec) | |
void | init_from_input (const Input::Record &) override |
Read necessary data from input record. More... | |
~HeatTransferModel () override | |
virtual ModelEqFields & | eq_fields ()=0 |
Derived class should implement getter for ModelEqFields instance. More... | |
virtual ModelEqData & | eq_data ()=0 |
Derived class should implement getter for ModelEqData instance. More... | |
Public Member Functions inherited from AdvectionDiffusionModel | |
virtual | ~AdvectionDiffusionModel () |
Destructor. More... | |
Public Member Functions inherited from AdvectionProcessBase | |
AdvectionProcessBase (Mesh &mesh, const Input::Record in_rec) | |
Public Member Functions inherited from EquationBase | |
EquationBase () | |
EquationBase (Mesh &mesh, const Input::Record in_rec) | |
virtual void | initialize () |
virtual void | zero_time_step () |
virtual | ~EquationBase () |
virtual void | update_solution () |
virtual void | choose_next_time () |
virtual void | set_time_upper_constraint (double dt, std::string message) |
virtual void | set_time_lower_constraint (double dt, std::string message) |
TimeGovernor & | time () |
virtual void | set_time_governor (TimeGovernor &time) |
double | planned_time () |
double | solved_time () |
Mesh & | mesh () |
std::shared_ptr< Balance > | balance () const |
TimeMark::Type | mark_type () |
FieldSet & | eq_fieldset () |
virtual void | output_data () |
Write computed fields. More... | |
Protected Member Functions | |
virtual void | calculate_cumulative_balance ()=0 |
void | init_balance (const Input::Record &in_rec) |
Static Protected Member Functions | |
static IT::Record | get_input_type (const string &implementation, const string &description) |
Protected Attributes | |
std::shared_ptr< OutputTime > | output_stream_ |
Protected Attributes inherited from EquationBase | |
bool | equation_empty_ |
flag is true if only default constructor was called More... | |
Mesh * | mesh_ |
TimeGovernor * | time_ |
Input::Record | input_record_ |
FieldSet * | eq_fieldset_ |
std::shared_ptr< Balance > | balance_ |
object for calculation and writing the mass balance to file. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from AdvectionProcessBase | |
static Input::Type::Abstract & | get_input_type () |
Common specification of the input record for secondary equations. More... | |
Static Public Member Functions inherited from EquationBase | |
static Input::Type::Record & | record_template () |
Template Record with common keys for derived equations. More... | |
Definition at line 96 of file heat_model.hh.
Definition at line 233 of file heat_model.hh.
HeatTransferModel::HeatTransferModel | ( | Mesh & | mesh, |
const Input::Record | in_rec | ||
) |
Definition at line 430 of file heat_model.cc.
|
override |
Definition at line 451 of file heat_model.cc.
|
protectedpure virtual |
|
pure virtual |
Derived class should implement getter for ModelEqData instance.
|
pure virtual |
Derived class should implement getter for ModelEqFields instance.
|
staticprotected |
Create input type that can be passed to the derived class.
implementation | String characterizing the numerical method, e.g. DG, FEM, FVM. |
description | Comment used to describe the record key. |
Definition at line 416 of file heat_model.cc.
|
protected |
Temporary method, sets balance object after construction of EqData object.
Definition at line 441 of file heat_model.cc.
|
inlineoverridevirtual |
Read necessary data from input record.
Implements AdvectionDiffusionModel.
Definition at line 238 of file heat_model.hh.
|
protected |
Definition at line 265 of file heat_model.hh.