dune-grid  2.4
Public Member Functions | List of all members
Dune::HierarchicSearch< Grid, IS > Class Template Reference

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. More...
 
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...
 

Detailed Description

template<class Grid, class IS>
class Dune::HierarchicSearch< Grid, IS >

Search an IndexSet for an Entity containing a given point.

Constructor & Destructor Documentation

template<class Grid , class IS >
Dune::HierarchicSearch< Grid, IS >::HierarchicSearch ( const Grid g,
const IS &  is 
)
inline

Construct a HierarchicSearch object from a Grid and an IndexSet.

Member Function Documentation

template<class Grid , class IS >
Entity Dune::HierarchicSearch< Grid, IS >::findEntity ( const FieldVector< ct, dimw > &  global) const
inline

Search the IndexSet of this HierarchicSearch for an Entity containing point global.

Exceptions
GridErrorNo element of the coarse grid contains the given coordinate.
template<class Grid , class IS >
template<PartitionIteratorType partition>
Entity Dune::HierarchicSearch< Grid, IS >::findEntity ( const FieldVector< ct, dimw > &  global) const
inline

Search the IndexSet of this HierarchicSearch for an Entity containing point global.

Exceptions
GridErrorNo element of the coarse grid contains the given coordinate.

type of LevelIterator

References Dune::Geometry< mydim, cdim, GridImp, GeometryImp >::global(), Dune::Geometry< mydim, cdim, GridImp, GeometryImp >::local(), move, and Dune::Geometry< mydim, cdim, GridImp, GeometryImp >::type().


The documentation for this class was generated from the following file: