Flow123d  JS_before_hm-1576-g4d0b70e
Classes | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
HC_ExplicitSequential Class Reference

Class for solution of steady or unsteady flow with sequentially coupled explicit transport. More...

#include <hc_explicit_sequential.hh>

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

Classes

struct  AdvectionData
 

Public Member Functions

 HC_ExplicitSequential (Input::Record in_record)
 
void run_simulation ()
 
 ~HC_ExplicitSequential ()
 
- 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 ()
 
FieldSeteq_fieldset ()
 
virtual void output_data ()
 Write computed fields. More...
 

Static Public Member Functions

static const Input::Type::Recordget_input_type ()
 
- Static Public Member Functions inherited from CouplingBase
static Input::Type::Abstractget_input_type ()
 
- Static Public Member Functions inherited from EquationBase
static Input::Type::Recordrecord_template ()
 Template Record with common keys for derived equations. More...
 

Private Types

typedef std::shared_ptr< AdvectionProcessBaseAdvectionPtr
 

Private Member Functions

AdvectionPtr make_advection_process (std::string process_key)
 
void advection_process_step (AdvectionData &pdata)
 

Private Attributes

Input::Record in_record_
 
Meshmesh
 mesh common to darcy flow and transport More...
 
std::shared_ptr< DarcyFlowInterfacewater
 steady or unsteady water flow simulator based on MH scheme More...
 
std::vector< AdvectionDataprocesses_
 solute transport with chemistry through operator splitting More...
 
double min_velocity_time
 
bool is_end_all_
 
FieldCommonwater_content_saturated_
 
FieldCommonwater_content_p0_
 

Static Private Attributes

static const int registrar = HC_ExplicitSequential::get_input_type().size()
 

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_fieldset_
 
std::shared_ptr< Balancebalance_
 object for calculation and writing the mass balance to file. More...
 

Detailed Description

Class for solution of steady or unsteady flow with sequentially coupled explicit transport.

Definition at line 49 of file hc_explicit_sequential.hh.

Member Typedef Documentation

Definition at line 58 of file hc_explicit_sequential.hh.

Constructor & Destructor Documentation

HC_ExplicitSequential::HC_ExplicitSequential ( Input::Record  in_record)

FUNCTION "MAIN" FOR COMPUTING MIXED-HYBRID PROBLEM FOR UNSTEADY SATURATED FLOW

Definition at line 120 of file hc_explicit_sequential.cc.

HC_ExplicitSequential::~HC_ExplicitSequential ( )

Definition at line 283 of file hc_explicit_sequential.cc.

Member Function Documentation

void HC_ExplicitSequential::advection_process_step ( AdvectionData pdata)
private

Perform a single time step of given advection process.

Definition at line 165 of file hc_explicit_sequential.cc.

Here is the caller graph for this function:

const it::Record & HC_ExplicitSequential::get_input_type ( )
static

Definition at line 59 of file hc_explicit_sequential.cc.

Here is the caller graph for this function:

std::shared_ptr< AdvectionProcessBase > HC_ExplicitSequential::make_advection_process ( std::string  process_key)
private

Create an advection process for given input key.

Definition at line 84 of file hc_explicit_sequential.cc.

Here is the caller graph for this function:

void HC_ExplicitSequential::run_simulation ( )

TODO:

  • have support for steady problems in TimeGovernor, make Noting problems steady
  • apply splitting of compute_one_step to particular models
  • how to set output time marks for steady problems (we need solved time == infinity) but add no time marks
  • allow create steady time governor without time marks (at least in nothing models)
  • pass refference to time marks in time governor constructor?

Definition at line 201 of file hc_explicit_sequential.cc.

Here is the caller graph for this function:

Member Data Documentation

Input::Record HC_ExplicitSequential::in_record_
private

Definition at line 83 of file hc_explicit_sequential.hh.

bool HC_ExplicitSequential::is_end_all_
private

Definition at line 97 of file hc_explicit_sequential.hh.

Mesh* HC_ExplicitSequential::mesh
private

mesh common to darcy flow and transport

Definition at line 86 of file hc_explicit_sequential.hh.

double HC_ExplicitSequential::min_velocity_time
private

Definition at line 95 of file hc_explicit_sequential.hh.

std::vector<AdvectionData> HC_ExplicitSequential::processes_
private

solute transport with chemistry through operator splitting

Definition at line 92 of file hc_explicit_sequential.hh.

const int HC_ExplicitSequential::registrar = HC_ExplicitSequential::get_input_type().size()
staticprivate

Definition at line 80 of file hc_explicit_sequential.hh.

std::shared_ptr<DarcyFlowInterface> HC_ExplicitSequential::water
private

steady or unsteady water flow simulator based on MH scheme

Definition at line 89 of file hc_explicit_sequential.hh.

FieldCommon* HC_ExplicitSequential::water_content_p0_
private

Definition at line 100 of file hc_explicit_sequential.hh.

FieldCommon* HC_ExplicitSequential::water_content_saturated_
private

Definition at line 99 of file hc_explicit_sequential.hh.


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