Flow123d  JS_before_hm-2182-g6dfc51a91
Public Member Functions | Public Attributes | List of all members
HM_Iterative::EqData Class Reference

#include <hm_iterative.hh>

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

Public Member Functions

 EqData ()
 
void initialize (Mesh &mesh)
 
- Public Member Functions inherited from FieldSet
 DECLARE_EXCEPTION (ExcUnknownField,<< "Field set has no field with name: "<< FieldCommon::EI_Field::qval)
 
 DECLARE_INPUT_EXCEPTION (ExcFieldNotSet,<< "Field "<< FieldCommon::EI_Field::qval<< " is not set. Please set key 'scalar_field', 'vector_field' or 'tensor_field' at: \n")
 
 FieldSet ()
 Default constructor. More...
 
const Input::Type::Recordget_user_field (const std::string &equation_name)
 Declare input record type of field defined by user. 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 set_user_fields_map (Input::Array input_list)
 
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...
 
FieldCommonuser_field (const std::string &field_name, const TimeStep &time)
 

Public Attributes

Field< 3, FieldValue< 3 >::Scalar > alpha
 Biot coefficient. More...
 
Field< 3, FieldValue< 3 >::Scalar > density
 Density of fluid. More...
 
Field< 3, FieldValue< 3 >::Scalar > gravity
 Standard gravity. More...
 
Field< 3, FieldValue< 3 >::Scalar > beta
 
Field< 3, FieldValue< 3 >::Scalar > pressure_potential
 Potential -alpha*pressure whose gradient is passed to mechanics as additional load. More...
 
Field< 3, FieldValue< 3 >::Scalar > ref_pressure_potential
 Potential of reference (prescribed) pressure from flow b.c. TODO: Swith to BCField when possible. More...
 
Field< 3, FieldValue< 3 >::Scalar > flow_source
 
std::shared_ptr< FieldFE< 3, FieldValue< 3 >::Scalar > > potential_ptr_
 FieldFE for pressure_potential field. More...
 
std::shared_ptr< FieldFE< 3, FieldValue< 3 >::Scalar > > ref_potential_ptr_
 
std::shared_ptr< FieldFE< 3, FieldValue< 3 >::Scalar > > beta_ptr_
 
std::shared_ptr< FieldFE< 3, FieldValue< 3 >::Scalar > > flow_source_ptr_
 
std::shared_ptr< FieldFE< 3, FieldValue< 3 >::Scalar > > old_pressure_ptr_
 
std::shared_ptr< FieldFE< 3, FieldValue< 3 >::Scalar > > old_iter_pressure_ptr_
 
std::shared_ptr< FieldFE< 3, FieldValue< 3 >::Scalar > > div_u_ptr_
 
std::shared_ptr< FieldFE< 3, FieldValue< 3 >::Scalar > > old_div_u_ptr_
 

Additional Inherited Members

- Public Types inherited from FieldFlag
typedef FlagArray< FieldFlagFlags
 
typedef Flags::Mask Mask
 
- 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...
 
std::vector< FieldCommon * > user_field_list_
 List of fields defined by user. 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...
 
std::unordered_map< std::string, Input::Recorduser_fields_input_
 Map assigns Input::Record to each field defined in optional Input::Array 'user_fields'. More...
 

Detailed Description

Definition at line 133 of file hm_iterative.hh.

Constructor & Destructor Documentation

◆ EqData()

HM_Iterative::EqData::EqData ( )

Definition at line 67 of file hm_iterative.cc.

Member Function Documentation

◆ initialize()

void HM_Iterative::EqData::initialize ( Mesh mesh)

Definition at line 109 of file hm_iterative.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ alpha

Field<3, FieldValue<3>::Scalar> HM_Iterative::EqData::alpha

Biot coefficient.

Definition at line 140 of file hm_iterative.hh.

◆ beta

Field<3, FieldValue<3>::Scalar> HM_Iterative::EqData::beta

Definition at line 143 of file hm_iterative.hh.

◆ beta_ptr_

std::shared_ptr<FieldFE<3, FieldValue<3>::Scalar> > HM_Iterative::EqData::beta_ptr_

Definition at line 153 of file hm_iterative.hh.

◆ density

Field<3, FieldValue<3>::Scalar> HM_Iterative::EqData::density

Density of fluid.

Definition at line 141 of file hm_iterative.hh.

◆ div_u_ptr_

std::shared_ptr<FieldFE<3, FieldValue<3>::Scalar> > HM_Iterative::EqData::div_u_ptr_

Definition at line 157 of file hm_iterative.hh.

◆ flow_source

Field<3, FieldValue<3>::Scalar> HM_Iterative::EqData::flow_source

Definition at line 148 of file hm_iterative.hh.

◆ flow_source_ptr_

std::shared_ptr<FieldFE<3, FieldValue<3>::Scalar> > HM_Iterative::EqData::flow_source_ptr_

Definition at line 154 of file hm_iterative.hh.

◆ gravity

Field<3, FieldValue<3>::Scalar> HM_Iterative::EqData::gravity

Standard gravity.

Definition at line 142 of file hm_iterative.hh.

◆ old_div_u_ptr_

std::shared_ptr<FieldFE<3, FieldValue<3>::Scalar> > HM_Iterative::EqData::old_div_u_ptr_

Definition at line 158 of file hm_iterative.hh.

◆ old_iter_pressure_ptr_

std::shared_ptr<FieldFE<3, FieldValue<3>::Scalar> > HM_Iterative::EqData::old_iter_pressure_ptr_

Definition at line 156 of file hm_iterative.hh.

◆ old_pressure_ptr_

std::shared_ptr<FieldFE<3, FieldValue<3>::Scalar> > HM_Iterative::EqData::old_pressure_ptr_

Definition at line 155 of file hm_iterative.hh.

◆ potential_ptr_

std::shared_ptr<FieldFE<3, FieldValue<3>::Scalar> > HM_Iterative::EqData::potential_ptr_

FieldFE for pressure_potential field.

Definition at line 151 of file hm_iterative.hh.

◆ pressure_potential

Field<3, FieldValue<3>::Scalar> HM_Iterative::EqData::pressure_potential

Potential -alpha*pressure whose gradient is passed to mechanics as additional load.

Definition at line 146 of file hm_iterative.hh.

◆ ref_potential_ptr_

std::shared_ptr<FieldFE<3, FieldValue<3>::Scalar> > HM_Iterative::EqData::ref_potential_ptr_

Definition at line 152 of file hm_iterative.hh.

◆ ref_pressure_potential

Field<3, FieldValue<3>::Scalar> HM_Iterative::EqData::ref_pressure_potential

Potential of reference (prescribed) pressure from flow b.c. TODO: Swith to BCField when possible.

Definition at line 147 of file hm_iterative.hh.


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