8 #ifndef FIELD_ELEMENTWISE_HH_
9 #define FIELD_ELEMENTWISE_HH_
40 template <
int spacedim,
class Value>
75 virtual void set_mesh(
const Mesh *mesh,
bool boundary_domain);
102 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.
static Input::Type::Record get_input_type(Input::Type::AbstractRecord &a_type, const typename Value::ElementInputType *eit)
virtual ~FieldElementwise()
virtual void init_from_input(const Input::Record &rec)
void set_data_row(unsigned int boundary_idx, typename Value::return_type &value)
bool set_time(const TimeStep &time) override
FieldAlgorithmBase< spacedim, Value >::Point Point
FieldElementwise(unsigned int n_comp=0)
Space< spacedim >::Point Point
static Input::Type::Record 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)
Dedicated class for storing path to input and output files.
unsigned int n_components_
Size of Value.
virtual Value::return_type const & value(const Point &p, const ElementAccessor< spacedim > &elm)
unsigned int n_entities_
Number of rows in data_ buffer.
virtual void set_mesh(const Mesh *mesh, bool boundary_domain)
Representation of one time step.
unsigned int n_comp() const