Flow123d
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SorptionDual Class Referenceabstract

#include <sorption_dual.hh>

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

Public Member Functions

 SorptionDual (Mesh &init_mesh, Input::Record in_rec)
 
 ~SorptionDual (void)
 
void set_porosity_immobile (Field< 3, FieldValue< 3 >::Scalar > &por_imm)
 
- Public Member Functions inherited from SorptionBase
 SorptionBase (Mesh &init_mesh, Input::Record in_rec)
 
virtual ~SorptionBase (void)
 
void zero_time_step () override
 
virtual void update_solution (void)
 
void set_porosity (Field< 3, FieldValue< 3 >::Scalar > &por_m)
 
void make_tables (void)
 
void output_data (void) override
 Output method. More...
 
void output_vector_gather (void) override
 
- Public Member Functions inherited from ReactionTerm
 ReactionTerm (Mesh &init_mesh, Input::Record in_rec)
 Constructor. More...
 
 ~ReactionTerm (void)
 Destructor. More...
 
void choose_next_time (void) override
 Disable changes in TimeGovernor by empty method. More...
 
ReactionTermnames (const std::vector< string > &names)
 Sets the names of substances considered in transport. More...
 
ReactionTermoutput_stream (OutputTime &ostream)
 Sets the output stream which is given from transport class. More...
 
ReactionTermconcentration_matrix (double **concentration, Distribution *conc_distr, int *el_4_loc, int *row_4_el)
 
- Public Member Functions inherited from EquationBase
 EquationBase ()
 
 EquationBase (Mesh &mesh, const Input::Record in_rec)
 
virtual ~EquationBase ()
 
virtual void initialize ()
 Initialize fields. More...
 
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)
 

Protected Member Functions

 SorptionDual ()
 
virtual void isotherm_reinit (std::vector< Isotherm > &isotherms, const ElementAccessor< 3 > &elm)=0
 
- Protected Member Functions inherited from SorptionBase
 SorptionBase ()
 
void initialize_substance_ids (const std::vector< string > &names, Input::Record in_rec)
 
void init_from_input (Input::Record in_rec) override
 Initializes private members of sorption from the input record. More...
 
void init_from_input_reaction (Input::Record in_rec)
 
double ** compute_reaction (double **concentrations, int loc_el)
 
void print_sorption_parameters (void)
 
void allocate_output_mpi (void)
 

Protected Attributes

Field< 3, FieldValue< 3 >::Scalar > immob_porosity_
 
- Protected Attributes inherited from SorptionBase
EqDatadata_
 
int nr_of_regions
 
int nr_of_points
 
std::vector< double > molar_masses
 
double solvent_density
 
std::vector< double > solubility_vec_
 
std::vector< double > table_limit_
 
std::vector< std::vector
< Isotherm > > 
isotherms
 
unsigned int n_substances_
 
std::vector< unsigned int > substance_global_idx_
 Mapping from local indexing of substances to global. More...
 
double ** conc_solid
 
Input::Array output_array
 
Input::Type::Selection output_selection
 
ReactionTermreaction
 
Vec * vconc_solid
 PETSC sorbed concentration vector (parallel). More...
 
Vec * vconc_solid_out
 PETSC sorbed concentration vector output (gathered - sequential) More...
 
double ** conc_solid_out
 sorbed concentration array output (gathered - sequential) More...
 
- Protected Attributes inherited from ReactionTerm
double ** concentration_matrix_
 
int * el_4_loc
 Indices of elements belonging to local dofs. More...
 
int * row_4_el
 Indices of rows belonging to elements. More...
 
Distributiondistribution
 Pointer to reference to distribution of elements between processors. More...
 
vector< string > names_
 Names belonging to substances. More...
 
OutputTimeoutput_stream_
 Pointer to a transport output stream. 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_
 

Additional Inherited Members

- Static Public Member Functions inherited from SorptionBase
static Input::Type::Selection make_output_selection (const string &output_field_name, const string &selection_name)
 
- Static Public Attributes inherited from SorptionBase
static Input::Type::Record input_type
 

Detailed Description

Definition at line 19 of file sorption_dual.hh.

Constructor & Destructor Documentation

SorptionDual::SorptionDual ( Mesh init_mesh,
Input::Record  in_rec 
)

Constructor with parameter for initialization of a new declared class member TODO: parameter description

Definition at line 24 of file sorption_dual.cc.

SorptionDual::~SorptionDual ( void  )

Destructor.

Definition at line 29 of file sorption_dual.cc.

SorptionDual::SorptionDual ( )
protected

This method disables to use constructor without parameters.

Member Function Documentation

virtual void SorptionDual::isotherm_reinit ( std::vector< Isotherm > &  isotherms,
const ElementAccessor< 3 > &  elm 
)
protectedpure virtual

This method will be implemented in descendants - it is different in each zone.

Implements SorptionBase.

Implemented in SorptionImmob, and SorptionMob.

void SorptionDual::set_porosity_immobile ( Field< 3, FieldValue< 3 >::Scalar > &  por_imm)
inline

Sets the immobile porosity field.

Definition at line 34 of file sorption_dual.hh.

Here is the caller graph for this function:

Member Data Documentation

Field<3, FieldValue<3>::Scalar > SorptionDual::immob_porosity_
protected

Definition at line 52 of file sorption_dual.hh.


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