Flow123d  JS_before_hm-984-g3a19f2f
Public Member Functions | Public Attributes | List of all members
DarcyLMH::EqData Class Reference

#include <darcy_flow_lmh.hh>

Inheritance diagram for DarcyLMH::EqData:
Inheritance graph
[legend]
Collaboration diagram for DarcyLMH::EqData:
Collaboration graph
[legend]

Public Member Functions

 EqData ()
 
- Public Member Functions inherited from DarcyMH::EqData
 EqData ()
 Creation of all fields. More...
 
- Public Member Functions inherited from FieldSet
 DECLARE_EXCEPTION (ExcUnknownField,<< "Field set has no field with name: "<< FieldCommon::EI_Field::qval)
 
Input::Type::Record make_field_descriptor_type (const std::string &equation_name) const
 
void set_field (const std::string &dest_field_name, FieldCommon &source)
 
FieldCommonfield (const std::string &field_name) const
 
FieldCommonoperator[] (const std::string &field_name) const
 
void set_components (const std::vector< string > &names)
 
void set_mesh (const Mesh &mesh)
 
void set_input_list (Input::Array input_list, const TimeGovernor &tg)
 
void flags_add (FieldFlag::Flags::Mask mask)
 
bool set_time (const TimeStep &time, LimitSide limit_side)
 
void output_type (OutputTime::DiscreteSpace rt)
 
void mark_input_times (const TimeGovernor &tg)
 
bool changed () const
 
bool is_constant (Region reg) const
 
bool is_jump_time () const
 
void cache_allocate (std::shared_ptr< EvalPoints > eval_points)
 
void cache_update (ElementCacheMap &cache_map)
 

Public Attributes

std::shared_ptr< SubDOFHandlerMultiDimdh_p_
 DOF handler represents DOFs of element pressure. More...
 
bool use_steady_assembly_
 
double time_step_
 
std::shared_ptr< LinSyslin_sys_schur
 
VectorMPI p_edge_solution
 
VectorMPI p_edge_solution_previous
 
VectorMPI p_edge_solution_previous_time
 
std::map< LongIdx, LocalSystemseepage_bc_systems
 
- Public Attributes inherited from DarcyMH::EqData
Field< 3, FieldValue< 3 >::TensorFixed > anisotropy
 
Field< 3, FieldValue< 3 >::Scalar > conductivity
 
Field< 3, FieldValue< 3 >::Scalar > cross_section
 
Field< 3, FieldValue< 3 >::Scalar > water_source_density
 
Field< 3, FieldValue< 3 >::Scalar > sigma
 
BCField< 3, FieldValue< 3 >::Enum > bc_type
 
BCField< 3, FieldValue< 3 >::Scalar > bc_pressure
 
BCField< 3, FieldValue< 3 >::Scalar > bc_flux
 
BCField< 3, FieldValue< 3 >::Scalar > bc_robin_sigma
 
BCField< 3, FieldValue< 3 >::Scalar > bc_switch_pressure
 
Field< 3, FieldValue< 3 >::Scalar > init_pressure
 
Field< 3, FieldValue< 3 >::Scalar > storativity
 
Field< 3, FieldValue< 3 >::Scalar > extra_storativity
 
Field< 3, FieldValue< 3 >::Scalar > extra_source
 Externally added storativity. More...
 
Field< 3, FieldValue< 3 >::Scalar > field_ele_pressure
 Externally added water source. More...
 
Field< 3, FieldValue< 3 >::Scalar > field_ele_piezo_head
 
Field< 3, FieldValue< 3 >::VectorFixed > field_ele_velocity
 
Field< 3, FieldValue< 3 >::VectorFixed > flux
 
Field< 3, FieldValue< 3 >::Scalar > field_edge_pressure
 
arma::vec4 gravity_
 
arma::vec3 gravity_vec_
 
Meshmesh
 
std::shared_ptr< DOFHandlerMultiDimdh_
 full DOF handler represents DOFs of sides, elements and edges More...
 
std::shared_ptr< SubDOFHandlerMultiDimdh_cr_
 DOF handler represents DOFs of edges. More...
 
std::shared_ptr< DOFHandlerMultiDimdh_cr_disc_
 DOF handler represents DOFs of sides. More...
 
uint water_balance_idx
 
MortarMethod mortar_method_
 
std::shared_ptr< Balancebalance
 
LinSyslin_sys
 
unsigned int n_schur_compls
 
int is_linear
 Hack fo BDDC solver. More...
 
bool force_no_neumann_bc
 auxiliary flag for switchting Dirichlet like BC More...
 
std::vector< char > bc_switch_dirichlet
 Idicator of dirichlet or neumann type of switch boundary conditions. More...
 
VectorMPI full_solution
 
MultidimAssembly multidim_assembler
 

Additional Inherited Members

- Public Types inherited from DarcyMH::EqData
enum  BC_Type {
  none =0, dirichlet =1, total_flux =4, seepage =5,
  river =6
}
 
- Public Types inherited from FieldFlag
typedef FlagArray< FieldFlagFlags
 
typedef Flags::Mask Mask
 
- Static Public Member Functions inherited from DarcyMH::EqData
static const Input::Type::Selectionget_bc_type_selection ()
 Return a Selection corresponding to enum BC_Type. More...
 
- Static Public Attributes inherited from FieldFlag
static constexpr unsigned int flags_size_ = 3
 Number of bits used by Field itself. More...
 
static constexpr Mask equation_input {1 << 0}
 The field is data parameter of the owning equation. (default on) More...
 
static constexpr Mask declare_input {1 << 1}
 The field can be set from input. The key in input field descriptor is declared. (default on) More...
 
static constexpr Mask allow_output {1 << 2}
 The field can output. Is part of generated output selection. (default on) More...
 
static constexpr Mask input_copy = ~declare_input & equation_input
 
static constexpr Mask in_time_term {1 << 8}
 A field is part of time term of the equation. More...
 
static constexpr Mask in_main_matrix {1 << 9}
 A field is part of main "stiffness matrix" of the equation. More...
 
static constexpr Mask in_rhs {1 << 10}
 A field is part of the right hand side of the equation. More...
 
static constexpr Mask equation_result = allow_output & ~declare_input & ~equation_input
 Match result fields. These are never given by input or copy of input. More...
 
static constexpr Mask equation_external_output = allow_output & input_copy
 Match an output field, that can be also copy of other field. More...
 
- Protected Attributes inherited from FieldSet
std::vector< FieldCommon * > field_list
 List of all fields. More...
 

Detailed Description

Class with all fields used in the equation DarcyFlow. This is common to all implementations since this provides interface to this equation for possible coupling.

This class is derived from DarcyMH::EqData especially due to the common output class DarcyFlowMHOutput. This is the only dependence between DarcyMH and DarcyLMH classes. It is also base class of RichardsLMH::EqData.

Definition at line 149 of file darcy_flow_lmh.hh.

Constructor & Destructor Documentation

DarcyLMH::EqData::EqData ( )

Definition at line 153 of file darcy_flow_lmh.cc.

Member Data Documentation

std::shared_ptr<SubDOFHandlerMultiDim> DarcyLMH::EqData::dh_p_

DOF handler represents DOFs of element pressure.

Definition at line 154 of file darcy_flow_lmh.hh.

std::shared_ptr<LinSys> DarcyLMH::EqData::lin_sys_schur

Definition at line 163 of file darcy_flow_lmh.hh.

VectorMPI DarcyLMH::EqData::p_edge_solution

Definition at line 164 of file darcy_flow_lmh.hh.

VectorMPI DarcyLMH::EqData::p_edge_solution_previous

Definition at line 165 of file darcy_flow_lmh.hh.

VectorMPI DarcyLMH::EqData::p_edge_solution_previous_time

Definition at line 166 of file darcy_flow_lmh.hh.

std::map<LongIdx, LocalSystem> DarcyLMH::EqData::seepage_bc_systems

Definition at line 168 of file darcy_flow_lmh.hh.

double DarcyLMH::EqData::time_step_

Definition at line 161 of file darcy_flow_lmh.hh.

bool DarcyLMH::EqData::use_steady_assembly_

Definition at line 158 of file darcy_flow_lmh.hh.


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