18 #ifndef FIELD_ELEMENTWISE_HH_ 19 #define FIELD_ELEMENTWISE_HH_ 46 #include <boost/exception/info.hpp> 65 template <
int spacedim,
class Value>
99 void set_mesh(
const Mesh *mesh,
bool boundary_domain)
override;
126 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
Basic time management class.
bool set_time(const TimeStep &time) override
FieldAlgorithmBase< spacedim, Value >::Point Point
double default_value_
Default value of element if not set in mesh data file.
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