29 #ifndef FIELD_INTERPOLATED_P0_HH_
30 #define FIELD_INTERPOLATED_P0_HH_
41 template <
int spacedim,
class Value>
unsigned int computed_elm_boundary_
stored flag if last computed element is boundary
FieldAlgorithmBase< spacedim, Value >::Point Point
static Input::Type::Record get_input_type(Input::Type::AbstractRecord &a_type, const typename Value::ElementInputType *eit)
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
GmshMeshReader * reader_
mesh reader
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
double * data_
Raw buffer of n_entities rows each containing Value::size() doubles.
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
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
virtual bool set_time(double time)
unsigned int n_comp() const