18 #ifndef FIELD_ELEMENTWISE_HH_ 19 #define FIELD_ELEMENTWISE_HH_ 49 template <
int spacedim,
class Value>
83 void set_mesh(
const Mesh *mesh,
bool boundary_domain)
override;
112 std::shared_ptr< std::vector<typename Value::element_type> >
data_;
std::shared_ptr< std::vector< typename Value::element_type > > data_
Raw buffer of n_entities rows each containing Value::size() doubles.
FieldAlgorithmBase< spacedim, Value > FactoryBaseType
std::pair< double, double > limits_
virtual ~FieldElementwise()
Value::return_type const & value(const Point &p, const ElementAccessor< spacedim > &elm) override
Helper struct stores data for initizalize descentants of FieldAlgorithmBase.
static const Input::Type::Record & get_input_type()
Implementation.
static const int registrar
Registrar of class to factory.
virtual void init_from_input(const Input::Record &rec, const struct FieldAlgoBaseInitData &init_data) override
bool set_time(const TimeStep &time) override
void scale_and_check_limits()
Multiply data_ with unit_conversion_coefficient_ and check limits of field.
FieldAlgorithmBase< spacedim, Value >::Point Point
FieldElementwise(unsigned int n_comp=0)
Space< spacedim >::Point Point
Dedicated class for storing path to input and output files.
unsigned int n_components_
Size of Value.
void set_mesh(const Mesh *mesh, bool boundary_domain) override
unsigned int n_entities_
Number of rows in data_ buffer.
void value_list(const std::vector< Point > &point_list, const ElementAccessor< spacedim > &elm, std::vector< typename Value::return_type > &value_list) override
Input::Record in_rec_
Accessor to Input::Record.
Class for representation SI units of Fields.
Representation of one time step..
unsigned int n_comp() const