dune-grid  2.4.1-rc2
Classes | Public Types | Public Member Functions | List of all members
Dune::YaspEntity< 0, dim, GridImp > Class Template Reference

#include <dune/grid/yaspgrid/yaspgridentity.hh>

Inheritance diagram for Dune::YaspEntity< 0, dim, GridImp >:
Inheritance graph

Classes

struct  Codim
 

Public Types

typedef GridImp::ctype ctype
 
typedef GridImp::YGridLevelIterator YGLI
 
typedef GridImp::YGrid::Iterator I
 
typedef GridImp::template Codim< 0 >::Geometry Geometry
 
typedef GridImp::template Codim< 0 >::LocalGeometry LocalGeometry
 
typedef GridImp::template Codim< 0 >::EntityPointer EntityPointer
 
typedef GridImp::template Codim< 0 >::Entity Entity
 
typedef GridImp::template Codim< 0 >::EntitySeed EntitySeed
 
typedef GridImp::LevelIntersectionIterator IntersectionIterator
 
typedef GridImp::LevelIntersectionIterator LevelIntersectionIterator
 
typedef GridImp::LeafIntersectionIterator LeafIntersectionIterator
 
typedef GridImp::HierarchicIterator HierarchicIterator
 
typedef GridImp::PersistentIndexType PersistentIndexType
 define the type used for persisitent indices More...
 
typedef GridImp::YGrid::iTupel iTupel
 define type used for coordinates in grid module More...
 
enum  
 know your own codimension More...
 
enum  
 Dimension of the grid. More...
 
enum  
 Know dimension of the entity. More...
 

Public Member Functions

 YaspEntity ()
 
 YaspEntity (const YGLI &g, const I &it)
 
 YaspEntity (const YGLI &g, I &&it)
 
bool equals (const YaspEntity &e) const
 Return true when two iterators over the same grid are equal (!). More...
 
int level () const
 level of this element More...
 
EntitySeed seed () const
 Return the entity seed which contains sufficient information to generate the entity again and uses as little memory as possible. More...
 
PartitionType partitionType () const
 return partition type attribute More...
 
Geometry geometry () const
 geometry of this entity More...
 
template<int cc>
int count () const
 
unsigned int subEntities (unsigned int codim) const
 
template<int cc>
Codim< cc >::Entity subEntity (int i) const
 
Entity father () const
 Inter-level access to father element on coarser grid. Assumes that meshes are nested. More...
 
bool hasFather () const
 returns true if father entity exists More...
 
LocalGeometry geometryInFather () const
 
const Itransformingsubiterator () const
 
const YGLIgridlevel () const
 
Itransformingsubiterator ()
 
YGLIgridlevel ()
 
const GridImp * yaspgrid () const
 
bool isLeaf () const
 
bool isNew () const
 Returns true, if the entity has been created during the last call to adapt() More...
 
bool mightVanish () const
 Returns true, if entity might disappear during the next call to adapt() More...
 
IntersectionIterator ibegin () const
 returns intersection iterator for first intersection More...
 
LeafIntersectionIterator ileafbegin () const
 returns intersection iterator for first intersection More...
 
LevelIntersectionIterator ilevelbegin () const
 returns intersection iterator for first intersection More...
 
IntersectionIterator iend () const
 Reference to one past the last neighbor. More...
 
LeafIntersectionIterator ileafend () const
 Reference to one past the last neighbor. More...
 
LevelIntersectionIterator ilevelend () const
 Reference to one past the last neighbor. More...
 
HierarchicIterator hbegin (int maxlevel) const
 
HierarchicIterator hend (int maxlevel) const
 Returns iterator to one past the last son. More...
 
GeometryType type () const
 Return the name of the reference element. The type can be used to access the Dune::ReferenceElement. More...
 

Member Typedef Documentation

template<int dim, class GridImp >
typedef GridImp::ctype Dune::YaspEntity< 0, dim, GridImp >::ctype
template<int dim, class GridImp >
typedef GridImp::template Codim<0>::Entity Dune::YaspEntity< 0, dim, GridImp >::Entity
template<int dim, class GridImp >
typedef GridImp::template Codim<0>::EntityPointer Dune::YaspEntity< 0, dim, GridImp >::EntityPointer
template<int dim, class GridImp >
typedef GridImp::template Codim<0>::EntitySeed Dune::YaspEntity< 0, dim, GridImp >::EntitySeed
template<int dim, class GridImp >
typedef GridImp::template Codim< 0 >::Geometry Dune::YaspEntity< 0, dim, GridImp >::Geometry
template<int dim, class GridImp >
typedef GridImp::HierarchicIterator Dune::YaspEntity< 0, dim, GridImp >::HierarchicIterator
template<int dim, class GridImp >
typedef GridImp::YGrid::Iterator Dune::YaspEntity< 0, dim, GridImp >::I
template<int dim, class GridImp >
typedef GridImp::LevelIntersectionIterator Dune::YaspEntity< 0, dim, GridImp >::IntersectionIterator
template<int dim, class GridImp >
typedef GridImp::YGrid::iTupel Dune::YaspEntity< 0, dim, GridImp >::iTupel

define type used for coordinates in grid module

template<int dim, class GridImp >
typedef GridImp::LeafIntersectionIterator Dune::YaspEntity< 0, dim, GridImp >::LeafIntersectionIterator
template<int dim, class GridImp >
typedef GridImp::LevelIntersectionIterator Dune::YaspEntity< 0, dim, GridImp >::LevelIntersectionIterator
template<int dim, class GridImp >
typedef GridImp::template Codim< 0 >::LocalGeometry Dune::YaspEntity< 0, dim, GridImp >::LocalGeometry
template<int dim, class GridImp >
typedef GridImp::PersistentIndexType Dune::YaspEntity< 0, dim, GridImp >::PersistentIndexType

define the type used for persisitent indices

template<int dim, class GridImp >
typedef GridImp::YGridLevelIterator Dune::YaspEntity< 0, dim, GridImp >::YGLI

Member Enumeration Documentation

anonymous enum
inherited

know your own codimension

anonymous enum
inherited

Dimension of the grid.

anonymous enum
inherited

Know dimension of the entity.

Constructor & Destructor Documentation

template<int dim, class GridImp >
Dune::YaspEntity< 0, dim, GridImp >::YaspEntity ( )
inline
template<int dim, class GridImp >
Dune::YaspEntity< 0, dim, GridImp >::YaspEntity ( const YGLI g,
const I it 
)
inline
template<int dim, class GridImp >
Dune::YaspEntity< 0, dim, GridImp >::YaspEntity ( const YGLI g,
I &&  it 
)
inline

References move.

Member Function Documentation

template<int dim, class GridImp >
template<int cc>
int Dune::YaspEntity< 0, dim, GridImp >::count ( ) const
inline

Return number of subentities with codimension cc.

That number is (dim over (dim-codim)) times 2^codim

template<int dim, class GridImp >
bool Dune::YaspEntity< 0, dim, GridImp >::equals ( const YaspEntity< 0, dim, GridImp > &  e) const
inline

Return true when two iterators over the same grid are equal (!).

template<int dim, class GridImp >
Entity Dune::YaspEntity< 0, dim, GridImp >::father ( ) const
inline

Inter-level access to father element on coarser grid. Assumes that meshes are nested.

template<int dim, class GridImp >
Geometry Dune::YaspEntity< 0, dim, GridImp >::geometry ( ) const
inline

geometry of this entity

template<int dim, class GridImp >
LocalGeometry Dune::YaspEntity< 0, dim, GridImp >::geometryInFather ( ) const
inline

Location of this element relative to the reference element of its father

template<int dim, class GridImp >
const YGLI& Dune::YaspEntity< 0, dim, GridImp >::gridlevel ( ) const
inline
template<int dim, class GridImp >
YGLI& Dune::YaspEntity< 0, dim, GridImp >::gridlevel ( )
inline
template<int dim, class GridImp >
bool Dune::YaspEntity< 0, dim, GridImp >::hasFather ( ) const
inline

returns true if father entity exists

template<int dim, class GridImp >
HierarchicIterator Dune::YaspEntity< 0, dim, GridImp >::hbegin ( int  maxlevel) const
inline

Inter-level access to son elements on higher levels<=maxlevel. This is provided for sparsely stored nested unstructured meshes. Returns iterator to first son.

template<int dim, class GridImp >
HierarchicIterator Dune::YaspEntity< 0, dim, GridImp >::hend ( int  maxlevel) const
inline

Returns iterator to one past the last son.

References Dune::YaspEntityPointer< 0, GridImp >::level().

template<int dim, class GridImp >
IntersectionIterator Dune::YaspEntity< 0, dim, GridImp >::ibegin ( ) const
inline

returns intersection iterator for first intersection

template<int dim, class GridImp >
IntersectionIterator Dune::YaspEntity< 0, dim, GridImp >::iend ( ) const
inline

Reference to one past the last neighbor.

template<int dim, class GridImp >
LeafIntersectionIterator Dune::YaspEntity< 0, dim, GridImp >::ileafbegin ( ) const
inline

returns intersection iterator for first intersection

template<int dim, class GridImp >
LeafIntersectionIterator Dune::YaspEntity< 0, dim, GridImp >::ileafend ( ) const
inline

Reference to one past the last neighbor.

template<int dim, class GridImp >
LevelIntersectionIterator Dune::YaspEntity< 0, dim, GridImp >::ilevelbegin ( ) const
inline

returns intersection iterator for first intersection

template<int dim, class GridImp >
LevelIntersectionIterator Dune::YaspEntity< 0, dim, GridImp >::ilevelend ( ) const
inline

Reference to one past the last neighbor.

template<int dim, class GridImp >
bool Dune::YaspEntity< 0, dim, GridImp >::isLeaf ( ) const
inline
template<int dim, class GridImp >
bool Dune::YaspEntity< 0, dim, GridImp >::isNew ( ) const
inline

Returns true, if the entity has been created during the last call to adapt()

template<int dim, class GridImp >
int Dune::YaspEntity< 0, dim, GridImp >::level ( ) const
inline

level of this element

template<int dim, class GridImp >
bool Dune::YaspEntity< 0, dim, GridImp >::mightVanish ( ) const
inline

Returns true, if entity might disappear during the next call to adapt()

template<int dim, class GridImp >
PartitionType Dune::YaspEntity< 0, dim, GridImp >::partitionType ( ) const
inline

return partition type attribute

References Dune::GhostEntity, Dune::InteriorEntity, and Dune::OverlapEntity.

template<int dim, class GridImp >
EntitySeed Dune::YaspEntity< 0, dim, GridImp >::seed ( ) const
inline

Return the entity seed which contains sufficient information to generate the entity again and uses as little memory as possible.

template<int dim, class GridImp >
unsigned int Dune::YaspEntity< 0, dim, GridImp >::subEntities ( unsigned int  codim) const
inline

Return number of subentities with codimension cc.

That number is (dim over (dim-codim)) times 2^codim

template<int dim, class GridImp >
template<int cc>
Codim<cc>::Entity Dune::YaspEntity< 0, dim, GridImp >::subEntity ( int  i) const
inline

Intra-element access to subentities of codimension cc > codim.

References move.

template<int dim, class GridImp >
const I& Dune::YaspEntity< 0, dim, GridImp >::transformingsubiterator ( ) const
inline
template<int dim, class GridImp >
I& Dune::YaspEntity< 0, dim, GridImp >::transformingsubiterator ( )
inline
GeometryType Dune::EntityDefaultImplementation< cd, dim, GridImp, YaspEntity >::type ( ) const
inlineinherited

Return the name of the reference element. The type can be used to access the Dune::ReferenceElement.

template<int dim, class GridImp >
const GridImp* Dune::YaspEntity< 0, dim, GridImp >::yaspgrid ( ) const
inline

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