18 #ifndef FIELD_CONSTANT_HH_
19 #define FIELD_CONSTANT_HH_
42 template <
int spacedim,
class Value>
Directing class of FieldValueCache.
unsigned int n_comp() const
Space< spacedim >::Point Point
void cache_update(FieldValueCache< typename Value::element_type > &data_cache, ElementCacheMap &cache_map, unsigned int region_patch_idx) override
static const Input::Type::Record & get_input_type()
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)
static Input::Type::Array get_tensor_input_type()
Implementation.
static const int registrar
Registrar of class to factory.
FieldConstant(unsigned int n_comp=0)
virtual void init_from_input(const Input::Record &rec, const struct FieldAlgoBaseInitData &init_data) override
FieldAlgorithmBase< spacedim, Value >::Point Point
FieldAlgorithmBase< spacedim, Value > FactoryBaseType
Helper struct stores data for initizalize descentants of FieldAlgorithmBase.