DUNE-FEM (unstable)
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. More... | |
| template<PartitionIteratorType partition> | |
| Entity | findEntity (const FieldVector< ct, dimw > &global) const |
| Search the IndexSet of this HierarchicSearch for an Entity containing point global. More... | |
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 Attributes | |
| static constexpr int | dim = Grid::dimension |
| get dimension from the grid | |
| static constexpr int | dimw = Grid::dimensionworld |
| get world dimension from the grid | |
Detailed Description
class Dune::HierarchicSearch< Grid, IS >
Member Function Documentation
◆ findEntity() [1/2]
|
inline |
Search the IndexSet of this HierarchicSearch for an Entity containing point global.
- Exceptions
-
GridError No element of the coarse grid contains the given coordinate.
Referenced by Dune::Fem::GridSolution< GridImp, DiscreteFunctionImp >::evaluate().
◆ findEntity() [2/2]
|
inline |
Search the IndexSet of this HierarchicSearch for an Entity containing point global.
- Exceptions
-
GridError No element of the coarse grid contains the given coordinate.
type of LevelIterator
References Dune::HierarchicSearch< Grid, IS >::dim, Dune::HierarchicSearch< Grid, IS >::dimw, DUNE_THROW, Dune::Geometry< mydim, cdim, GridImp, GeometryImp >::global(), Dune::HierarchicSearch< Grid, IS >::hFindEntity(), Dune::Grid< dim, dimworld, ct, GridFamily >::levelGridView(), and Dune::referenceElement().
◆ hFindEntity()
|
inlineprotected |
internal helper method
- Parameters
-
[in] entity Entity whose children should be searched [in] global Point you are searching for
Search the child entity containing point global. Recursively recursively continue until we found an entity that is part of the IndexSet.
References Dune::className(), DUNE_THROW, Dune::HierarchicSearch< Grid, IS >::hFindEntity(), and Dune::referenceElement().
Referenced by Dune::HierarchicSearch< Grid, IS >::findEntity(), and Dune::HierarchicSearch< Grid, IS >::hFindEntity().
The documentation for this class was generated from the following file:
- dune/grid/utility/hierarchicsearch.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden & Uni Heidelberg |
generated with Hugo v0.111.3
(Nov 2, 23:43, 2025)