Flow123d
jenkins-Flow123d-windows32-release-multijob-51
|
Empty transport class. More...
#include <transport_operator_splitting.hh>
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 |
MassBalance * | mass_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 () |
Mesh & | mesh () |
TimeMark::Type | mark_type () |
FieldSet & | data () |
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 RegionDB * | region_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_DofHandler * | mh_dh |
MassBalance * | mass_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... | |
Mesh * | mesh_ |
TimeGovernor * | time_ |
Input::Record | input_record_ |
FieldSet * | eq_data_ |
Empty transport class.
Definition at line 139 of file transport_operator_splitting.hh.
|
inline |
Definition at line 141 of file transport_operator_splitting.hh.
|
inlinevirtual |
Definition at line 149 of file transport_operator_splitting.hh.
|
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.
mass | mass[i][j] is the calculated mass of ith substance on jth region. |
src_balance | src_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.
|
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.
bcd_balance | bcd_balance[i][j] is the calculated total flux of ith substance through boundary of jth region. |
bcd_plus_balance | bcd_plus_balance[i][j] is the total positive flux of ith substance through boundary of jth region. |
bcd_minus_balance | bcd_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.
|
inlineoverridevirtual |
Write computed fields.
Reimplemented from EquationBase.
Definition at line 152 of file transport_operator_splitting.hh.
|
inlineoverridevirtual |
Returns the time integration scheme of the equation.
Implements EquationForMassBalance.
Definition at line 154 of file transport_operator_splitting.hh.