Flow123d  jenkins-Flow123d-windows32-release-multijob-51
Public Member Functions | Static Public Attributes | List of all members
AdvectionProcessBase Class Referenceabstract

#include <transport_operator_splitting.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
 
virtual unsigned int n_substances ()=0
 Returns number of trnasported substances. More...
 
virtual vector< string > & substance_names ()=0
 Returns reference to the vector of substnace names. More...
 
- Public Member Functions inherited from EquationBase
 EquationBase ()
 
 EquationBase (Mesh &mesh, const Input::Record in_rec)
 
virtual ~EquationBase ()
 
virtual void zero_time_step ()
 
virtual void update_solution ()
 
virtual void initialize ()
 Initialize fields. More...
 
virtual void choose_next_time ()
 
virtual void set_time_upper_constraint (double dt)
 
virtual void set_time_lower_constraint (double dt)
 
TimeGovernor const & time ()
 
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...
 
- Public Member Functions inherited from EquationForMassBalance
virtual ~EquationForMassBalance ()
 
virtual TimeIntegrationScheme time_scheme ()=0
 Returns the time integration scheme of the equation. More...
 

Static Public Attributes

static Input::Type::AbstractRecord input_type
 Common specification of the input record for secondary equations. More...
 

Additional Inherited Members

- Public Types inherited from EquationForMassBalance
enum  TimeIntegrationScheme { none, explicit_euler, implicit_euler, crank_nicholson }
 
- Protected Member Functions inherited from EquationForMassBalance
virtual void calc_fluxes (vector< vector< double > > &bcd_balance, vector< vector< double > > &bcd_plus_balance, vector< vector< double > > &bcd_minus_balance)=0
 
virtual void calc_elem_sources (vector< vector< double > > &mass, vector< vector< double > > &src_balance)=0
 
virtual const RegionDBregion_db ()=0
 Returns the region database. More...
 
- 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_
 

Detailed Description

Definition at line 25 of file transport_operator_splitting.hh.

Constructor & Destructor Documentation

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

Definition at line 29 of file transport_operator_splitting.hh.

Member Function Documentation

virtual unsigned int AdvectionProcessBase::n_substances ( )
pure virtual

Returns number of trnasported substances.

Implements EquationForMassBalance.

Implemented in TransportBase.

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 TransportDG< Model >, TransportOperatorSplitting, and TransportBase.

Here is the caller graph for this function:

virtual vector<string>& AdvectionProcessBase::substance_names ( )
pure virtual

Returns reference to the vector of substnace names.

Implements EquationForMassBalance.

Implemented in TransportBase.

Member Data Documentation

AbstractRecord AdvectionProcessBase::input_type
static
Initial value:
= AbstractRecord("Transport", "Secondary equation for transport of substances.")
.declare_key("time", TimeGovernor::input_type, Default::obligatory(),
"Time governor setting for the secondary equation.")
.declare_key("output_stream", OutputTime::input_type, Default::obligatory(),
"Parameters of output stream.")
.declare_key("mass_balance", MassBalance::input_type, Default::optional(), "Settings for computing mass balance.")

Common specification of the input record for secondary equations.

Definition at line 46 of file transport_operator_splitting.hh.


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