Flow123d  release_3.0.0-1091-gb6fa18e
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
DarcyMH::EqData Class Reference

#include <darcy_flow_mh.hh>

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

Public Types

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
 

Public Member Functions

 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
 

Static Public Member Functions

static const Input::Type::Selectionget_bc_type_selection ()
 Return a Selection corresponding to enum BC_Type. More...
 

Public Attributes

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
 
arma::vec4 gravity_
 
arma::vec3 gravity_vec_
 
Meshmesh
 
MH_DofHandlermh_dh
 
uint water_balance_idx
 
MortarMethod mortar_method_
 
unsigned int local_boundary_index
 
std::shared_ptr< Balancebalance
 
LinSyslin_sys
 
unsigned int n_schur_compls
 
int is_linear
 Hack fo BDDC solver. More...
 
bool force_bc_switch
 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...
 

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

Definition at line 149 of file darcy_flow_mh.hh.

Member Enumeration Documentation

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 155 of file darcy_flow_mh.hh.

Constructor & Destructor Documentation

DarcyMH::EqData::EqData ( )

Creation of all fields.

Definition at line 184 of file darcy_flow_mh.cc.

Member Function Documentation

const it::Selection & DarcyMH::EqData::get_bc_type_selection ( )
static

Return a Selection corresponding to enum BC_Type.

Definition at line 87 of file darcy_flow_mh.cc.

Member Data Documentation

Field<3, FieldValue<3>::TensorFixed > DarcyMH::EqData::anisotropy

Definition at line 170 of file darcy_flow_mh.hh.

std::shared_ptr<Balance> DarcyMH::EqData::balance

Definition at line 202 of file darcy_flow_mh.hh.

BCField<3, FieldValue<3>::Scalar > DarcyMH::EqData::bc_flux

Definition at line 178 of file darcy_flow_mh.hh.

BCField<3, FieldValue<3>::Scalar > DarcyMH::EqData::bc_pressure

Definition at line 177 of file darcy_flow_mh.hh.

BCField<3, FieldValue<3>::Scalar > DarcyMH::EqData::bc_robin_sigma

Definition at line 179 of file darcy_flow_mh.hh.

std::vector<char> DarcyMH::EqData::bc_switch_dirichlet

Idicator of dirichlet or neumann type of switch boundary conditions.

Definition at line 210 of file darcy_flow_mh.hh.

BCField<3, FieldValue<3>::Scalar > DarcyMH::EqData::bc_switch_pressure

Definition at line 180 of file darcy_flow_mh.hh.

BCField<3, FieldValue<3>::Enum > DarcyMH::EqData::bc_type

Definition at line 176 of file darcy_flow_mh.hh.

Field<3, FieldValue<3>::Scalar > DarcyMH::EqData::conductivity

Definition at line 171 of file darcy_flow_mh.hh.

Field<3, FieldValue<3>::Scalar > DarcyMH::EqData::cross_section

Definition at line 172 of file darcy_flow_mh.hh.

bool DarcyMH::EqData::force_bc_switch

auxiliary flag for switchting Dirichlet like BC

Definition at line 207 of file darcy_flow_mh.hh.

arma::vec4 DarcyMH::EqData::gravity_

Gravity vector and constant shift of pressure potential. Used to convert piezometric head to pressure head and vice versa.

Definition at line 189 of file darcy_flow_mh.hh.

arma::vec3 DarcyMH::EqData::gravity_vec_

Definition at line 190 of file darcy_flow_mh.hh.

Field<3, FieldValue<3>::Scalar > DarcyMH::EqData::init_pressure

Definition at line 182 of file darcy_flow_mh.hh.

int DarcyMH::EqData::is_linear

Hack fo BDDC solver.

Definition at line 206 of file darcy_flow_mh.hh.

LinSys* DarcyMH::EqData::lin_sys

Definition at line 203 of file darcy_flow_mh.hh.

unsigned int DarcyMH::EqData::local_boundary_index

Definition at line 201 of file darcy_flow_mh.hh.

Mesh* DarcyMH::EqData::mesh

Definition at line 193 of file darcy_flow_mh.hh.

MH_DofHandler* DarcyMH::EqData::mh_dh

Definition at line 194 of file darcy_flow_mh.hh.

MortarMethod DarcyMH::EqData::mortar_method_

Definition at line 199 of file darcy_flow_mh.hh.

unsigned int DarcyMH::EqData::n_schur_compls

Definition at line 205 of file darcy_flow_mh.hh.

Field<3, FieldValue<3>::Scalar > DarcyMH::EqData::sigma

Definition at line 174 of file darcy_flow_mh.hh.

Field<3, FieldValue<3>::Scalar > DarcyMH::EqData::storativity

Definition at line 183 of file darcy_flow_mh.hh.

uint DarcyMH::EqData::water_balance_idx

Definition at line 197 of file darcy_flow_mh.hh.

Field<3, FieldValue<3>::Scalar > DarcyMH::EqData::water_source_density

Definition at line 173 of file darcy_flow_mh.hh.


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