Flow123d  JS_before_hm-2109-g2815a84fd
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Elasticity::EqFields Class Reference

#include <elasticity.hh>

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

Public Types

enum  Bc_types { bc_type_displacement, bc_type_displacement_normal, bc_type_traction, bc_type_stress }
 
- Public Types inherited from FieldFlag
typedef FlagArray< FieldFlagFlags
 
typedef Flags::Mask Mask
 

Public Member Functions

 EqFields ()
 
- Public Member Functions inherited from FieldSet
 DECLARE_EXCEPTION (ExcUnknownField,<< "Field set has no field with name: "<< FieldCommon::EI_Field::qval)
 
 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...
 

Static Public Member Functions

static const Input::Type::Selectionget_bc_type_selection ()
 

Public Attributes

BCField< 3, FieldValue< 3 >::Enum > bc_type
 
BCField< 3, FieldValue< 3 >::VectorFixed > bc_displacement
 
BCField< 3, FieldValue< 3 >::VectorFixed > bc_traction
 
BCField< 3, FieldValue< 3 >::TensorFixed > bc_stress
 
Field< 3, FieldValue< 3 >::VectorFixed > load
 
Field< 3, FieldValue< 3 >::Scalar > young_modulus
 
Field< 3, FieldValue< 3 >::Scalar > poisson_ratio
 
Field< 3, FieldValue< 3 >::Scalar > fracture_sigma
 Transition parameter for diffusive transfer on fractures. More...
 
Field< 3, FieldValue< 3 >::Scalar > cross_section
 Pointer to DarcyFlow field cross_section. More...
 
Field< 3, FieldValue< 3 >::Scalar > potential_load
 Potential of an additional (external) load. More...
 
Field< 3, FieldValue< 3 >::Scalar > ref_potential_load
 Potential of reference external load on boundary. TODO: Switch to BCField when possible. More...
 
Field< 3, FieldValue< 3 >::Scalar > region_id
 
Field< 3, FieldValue< 3 >::Scalar > subdomain
 
Field< 3, FieldValue< 3 >::VectorFixed > output_field
 
Field< 3, FieldValue< 3 >::TensorFixed > output_stress
 
Field< 3, FieldValue< 3 >::Scalar > output_von_mises_stress
 
Field< 3, FieldValue< 3 >::Scalar > output_cross_section
 
Field< 3, FieldValue< 3 >::Scalar > output_divergence
 
Instances of FieldModel used in assembly methods
Field< 3, FieldValue< 3 >::Scalar > lame_mu
 
Field< 3, FieldValue< 3 >::Scalar > lame_lambda
 
Field< 3, FieldValue< 3 >::Scalar > dirichlet_penalty
 
std::shared_ptr< FieldFE< 3, FieldValue< 3 >::VectorFixed > > output_field_ptr
 
std::shared_ptr< FieldFE< 3, FieldValue< 3 >::TensorFixed > > output_stress_ptr
 
std::shared_ptr< FieldFE< 3, FieldValue< 3 >::Scalar > > output_von_mises_stress_ptr
 
std::shared_ptr< FieldFE< 3, FieldValue< 3 >::Scalar > > output_cross_section_ptr
 
std::shared_ptr< FieldFE< 3, FieldValue< 3 >::Scalar > > output_div_ptr
 
EquationOutput output_fields
 

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

Definition at line 51 of file elasticity.hh.

Member Enumeration Documentation

◆ Bc_types

Enumerator
bc_type_displacement 
bc_type_displacement_normal 
bc_type_traction 
bc_type_stress 

Definition at line 54 of file elasticity.hh.

Constructor & Destructor Documentation

◆ EqFields()

Elasticity::EqFields::EqFields ( )

Definition at line 128 of file elasticity.cc.

Member Function Documentation

◆ get_bc_type_selection()

const Selection & Elasticity::EqFields::get_bc_type_selection ( )
static

Definition at line 114 of file elasticity.cc.

Member Data Documentation

◆ bc_displacement

BCField<3, FieldValue<3>::VectorFixed> Elasticity::EqFields::bc_displacement

Definition at line 66 of file elasticity.hh.

◆ bc_stress

BCField<3, FieldValue<3>::TensorFixed> Elasticity::EqFields::bc_stress

Definition at line 68 of file elasticity.hh.

◆ bc_traction

BCField<3, FieldValue<3>::VectorFixed> Elasticity::EqFields::bc_traction

Definition at line 67 of file elasticity.hh.

◆ bc_type

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

Definition at line 65 of file elasticity.hh.

◆ cross_section

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

Pointer to DarcyFlow field cross_section.

Definition at line 75 of file elasticity.hh.

◆ dirichlet_penalty

Field<3, FieldValue<3>::Scalar > Elasticity::EqFields::dirichlet_penalty

Definition at line 92 of file elasticity.hh.

◆ fracture_sigma

Field<3, FieldValue<3>::Scalar> Elasticity::EqFields::fracture_sigma

Transition parameter for diffusive transfer on fractures.

Definition at line 72 of file elasticity.hh.

◆ lame_lambda

Field<3, FieldValue<3>::Scalar > Elasticity::EqFields::lame_lambda

Definition at line 91 of file elasticity.hh.

◆ lame_mu

Field<3, FieldValue<3>::Scalar > Elasticity::EqFields::lame_mu

Definition at line 90 of file elasticity.hh.

◆ load

Field<3, FieldValue<3>::VectorFixed> Elasticity::EqFields::load

Definition at line 69 of file elasticity.hh.

◆ output_cross_section

Field<3, FieldValue<3>::Scalar> Elasticity::EqFields::output_cross_section

Definition at line 84 of file elasticity.hh.

◆ output_cross_section_ptr

std::shared_ptr<FieldFE<3, FieldValue<3>::Scalar> > Elasticity::EqFields::output_cross_section_ptr

Definition at line 99 of file elasticity.hh.

◆ output_div_ptr

std::shared_ptr<FieldFE<3, FieldValue<3>::Scalar> > Elasticity::EqFields::output_div_ptr

Definition at line 100 of file elasticity.hh.

◆ output_divergence

Field<3, FieldValue<3>::Scalar> Elasticity::EqFields::output_divergence

Definition at line 85 of file elasticity.hh.

◆ output_field

Field<3, FieldValue<3>::VectorFixed> Elasticity::EqFields::output_field

Definition at line 81 of file elasticity.hh.

◆ output_field_ptr

std::shared_ptr<FieldFE<3, FieldValue<3>::VectorFixed> > Elasticity::EqFields::output_field_ptr

Definition at line 96 of file elasticity.hh.

◆ output_fields

EquationOutput Elasticity::EqFields::output_fields

Definition at line 102 of file elasticity.hh.

◆ output_stress

Field<3, FieldValue<3>::TensorFixed> Elasticity::EqFields::output_stress

Definition at line 82 of file elasticity.hh.

◆ output_stress_ptr

std::shared_ptr<FieldFE<3, FieldValue<3>::TensorFixed> > Elasticity::EqFields::output_stress_ptr

Definition at line 97 of file elasticity.hh.

◆ output_von_mises_stress

Field<3, FieldValue<3>::Scalar> Elasticity::EqFields::output_von_mises_stress

Definition at line 83 of file elasticity.hh.

◆ output_von_mises_stress_ptr

std::shared_ptr<FieldFE<3, FieldValue<3>::Scalar> > Elasticity::EqFields::output_von_mises_stress_ptr

Definition at line 98 of file elasticity.hh.

◆ poisson_ratio

Field<3, FieldValue<3>::Scalar> Elasticity::EqFields::poisson_ratio

Definition at line 71 of file elasticity.hh.

◆ potential_load

Field<3, FieldValue<3>::Scalar > Elasticity::EqFields::potential_load

Potential of an additional (external) load.

Definition at line 76 of file elasticity.hh.

◆ ref_potential_load

Field<3, FieldValue<3>::Scalar > Elasticity::EqFields::ref_potential_load

Potential of reference external load on boundary. TODO: Switch to BCField when possible.

Definition at line 77 of file elasticity.hh.

◆ region_id

Field<3, FieldValue<3>::Scalar> Elasticity::EqFields::region_id

Definition at line 78 of file elasticity.hh.

◆ subdomain

Field<3, FieldValue<3>::Scalar> Elasticity::EqFields::subdomain

Definition at line 79 of file elasticity.hh.

◆ young_modulus

Field<3, FieldValue<3>::Scalar> Elasticity::EqFields::young_modulus

Definition at line 70 of file elasticity.hh.


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