29 #ifndef FIELD_INTERPOLATED_P0_HH_
30 #define FIELD_INTERPOLATED_P0_HH_
41 template <
int spacedim,
class Value>
88 std::shared_ptr< std::vector<typename Value::element_type> >
data_;
unsigned int computed_elm_boundary_
stored flag if last computed element is boundary
bool set_time(const TimeStep &time) override
FieldAlgorithmBase< spacedim, Value >::Point Point
static Input::Type::Record get_input_type(Input::Type::AbstractRecord &a_type, const typename Value::ElementInputType *eit)
FilePath reader_file_
mesh reader file
static Input::Type::Record input_type
virtual Value::return_type const & value(const Point &p, const ElementAccessor< spacedim > &elm)
unsigned int computed_elm_idx_
stored index to last computed element
TAbscissa abscissa_
1D (abscissa) element, used for computing intersection
TPoint point_
0D (point) element, used for computing intersection
virtual void value_list(const std::vector< Point > &point_list, const ElementAccessor< spacedim > &elm, std::vector< typename Value::return_type > &value_list)
Mesh * source_mesh_
mesh, which is interpolated
FieldInterpolatedP0(unsigned int n_comp=0)
Class for O(log N) lookup for intersections with a set of bounding boxes.
Space< spacedim >::Point Point
BIHTree * bih_tree_
tree of mesh elements
Dedicated class for storing path to input and output files.
std::vector< unsigned int > searched_elements_
vector stored suspect elements in calculating the intersection
virtual void init_from_input(const Input::Record &rec)
TTriangle triangle_
2D (triangle) element, used for computing intersection
TTetrahedron tetrahedron_
3D (tetrahedron) element, used for computing intersection
std::string field_name_
field name read from input
std::shared_ptr< std::vector< typename Value::element_type > > data_
Raw buffer of n_entities rows each containing Value::size() doubles.
Representation of one time step.
unsigned int n_comp() const