Flow123d
release_3.0.0-973-g92f55e826
|
Go to the documentation of this file.
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_;
unsigned int n_comp() const
virtual ~FieldElementwise()
Basic time management class.
std::shared_ptr< std::vector< typename Value::element_type > > data_
Raw buffer of n_entities rows each containing Value::size() doubles.
double default_value_
Default value of element if not set in mesh data file.
Dedicated class for storing path to input and output files.
const Value::return_type & value(const Point &p, const ElementAccessor< spacedim > &elm) override
bool set_time(const TimeStep &time) override
Space< spacedim >::Point Point
FieldAlgorithmBase< spacedim, Value > FactoryBaseType
virtual void init_from_input(const Input::Record &rec, const struct FieldAlgoBaseInitData &init_data) override
unsigned int n_components_
Size of Value.
std::pair< double, double > limits_
Helper struct stores data for initizalize descentants of FieldAlgorithmBase.
unsigned int n_entities_
Number of rows in data_ buffer.
Representation of one time step..
Class for representation SI units of Fields.
static const int registrar
Registrar of class to factory.
static const Input::Type::Record & get_input_type()
Implementation.
Input::Record in_rec_
Accessor to Input::Record.
FieldAlgorithmBase< spacedim, Value >::Point Point
void set_mesh(const Mesh *mesh, bool boundary_domain) override
void value_list(const std::vector< Point > &point_list, const ElementAccessor< spacedim > &elm, std::vector< typename Value::return_type > &value_list) override
FieldElementwise(unsigned int n_comp=0)