Flow123d  3.9.0-9663d1cde
Public Member Functions | Public Attributes | List of all members
ConvectionTransport::EqFields Class Reference

#include <transport.h>

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

Public Member Functions

 EqFields ()
 
virtual ~EqFields ()
 
double side_flux (SidePoint &side_p, FEValues< 3 > &fe_side_values)
 Calculate flux on given side point. More...
 
- Public Member Functions inherited from TransportEqFields
 TransportEqFields ()
 
virtual ~TransportEqFields ()
 
- 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

BCMultiField< 3, FieldValue< 3 >::Scalar > bc_conc
 
MultiField< 3, FieldValue< 3 >::Scalar > init_conc
 Initial concentrations. More...
 
Field< 3, FieldValue< 3 >::Scalar > region_id
 
Field< 3, FieldValue< 3 >::Scalar > subdomain
 
MultiField< 3, FieldValue< 3 >::Scalar > conc_mobile
 Calculated concentrations in the mobile zone. More...
 
FieldFEScalarVec conc_mobile_fe
 Underlaying FieldFE for each substance of conc_mobile. More...
 
EquationOutput output_fields
 Fields indended for output, i.e. all input fields plus those representing solution. More...
 
- Public Attributes inherited from TransportEqFields
Field< 3, FieldValue< 3 >::Scalar > porosity
 Mobile porosity - usually saturated water content in the case of unsaturated flow model. More...
 
Field< 3, FieldValue< 3 >::Scalar > water_content
 Water content - result of unsaturated water flow model or porosity. More...
 
Field< 3, FieldValue< 3 >::Scalar > cross_section
 Pointer to DarcyFlow field cross_section. More...
 
Field< 3, FieldValue< 3 >::VectorFixed > flow_flux
 Flow flux, can be result of water flow model. More...
 
MultiField< 3, FieldValue< 3 >::Scalar > sources_density
 Concentration sources - density of substance source, only positive part is used. More...
 
MultiField< 3, FieldValue< 3 >::Scalar > sources_sigma
 Concentration sources - Robin type, in_flux = sources_sigma * (sources_conc - mobile_conc) More...
 
MultiField< 3, FieldValue< 3 >::Scalar > sources_conc
 

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 88 of file transport.h.

Constructor & Destructor Documentation

◆ EqFields()

ConvectionTransport::EqFields::EqFields ( )

Definition at line 90 of file transport.cc.

◆ ~EqFields()

virtual ConvectionTransport::EqFields::~EqFields ( )
inlinevirtual

Definition at line 92 of file transport.h.

Member Function Documentation

◆ side_flux()

double ConvectionTransport::EqFields::side_flux ( SidePoint side_p,
FEValues< 3 > &  fe_side_values 
)
inline

Calculate flux on given side point.

Definition at line 95 of file transport.h.

Here is the caller graph for this function:

Member Data Documentation

◆ bc_conc

BCMultiField<3, FieldValue<3>::Scalar> ConvectionTransport::EqFields::bc_conc

Boundary conditions (Dirichlet) for concentrations. They are applied only on water inflow part of the boundary.

Definition at line 103 of file transport.h.

◆ conc_mobile

MultiField<3, FieldValue<3>::Scalar> ConvectionTransport::EqFields::conc_mobile

Calculated concentrations in the mobile zone.

Definition at line 111 of file transport.h.

◆ conc_mobile_fe

FieldFEScalarVec ConvectionTransport::EqFields::conc_mobile_fe

Underlaying FieldFE for each substance of conc_mobile.

Definition at line 112 of file transport.h.

◆ init_conc

MultiField<3, FieldValue<3>::Scalar> ConvectionTransport::EqFields::init_conc

Initial concentrations.

Definition at line 106 of file transport.h.

◆ output_fields

EquationOutput ConvectionTransport::EqFields::output_fields

Fields indended for output, i.e. all input fields plus those representing solution.

Definition at line 115 of file transport.h.

◆ region_id

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

Definition at line 108 of file transport.h.

◆ subdomain

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

Definition at line 109 of file transport.h.


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