Class template Dune::XT::Grid::EntityInlevelSearch<GridLayerType, codim>¶
Inherits from Dune::XT::Grid::EntitySearchBase.
-
template<class GridLayerType, int codim = 0>
class Dune::XT::Grid::EntityInlevelSearch<GridLayerType, codim> : 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
Method Dune::XT::Grid::EntityInlevelSearch::check_add¶
-
template<class GridLayerType, int codim = 0>
inline typename EntityVectorType::value_type Dune::XT::Grid::EntityInlevelSearch<GridLayerType, codim>::check_add(const typename BaseType::EntityType &entity, const typename BaseType::GlobalCoordinateType &point) const¶ No documentation provided.
Constructor Dune::XT::Grid::EntityInlevelSearch::EntityInlevelSearch¶
-
template<class GridLayerType, int codim = 0>
explicit Dune::XT::Grid::EntityInlevelSearch<GridLayerType, codim>::EntityInlevelSearch(const GridLayerType &grid_layer)¶ No documentation provided.
Field Dune::XT::Grid::EntityInlevelSearch::grid_layer_¶
-
template<class GridLayerType, int codim = 0>
const GridLayerType Dune::XT::Grid::EntityInlevelSearch<GridLayerType, codim>::grid_layer_¶ No documentation provided.
Field Dune::XT::Grid::EntityInlevelSearch::it_last_¶
-
template<class GridLayerType, int codim = 0>
Common::PerThreadValue<IteratorType> Dune::XT::Grid::EntityInlevelSearch<GridLayerType, codim>::it_last_¶ No documentation provided.
Type alias Dune::XT::Grid::EntityInlevelSearch::BaseType¶
-
template<class GridLayerType, int codim = 0>
using Dune::XT::Grid::EntityInlevelSearch<GridLayerType, codim>::BaseType = EntitySearchBase<GridLayerType, codim>¶ No documentation provided.
Type alias Dune::XT::Grid::EntityInlevelSearch::IteratorType¶
-
template<class GridLayerType, int codim = 0>
using Dune::XT::Grid::EntityInlevelSearch<GridLayerType, codim>::IteratorType = extract_iterator_t<GridLayerType, codim>¶ No documentation provided.
Type alias Dune::XT::Grid::EntityInlevelSearch::EntityVectorType¶
-
template<class GridLayerType, int codim = 0>
using Dune::XT::Grid::EntityInlevelSearch<GridLayerType, codim>::EntityVectorType = typename BaseType::EntityVectorType¶ No documentation provided.
Function template Dune::XT::Grid::EntityInlevelSearch::operator()¶
-
template<class GridLayerType, int codim = 0>
template<class PointContainerType>
EntityVectorType Dune::XT::Grid::EntityInlevelSearch<GridLayerType, codim>::operator()(const PointContainerType &points)¶ points iterable sequence of global coordinates to search for
:returns: a vector of size points.size() of, potentially nullptr if no corresponding one was found, unique_ptr