Flow123d
DF_mechanic_bench-d9cdce8
|
#include <field_model.hh>
Public Types | |
typedef FieldAlgorithmBase< spacedim, Value >::Point | Point |
Public Types inherited from FieldAlgorithmBase< spacedim, Value > | |
typedef Space< spacedim >::Point | Point |
Public Member Functions | |
FieldModel (Fn func, InputFields... args) | |
std::vector< const FieldCommon * > | set_dependency (FMT_UNUSED FieldSet &field_set) |
Implements FieldAlgoBase::set_dependency. More... | |
void | cache_update (FieldValueCache< typename Value::element_type > &data_cache, ElementCacheMap &cache_map, unsigned int region_patch_idx) override |
Implements FieldAlgoBase::cache_update. More... | |
Public Member Functions inherited from FieldAlgorithmBase< spacedim, Value > | |
TYPEDEF_ERR_INFO (EI_Field, std::string) | |
DECLARE_EXCEPTION (ExcInputInitUnsupported,<< "The field "<< EI_Field::qval<< " do not support initialization from input.\n") | |
FieldAlgorithmBase (unsigned int n_comp=0) | |
virtual void | init_from_input (const Input::Record &rec, const struct FieldAlgoBaseInitData &init_data) |
virtual bool | set_time (const TimeStep &time) |
virtual void | set_mesh (const Mesh *mesh) |
void | set_component_idx (unsigned int idx) |
unsigned int | n_comp () const |
FieldResult | field_result () const |
virtual double | next_change_time () |
virtual void | cache_reinit (const ElementCacheMap &cache_map) |
Allows reinit data members or structures in descendants during reinit of FieldValueCache of 'parental' Field<> More... | |
virtual void | set_native_dh (std::shared_ptr< DOFHandlerMultiDim >) |
bool | is_constant_in_space () const |
virtual | ~FieldAlgorithmBase () |
Private Types | |
typedef std::tuple< InputFields... > | FieldsTuple |
Private Attributes | |
Fn | fn |
FieldsTuple | input_fields |
Additional Inherited Members | |
Static Public Member Functions inherited from FieldAlgorithmBase< spacedim, Value > | |
static std::string | template_name () |
static Input::Type::Abstract & | get_input_type () |
static const Input::Type::Instance & | get_input_type_instance (Input::Type::Selection value_selection=Input::Type::Selection()) |
static const Input::Type::Record & | get_field_algo_common_keys () |
static std::shared_ptr< FieldAlgorithmBase< spacedim, Value > > | function_factory (const Input::AbstractRecord &rec, const struct FieldAlgoBaseInitData &init_data) |
Static Public Attributes inherited from FieldAlgorithmBase< spacedim, Value > | |
static const unsigned int | spacedim_ =spacedim |
static constexpr bool | is_enum_valued = std::is_same<typename Value::element_type, FieldEnum>::value |
Protected Member Functions inherited from FieldAlgorithmBase< spacedim, Value > | |
void | init_unit_conversion_coefficient (const Input::Record &rec, const struct FieldAlgoBaseInitData &init_data) |
Init value of unit_conversion_coefficient_ from input. More... | |
Protected Attributes inherited from FieldAlgorithmBase< spacedim, Value > | |
TimeStep | time_ |
Actual time level; initial value is -infinity. More... | |
Value | value_ |
Last value, prevents passing large values (vectors) by value. More... | |
Value::return_type | r_value_ |
FieldResult | field_result_ |
Indicator of particular values (zero, one) constant over space. More... | |
unsigned int | component_idx_ |
Specify if the field is part of a MultiField and which component it is. More... | |
double | unit_conversion_coefficient_ |
Coeficient of conversion of user-defined unit. More... | |
bool | is_constant_in_space_ |
Flag detects that field is only dependent on time. More... | |
Class representing field computing form results of other fields.
Example of usage:
Definition at line 247 of file field_model.hh.
|
private |
Definition at line 251 of file field_model.hh.
typedef FieldAlgorithmBase<spacedim, Value>::Point FieldModel< spacedim, Value, Fn, InputFields >::Point |
Definition at line 255 of file field_model.hh.
|
inline |
Definition at line 257 of file field_model.hh.
|
inlineoverridevirtual |
Implements FieldAlgoBase::cache_update.
Reimplemented from FieldAlgorithmBase< spacedim, Value >.
Definition at line 270 of file field_model.hh.
|
inlinevirtual |
Implements FieldAlgoBase::set_dependency.
Reimplemented from FieldAlgorithmBase< spacedim, Value >.
Definition at line 262 of file field_model.hh.
|
private |
Definition at line 250 of file field_model.hh.
|
private |
Definition at line 252 of file field_model.hh.