Flow123d
release_3.0.0-973-g92f55e826
|
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
FieldAlgorithmBase< spacedim, Value >::Point Point
Space< spacedim >::Point Point
virtual void init_from_input(const Input::Record &rec, const struct FieldAlgoBaseInitData &init_data)
static const int registrar
Registrar of class to factory.
Helper struct stores data for initizalize descentants of FieldAlgorithmBase.
FieldConstant(unsigned int n_comp=0)
static const Input::Type::Record & get_input_type()
Implementation.
virtual void value_list(const std::vector< Point > &point_list, const ElementAccessor< spacedim > &elm, std::vector< typename Value::return_type > &value_list)
void check_field_limits(const Input::Record &rec, const struct FieldAlgoBaseInitData &init_data)
Compare field value with given minimal and maximal limits.
virtual const Value::return_type & value(const Point &p, const ElementAccessor< spacedim > &elm)
FieldConstant< spacedim, Value > & set_value(const typename Value::return_type &val)