Class template Dune::XT::Grid::EntityInlevelSearch

Inherits from Dune::XT::Grid::EntitySearchBase.

template<class GridLayerType, int codim = 0>
class Dune::XT::Grid::EntityInlevelSearch : public EntitySearchBase<GridLayerType, codim>

Provides a facility to search a given grid layer for entities with arbitrary codim that contain a set of points. The search is “in-level”, meaning no grid hierarchy is used in the search. The search position iterator on the grid persists between searches, reducing complexity of repeated searches on the grid.

Warning

This makes it inherently not thread safe

inline typename EntityVectorType::value_type Dune::XT::Grid::EntityInlevelSearch::check_add(const typename BaseType::EntityType &entity, const typename BaseType::GlobalCoordinateType &point) const

No documentation provided.

template<>
Dune::XT::Grid::EntityInlevelSearch::EntityInlevelSearch<GridLayerType, codim>(const GridLayerType &grid_layer)

No documentation provided.

const GridLayerType Dune::XT::Grid::EntityInlevelSearch::grid_layer_

No documentation provided.

int Dune::XT::Grid::EntityInlevelSearch::it_last_

No documentation provided.

type Dune::XT::Grid::EntityInlevelSearch::BaseType

No documentation provided.

type Dune::XT::Grid::EntityInlevelSearch::EntityVectorType

No documentation provided.

template<class PointContainerType>
EntityVectorType Dune::XT::Grid::EntityInlevelSearch::operator()(const PointContainerType &points)

:returns: a vector of size points.size() of, potentially nullptr if no corresponding one was found, unique_ptr