Flow123d  DF_patch_fe_data_tables-9d4017b
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
DarcyLMH::EqFields Class Reference

#include <darcy_flow_lmh.hh>

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

Public Types

enum  BC_Type {
  none =0 , dirichlet =1 , total_flux =4 , seepage =5 ,
  river =6
}
 
- Public Types inherited from FieldSet
enum  UserFieldShape { scalar , vector , tensor }
 
- Public Types inherited from FieldFlag
typedef FlagArray< FieldFlagFlags
 
typedef Flags::Mask Mask
 

Public Member Functions

 EqFields ()
 Creation of all fields. More...
 
FieldCoordsX ()
 Return coords field. More...
 
- Public Member Functions inherited from FieldSet
 TYPEDEF_ERR_INFO (EI_FieldType, std::string)
 
 DECLARE_INPUT_EXCEPTION (ExcUnknownField,<< "Unknown field "<< FieldCommon::EI_Field::qval<< " in the "<< EI_FieldType::val<< ": \n")
 
 DECLARE_INPUT_EXCEPTION (ExcFieldExists,<< "Field "<< FieldCommon::EI_Field::qval<< " exists in equation. You cannot set user field of same name.\n")
 
 FieldSet ()
 Default constructor. More...
 
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_reallocate (const ElementCacheMap &cache_map, FieldSet &used_fieldset)
 
void cache_update (ElementCacheMap &cache_map)
 
void set_dependency (FieldSet &used_fieldset)
 
void add_coords_field ()
 
void set_surface_depth (std::shared_ptr< SurfaceDepth > surface_depth)
 Set surface depth object to "d" field. More...
 
Range< FieldListAccessorfields_range () const
 Returns range of Fields held in field_list. More...
 
const Meshmesh () const
 Returns pointer to mesh. More...
 
std::string print_dependency () const
 Return order of evaluated fields by dependency and region_idx. More...
 
void set_default_fieldset ()
 

Static Public Member Functions

static const Input::Type::Selectionget_bc_type_selection ()
 Return a Selection corresponding to enum BC_Type. More...
 
- Static Public Member Functions inherited from FieldSet
static const Input::Type::Selectionget_user_field_shape_selection ()
 Input selection of user field shape. More...
 
static const Input::Type::Recordmake_user_field_type (const std::string &equation_name)
 Declare input record type of field defined by user. More...
 

Public Attributes

Field< 3, FieldValue< 3 >::TensorFixed > anisotropy
 
Field< 3, FieldValue< 3 >::Scalarconductivity
 
Field< 3, FieldValue< 3 >::Scalarcross_section
 
Field< 3, FieldValue< 3 >::Scalarwater_source_density
 
Field< 3, FieldValue< 3 >::Scalarsigma
 
BCField< 3, FieldValue< 3 >::Enum > bc_type
 
BCField< 3, FieldValue< 3 >::Scalarbc_pressure
 
BCField< 3, FieldValue< 3 >::Scalarbc_flux
 
BCField< 3, FieldValue< 3 >::Scalarbc_robin_sigma
 
BCField< 3, FieldValue< 3 >::Scalarbc_switch_pressure
 
Field< 3, FieldValue< 3 >::Scalarinit_pressure
 
Field< 3, FieldValue< 3 >::Scalarstorativity
 
Field< 3, FieldValue< 3 >::Scalarextra_storativity
 
Field< 3, FieldValue< 3 >::Scalarextra_source
 Externally added storativity. More...
 
Field< 3, FieldValue< 3 >::Scalarfield_ele_pressure
 Externally added water source. More...
 
Field< 3, FieldValue< 3 >::Scalarfield_ele_piezo_head
 
Field< 3, FieldValue< 3 >::VectorFixed > field_ele_velocity
 
Field< 3, FieldValue< 3 >::VectorFixed > flux
 
Field< 3, FieldValue< 3 >::Scalarfield_edge_pressure
 
Field< 3, FieldValue< 3 >::VectorFixed > gravity_field
 
BCField< 3, FieldValue< 3 >::VectorFixed > bc_gravity
 Holds gravity vector acceptable in FieldModel. More...
 
Field< 3, FieldValue< 3 >::Scalarinit_piezo_head
 Same as previous but used in boundary fields. More...
 
BCField< 3, FieldValue< 3 >::Scalarbc_piezo_head
 
BCField< 3, FieldValue< 3 >::Scalarbc_switch_piezo_head
 
Field< 3, FieldValue< 3 >::Scalarref_pressure
 
Field< 3, FieldValue< 3 >::VectorFixed > ref_velocity
 Precompute l2 difference outputs. More...
 
Field< 3, FieldValue< 3 >::Scalarref_divergence
 

Additional Inherited Members

- 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 Member Functions inherited from FieldSet
void topological_sort (const FieldCommon *f, unsigned int i_reg, std::unordered_set< const FieldCommon * > &used_fields)
 Helper method sort used fields by dependency. More...
 
- Protected Attributes inherited from FieldSet
std::vector< FieldCommon * > field_list
 List of all fields. More...
 
const Meshmesh_
 Pointer to the mesh. More...
 
std::map< unsigned int, std::vector< const FieldCommon * > > region_field_update_order_
 
FieldCoords X_
 Field holds coordinates for computing of FieldFormulas. More...
 
FieldDepth depth_
 Field holds surface depth for computing of FieldFormulas. 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 uses the common output class DarcyFlowMHOutput. It is base class of RichardsLMH::EqFields.

Definition at line 149 of file darcy_flow_lmh.hh.

Member Enumeration Documentation

◆ BC_Type

For compatibility with old BCD file we have to assign integer codes starting from 1.

Enumerator
none 
dirichlet 
total_flux 
seepage 
river 

Definition at line 154 of file darcy_flow_lmh.hh.

Constructor & Destructor Documentation

◆ EqFields()

DarcyLMH::EqFields::EqFields ( )

Creation of all fields.

Definition at line 157 of file darcy_flow_lmh.cc.

Member Function Documentation

◆ get_bc_type_selection()

const it::Selection & DarcyLMH::EqFields::get_bc_type_selection ( )
static

Return a Selection corresponding to enum BC_Type.

Definition at line 320 of file darcy_flow_lmh.cc.

Here is the caller graph for this function:

◆ X()

FieldCoords& DarcyLMH::EqFields::X ( )
inline

Return coords field.

Definition at line 169 of file darcy_flow_lmh.hh.

Member Data Documentation

◆ anisotropy

Field<3, FieldValue<3>::TensorFixed > DarcyLMH::EqFields::anisotropy

Definition at line 174 of file darcy_flow_lmh.hh.

◆ bc_flux

BCField<3, FieldValue<3>::Scalar > DarcyLMH::EqFields::bc_flux

Definition at line 182 of file darcy_flow_lmh.hh.

◆ bc_gravity

BCField<3, FieldValue<3>::VectorFixed > DarcyLMH::EqFields::bc_gravity

Holds gravity vector acceptable in FieldModel.

Definition at line 198 of file darcy_flow_lmh.hh.

◆ bc_piezo_head

BCField<3, FieldValue<3>::Scalar> DarcyLMH::EqFields::bc_piezo_head

Definition at line 200 of file darcy_flow_lmh.hh.

◆ bc_pressure

BCField<3, FieldValue<3>::Scalar > DarcyLMH::EqFields::bc_pressure

Definition at line 181 of file darcy_flow_lmh.hh.

◆ bc_robin_sigma

BCField<3, FieldValue<3>::Scalar > DarcyLMH::EqFields::bc_robin_sigma

Definition at line 183 of file darcy_flow_lmh.hh.

◆ bc_switch_piezo_head

BCField<3, FieldValue<3>::Scalar> DarcyLMH::EqFields::bc_switch_piezo_head

Definition at line 201 of file darcy_flow_lmh.hh.

◆ bc_switch_pressure

BCField<3, FieldValue<3>::Scalar > DarcyLMH::EqFields::bc_switch_pressure

Definition at line 184 of file darcy_flow_lmh.hh.

◆ bc_type

BCField<3, FieldValue<3>::Enum > DarcyLMH::EqFields::bc_type

Definition at line 180 of file darcy_flow_lmh.hh.

◆ conductivity

Field<3, FieldValue<3>::Scalar > DarcyLMH::EqFields::conductivity

Definition at line 175 of file darcy_flow_lmh.hh.

◆ cross_section

Field<3, FieldValue<3>::Scalar > DarcyLMH::EqFields::cross_section

Definition at line 176 of file darcy_flow_lmh.hh.

◆ extra_source

Field<3, FieldValue<3>::Scalar > DarcyLMH::EqFields::extra_source

Externally added storativity.

Definition at line 189 of file darcy_flow_lmh.hh.

◆ extra_storativity

Field<3, FieldValue<3>::Scalar > DarcyLMH::EqFields::extra_storativity

Definition at line 188 of file darcy_flow_lmh.hh.

◆ field_edge_pressure

Field<3, FieldValue<3>::Scalar> DarcyLMH::EqFields::field_edge_pressure

Definition at line 195 of file darcy_flow_lmh.hh.

◆ field_ele_piezo_head

Field<3, FieldValue<3>::Scalar> DarcyLMH::EqFields::field_ele_piezo_head

Definition at line 192 of file darcy_flow_lmh.hh.

◆ field_ele_pressure

Field<3, FieldValue<3>::Scalar> DarcyLMH::EqFields::field_ele_pressure

Externally added water source.

Definition at line 191 of file darcy_flow_lmh.hh.

◆ field_ele_velocity

Field<3, FieldValue<3>::VectorFixed > DarcyLMH::EqFields::field_ele_velocity

Definition at line 193 of file darcy_flow_lmh.hh.

◆ flux

Field<3, FieldValue<3>::VectorFixed > DarcyLMH::EqFields::flux

Definition at line 194 of file darcy_flow_lmh.hh.

◆ gravity_field

Field<3, FieldValue<3>::VectorFixed > DarcyLMH::EqFields::gravity_field

Definition at line 197 of file darcy_flow_lmh.hh.

◆ init_piezo_head

Field<3, FieldValue<3>::Scalar> DarcyLMH::EqFields::init_piezo_head

Same as previous but used in boundary fields.

Definition at line 199 of file darcy_flow_lmh.hh.

◆ init_pressure

Field<3, FieldValue<3>::Scalar > DarcyLMH::EqFields::init_pressure

Definition at line 186 of file darcy_flow_lmh.hh.

◆ ref_divergence

Field<3, FieldValue<3>::Scalar> DarcyLMH::EqFields::ref_divergence

Definition at line 205 of file darcy_flow_lmh.hh.

◆ ref_pressure

Field<3, FieldValue<3>::Scalar> DarcyLMH::EqFields::ref_pressure

Definition at line 203 of file darcy_flow_lmh.hh.

◆ ref_velocity

Field<3, FieldValue<3>::VectorFixed> DarcyLMH::EqFields::ref_velocity

Precompute l2 difference outputs.

Definition at line 204 of file darcy_flow_lmh.hh.

◆ sigma

Field<3, FieldValue<3>::Scalar > DarcyLMH::EqFields::sigma

Definition at line 178 of file darcy_flow_lmh.hh.

◆ storativity

Field<3, FieldValue<3>::Scalar > DarcyLMH::EqFields::storativity

Definition at line 187 of file darcy_flow_lmh.hh.

◆ water_source_density

Field<3, FieldValue<3>::Scalar > DarcyLMH::EqFields::water_source_density

Definition at line 177 of file darcy_flow_lmh.hh.


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