Flow123d  jenkins-Flow123d-windows32-release-multijob-51
Public Member Functions | Private Member Functions | List of all members
TransportNothing Class Reference

Empty transport class. More...

#include <transport_operator_splitting.hh>

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

Public Member Functions

 TransportNothing (Mesh &mesh_in)
 
virtual ~TransportNothing ()
 
virtual void output_data () override
 Write computed fields. More...
 
TimeIntegrationScheme time_scheme () override
 Returns the time integration scheme of the equation. More...
 
- Public Member Functions inherited from TransportBase
 TransportBase (Mesh &mesh, const Input::Record in_rec)
 
virtual ~TransportBase ()
 
virtual void set_velocity_field (const MH_DofHandler &dh) override
 
MassBalancemass_balance ()
 
unsigned int n_substances () override
 Returns number of trnasported substances. More...
 
vector< string > & substance_names () override
 Returns reference to the vector of substnace names. More...
 
virtual void set_concentration_vector (Vec &vec)
 
- 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 ~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)
 
- Public Member Functions inherited from EquationForMassBalance
virtual ~EquationForMassBalance ()
 

Private Member Functions

void calc_fluxes (vector< vector< double > > &bcd_balance, vector< vector< double > > &bcd_plus_balance, vector< vector< double > > &bcd_minus_balance) override
 
void calc_elem_sources (vector< vector< double > > &mass, vector< vector< double > > &src_balance) override
 

Additional Inherited Members

- Public Types inherited from EquationForMassBalance
enum  TimeIntegrationScheme { none, explicit_euler, implicit_euler, crank_nicholson }
 
- Static Public Attributes inherited from TransportBase
static Input::Type::Record input_type_output_record
 
- Static Public Attributes inherited from AdvectionProcessBase
static Input::Type::AbstractRecord input_type
 Common specification of the input record for secondary equations. More...
 
- Protected Member Functions inherited from TransportBase
const RegionDBregion_db ()
 Returns the region database. More...
 
- Protected Attributes inherited from TransportBase
unsigned int n_subst_
 Number of transported substances. More...
 
std::vector< string > subst_names_
 Names of transported substances. More...
 
const MH_DofHandlermh_dh
 
MassBalancemass_balance_
 object for calculation and writing the mass balance to file. 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

Empty transport class.

Definition at line 139 of file transport_operator_splitting.hh.

Constructor & Destructor Documentation

TransportNothing::TransportNothing ( Mesh mesh_in)
inline

Definition at line 141 of file transport_operator_splitting.hh.

virtual TransportNothing::~TransportNothing ( )
inlinevirtual

Definition at line 149 of file transport_operator_splitting.hh.

Member Function Documentation

void TransportNothing::calc_elem_sources ( vector< vector< double > > &  mass,
vector< vector< double > > &  src_balance 
)
inlineoverrideprivatevirtual

Calculates the substance mass and sources on all regions. The actual calculation depends on the numerical scheme, so each descendant of TransportBase implements this method.

Parameters
massmass[i][j] is the calculated mass of ith substance on jth region.
src_balancesrc_balance[i][j] is the source mass of ith substance on jth region.

Implements EquationForMassBalance.

Definition at line 159 of file transport_operator_splitting.hh.

void TransportNothing::calc_fluxes ( vector< vector< double > > &  bcd_balance,
vector< vector< double > > &  bcd_plus_balance,
vector< vector< double > > &  bcd_minus_balance 
)
inlineoverrideprivatevirtual

Calculates the total flux through boundaries of all regions, and additionally positive and negative fluxes. The actual calculation depends on the numerical scheme, so each descendant of TransportBase implements this method.

Parameters
bcd_balancebcd_balance[i][j] is the calculated total flux of ith substance through boundary of jth region.
bcd_plus_balancebcd_plus_balance[i][j] is the total positive flux of ith substance through boundary of jth region.
bcd_minus_balancebcd_minus_balance[i][j] is the total negative flux of ith substance through boundary of jth region.

Implements EquationForMassBalance.

Definition at line 158 of file transport_operator_splitting.hh.

virtual void TransportNothing::output_data ( void  )
inlineoverridevirtual

Write computed fields.

Reimplemented from EquationBase.

Definition at line 152 of file transport_operator_splitting.hh.

TimeIntegrationScheme TransportNothing::time_scheme ( )
inlineoverridevirtual

Returns the time integration scheme of the equation.

Implements EquationForMassBalance.

Definition at line 154 of file transport_operator_splitting.hh.


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