Flow123d
release_3.0.0-973-g92f55e826
|
Go to the documentation of this file.
18 #ifndef FIELD_INTERPOLATED_P0_HH_
19 #define FIELD_INTERPOLATED_P0_HH_
22 #include <boost/exception/info.hpp>
43 template <
int spacedim,
class Value>
89 std::shared_ptr< std::vector<typename Value::element_type> >
data_;
unsigned int n_comp() const
std::shared_ptr< std::vector< typename Value::element_type > > data_
Raw buffer of n_entities rows each containing Value::size() doubles.
virtual void init_from_input(const Input::Record &rec, const struct FieldAlgoBaseInitData &init_data)
Basic time management class.
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.
FieldAlgorithmBase< spacedim, Value > FactoryBaseType
Class for O(log N) lookup for intersections with a set of bounding boxes.
virtual const Value::return_type & value(const Point &p, const ElementAccessor< spacedim > &elm)
Space< spacedim >::Point Point
unsigned int computed_elm_boundary_
stored flag if last computed element is boundary
static const Input::Type::Record & get_input_type()
FilePath reader_file_
mesh reader file
bool set_time(const TimeStep &time) override
Input::Record in_rec_
Accessor to Input::Record.
Helper struct stores data for initizalize descentants of FieldAlgorithmBase.
Representation of one time step..
std::string field_name_
field name read from input
unsigned int computed_elm_idx_
stored index to last computed element
std::shared_ptr< Mesh > source_mesh_
mesh, which is interpolated
FieldAlgorithmBase< spacedim, Value >::Point Point
static const int registrar
Registrar of class to factory.
double default_value_
Default value of element if not set in mesh data file.
std::vector< unsigned int > searched_elements_
vector stored suspect elements in calculating the intersection
FieldInterpolatedP0(unsigned int n_comp=0)
BIHTree * bih_tree_
tree of mesh elements