18 #ifndef FIELD_CONSTANT_HH_ 19 #define FIELD_CONSTANT_HH_ 31 template <
int spacedim,
class Value>
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)
static const int registrar
Registrar of class to factory.
virtual void value_list(const std::vector< Point > &point_list, const ElementAccessor< spacedim > &elm, std::vector< typename Value::return_type > &value_list)
Helper struct stores data for initizalize descentants of FieldAlgorithmBase.
virtual Value::return_type const & value(const Point &p, const ElementAccessor< spacedim > &elm)
FieldAlgorithmBase< spacedim, Value >::Point Point
FieldConstant(unsigned int n_comp=0)
FieldAlgorithmBase< spacedim, Value > FactoryBaseType
virtual void init_from_input(const Input::Record &rec, const struct FieldAlgoBaseInitData &init_data)
Space< spacedim >::Point Point
unsigned int n_comp() const