Flow123d  JS_before_hm-915-gc632be9
Public Member Functions | Static Public Member Functions | List of all members
AdvectionProcessBase Class Referenceabstract

#include <advection_process_base.hh>

Inheritance diagram for AdvectionProcessBase:
Inheritance graph
[legend]
Collaboration diagram for AdvectionProcessBase:
Collaboration graph
[legend]

Public Member Functions

 AdvectionProcessBase (Mesh &mesh, const Input::Record in_rec)
 
virtual void set_velocity_field (std::shared_ptr< FieldFE< 3, FieldValue< 3 >::VectorFixed >> flux_field)=0
 
- 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)
 
TimeGovernortime ()
 
virtual void set_time_governor (TimeGovernor &time)
 
double planned_time ()
 
double solved_time ()
 
Meshmesh ()
 
std::shared_ptr< Balancebalance () const
 
TimeMark::Type mark_type ()
 
FieldSetdata ()
 
virtual void output_data ()
 Write computed fields. More...
 

Static Public Member Functions

static Input::Type::Abstractget_input_type ()
 Common specification of the input record for secondary equations. More...
 
- Static Public Member Functions inherited from EquationBase
static Input::Type::Recordrecord_template ()
 Template Record with common keys for derived equations. More...
 

Additional Inherited Members

- Protected Attributes inherited from EquationBase
bool equation_empty_
 flag is true if only default constructor was called More...
 
Meshmesh_
 
TimeGovernortime_
 
Input::Record input_record_
 
FieldSeteq_data_
 
std::shared_ptr< Balancebalance_
 object for calculation and writing the mass balance to file. More...
 

Detailed Description

Abstract interface class for secondary equations in HC_ExplicitCoupling.

Definition at line 23 of file advection_process_base.hh.

Constructor & Destructor Documentation

AdvectionProcessBase::AdvectionProcessBase ( Mesh mesh,
const Input::Record  in_rec 
)
inline

Definition at line 26 of file advection_process_base.hh.

Member Function Documentation

static Input::Type::Abstract& AdvectionProcessBase::get_input_type ( )
inlinestatic

Common specification of the input record for secondary equations.

Definition at line 40 of file advection_process_base.hh.

Here is the caller graph for this function:

virtual void AdvectionProcessBase::set_velocity_field ( std::shared_ptr< FieldFE< 3, FieldValue< 3 >::VectorFixed >>  flux_field)
pure virtual

This method takes sequential PETSc vector of side velocities and update transport matrix. The ordering is same as ordering of sides in the mesh. We just keep the pointer, but do not destroy the object.

TODO: We should pass whole velocity field object (description of base functions and dof numbering) and vector.

Implemented in TransportOperatorSplitting, and HeatTransferModel.

Here is the caller graph for this function:


The documentation for this class was generated from the following file: