Flow123d  release_3.0.0-1212-g8801db3
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 (const MH_DofHandler &dh)=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 ()
 
TimeMark::Type mark_type ()
 
FieldSetdata ()
 
virtual void get_solution_vector (double *&vector, unsigned int &size)
 
virtual void get_parallel_solution_vector (Vec &vector)
 
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...
 

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 ( const MH_DofHandler dh)
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 HeatTransferModel, TransportOperatorSplitting, and TransportNothing.

Here is the caller graph for this function:


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