Flow123d
JS_before_hm-2115-gf629a871a
|
Go to the documentation of this file.
18 #ifndef FIELD_CONSTANT_HH_
19 #define FIELD_CONSTANT_HH_
42 template <
int spacedim,
class Value>
unsigned int n_comp() const
FieldAlgorithmBase< spacedim, Value > FactoryBaseType
void cache_update(FieldValueCache< typename Value::element_type > &data_cache, ElementCacheMap &cache_map, unsigned int region_patch_idx) override
Directing class of FieldValueCache.
FieldAlgorithmBase< spacedim, Value >::Point Point
Space< spacedim >::Point Point
virtual void init_from_input(const Input::Record &rec, const struct FieldAlgoBaseInitData &init_data) override
static const int registrar
Registrar of class to factory.
Helper struct stores data for initizalize descentants of FieldAlgorithmBase.
FieldConstant(unsigned int n_comp=0)
virtual void value_list(const Armor::array &point_list, const ElementAccessor< spacedim > &elm, std::vector< typename Value::return_type > &value_list) override
static const Input::Type::Record & get_input_type()
Implementation.
void check_field_limits(const Input::Record &rec, const struct FieldAlgoBaseInitData &init_data)
Compare field value with given minimal and maximal limits.
FieldConstant< spacedim, Value > & set_value(const typename Value::return_type &val)
virtual const Value::return_type & value(const Point &p, const ElementAccessor< spacedim > &elm) override