Flow123d
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
SorptionSimple Class Reference

#include <sorption.hh>

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

Public Member Functions

 SorptionSimple (Mesh &init_mesh, Input::Record in_rec)
 
 ~SorptionSimple (void)
 
- 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)
 

Static Public Attributes

static Input::Type::Record input_type
 
- Static Public Attributes inherited from SorptionBase
static Input::Type::Record input_type
 
- Static Public Attributes inherited from ReactionTerm
static Input::Type::AbstractRecord input_type = AbstractRecord("ReactionTerm", "Equation for reading information about simple chemical reactions.")
 
static Input::Type::Record input_type_output_record
 Specification of the output record. More...
 

Protected Member Functions

 SorptionSimple ()
 
void isotherm_reinit (std::vector< Isotherm > &isotherms, const ElementAccessor< 3 > &elm) override
 
- 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)
 

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)
 
- 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...
 

Detailed Description

Definition at line 16 of file sorption.hh.

Constructor & Destructor Documentation

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

Constructor with parameter for initialization of a new declared class member

Definition at line 22 of file sorption.cc.

SorptionSimple::~SorptionSimple ( void  )

Destructor.

Definition at line 30 of file sorption.cc.

SorptionSimple::SorptionSimple ( )
protected

This method disables to use constructor without parameters.

Member Function Documentation

void SorptionSimple::isotherm_reinit ( std::vector< Isotherm > &  isotherms,
const ElementAccessor< 3 > &  elm 
)
overrideprotectedvirtual

Implements SorptionBase.

Definition at line 34 of file sorption.cc.

Member Data Documentation

IT::Record SorptionSimple::input_type
static
Initial value:
= IT::Record("Sorption", "Information about all the limited solubility affected adsorptions.")
.declare_key("output_fields", IT::Array(make_output_selection("conc_solid", "Sorption_Output")),
IT::Default("conc_solid"), "List of fields to write to output stream.")

Definition at line 20 of file sorption.hh.


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