|
dune-grid 2.11
|
Search an IndexSet for an Entity containing a given point. More...
#include <dune/grid/utility/hierarchicsearch.hh>
Public Member Functions | |
| HierarchicSearch (const Grid &g, const IS &is) | |
| Construct a HierarchicSearch object from a Grid and an IndexSet. | |
| Entity | findEntity (const FieldVector< ct, dimw > &global) const |
| Search the IndexSet of this HierarchicSearch for an Entity containing point global. | |
| template<PartitionIteratorType partition> | |
| Entity | findEntity (const FieldVector< ct, dimw > &global) const |
| Search the IndexSet of this HierarchicSearch for an Entity containing point global. | |
Protected Types | |
| typedef Grid::ctype | ct |
| get coord type from the grid | |
| typedef Grid::template Codim< 0 >::Entity | Entity |
| get entity from the grid | |
| typedef Grid::HierarchicIterator | HierarchicIterator |
| type of HierarchicIterator | |
Protected Member Functions | |
| Entity | hFindEntity (const Entity &entity, const FieldVector< ct, dimw > &global) const |
Static Protected Member Functions | |
| static std::string | formatEntityInformation (const Entity &e) |
Protected Attributes | |
| const Grid & | grid_ |
| const IS & | indexSet_ |
Static Protected Attributes | |
| static constexpr int | dim = Grid::dimension |
| get dimension from the grid | |
| static constexpr int | dimw = Grid::dimensionworld |
| get world dimension from the grid | |
|
protected |
get coord type from the grid
|
protected |
get entity from the grid
|
protected |
type of HierarchicIterator
|
inline |
Construct a HierarchicSearch object from a Grid and an IndexSet.
|
inline |
Search the IndexSet of this HierarchicSearch for an Entity containing point global.
| GridError | No element of the coarse grid contains the given coordinate. |
type of LevelIterator
|
inline |
Search the IndexSet of this HierarchicSearch for an Entity containing point global.
| GridError | No element of the coarse grid contains the given coordinate. |
|
inlinestaticprotected |
|
staticconstexprprotected |
get dimension from the grid
|
staticconstexprprotected |
get world dimension from the grid
|
protected |
|
protected |