dune-grid  2.1.1
Public Types | Public Member Functions
Dune::EntityDefaultImplementation< 0, dim, GridImp, EntityImp > Class Template Reference

Default Implementations for EntityImp (Elements [cd=0]) More...

#include <dune/grid/common/entity.hh>

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

List of all members.

Public Types

enum  { codimension = 0 }
 know your own codimension More...
enum  { dimension = dim }
 know your own dimension More...
enum  { mydimension = dim }
 Know dimension of the entity. More...
enum  { dimensionworld = GridImp::dimensionworld }
 know your own dimension of world More...
typedef GridImp::ctype ctype
 define type used for coordinates in grid module
typedef GridImp::template
Codim< 0 >::EntitySeed 
EntitySeed
 The corresponding entity seed (for storage of entities)
typedef GridImp::template
Codim< 0 >::EntityPointer 
EntityPointer
 The corresponding entity seed (for storage of entities)
enum  { codimension = cd }
 know your own codimension More...
enum  { dimension = dim }
 know your own dimension More...
enum  { mydimension = dim-cd }
 Know dimension of the entity. More...
enum  { dimensionworld = GridImp::dimensionworld }
 know your own dimension of world More...

Public Member Functions

bool isRegular () const
 Returns true if element is of regular type in red/green type refinement. In bisection or hanging node refinement this is always true.
GeometryType type () const
 Return the name of the reference element. The type can be used to access the Dune::GenericReferenceElement.
EntitySeed seed () const
bool isNew () const
 Returns true, if the entity has been created during the last call to adapt()
bool mightVanish () const
 Returns true, if entity might disappear during the next call to adapt()
bool hasBoundaryIntersections () const
 Returns true, if entity has intersections with boundary, this implementation uses the Level- and LeafIntersectionIterator to check for boundary intersections.

Detailed Description

template<int dim, class GridImp, template< int, int, class > class EntityImp>
class Dune::EntityDefaultImplementation< 0, dim, GridImp, EntityImp >

Default Implementations for EntityImp (Elements [cd=0])

EntityDefaultImplementation provides default implementations for Entity which uses the implemented interface which has to be done by the user.

<int cd, int dim, class GridImp, template<int,int,class> class EntityImp>


Member Typedef Documentation

template<int dim, class GridImp , template< int, int, class > class EntityImp>
typedef GridImp::ctype Dune::EntityDefaultImplementation< 0, dim, GridImp, EntityImp >::ctype

define type used for coordinates in grid module

Reimplemented from Dune::EntityDefaultImplementation< cd, dim, GridImp, EntityImp >.

template<int dim, class GridImp , template< int, int, class > class EntityImp>
typedef GridImp::template Codim<0>::EntityPointer Dune::EntityDefaultImplementation< 0, dim, GridImp, EntityImp >::EntityPointer

The corresponding entity seed (for storage of entities)

Reimplemented from Dune::EntityDefaultImplementation< cd, dim, GridImp, EntityImp >.

template<int dim, class GridImp , template< int, int, class > class EntityImp>
typedef GridImp::template Codim<0>::EntitySeed Dune::EntityDefaultImplementation< 0, dim, GridImp, EntityImp >::EntitySeed

The corresponding entity seed (for storage of entities)

Reimplemented from Dune::EntityDefaultImplementation< cd, dim, GridImp, EntityImp >.


Member Enumeration Documentation

template<int cd, int dim, class GridImp, template< int, int, class > class EntityImp>
anonymous enum [inherited]

know your own codimension

Enumerator:
codimension 
template<int cd, int dim, class GridImp, template< int, int, class > class EntityImp>
anonymous enum [inherited]

know your own dimension

Enumerator:
dimension 
template<int cd, int dim, class GridImp, template< int, int, class > class EntityImp>
anonymous enum [inherited]

Know dimension of the entity.

Enumerator:
mydimension 
template<int cd, int dim, class GridImp, template< int, int, class > class EntityImp>
anonymous enum [inherited]

know your own dimension of world

Enumerator:
dimensionworld 
template<int dim, class GridImp , template< int, int, class > class EntityImp>
anonymous enum

know your own codimension

Enumerator:
codimension 
template<int dim, class GridImp , template< int, int, class > class EntityImp>
anonymous enum

know your own dimension

Enumerator:
dimension 
template<int dim, class GridImp , template< int, int, class > class EntityImp>
anonymous enum

Know dimension of the entity.

Enumerator:
mydimension 
template<int dim, class GridImp , template< int, int, class > class EntityImp>
anonymous enum

know your own dimension of world

Enumerator:
dimensionworld 

Member Function Documentation

template<int dim, class GridImp , template< int, int, class > class EntityImp>
bool Dune::EntityDefaultImplementation< 0, dim, GridImp, EntityImp >::hasBoundaryIntersections ( ) const [inline]

Returns true, if entity has intersections with boundary, this implementation uses the Level- and LeafIntersectionIterator to check for boundary intersections.

template<int dim, class GridImp , template< int, int, class > class EntityImp>
bool Dune::EntityDefaultImplementation< 0, dim, GridImp, EntityImp >::isNew ( ) const [inline]

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

template<int dim, class GridImp , template< int, int, class > class EntityImp>
bool Dune::EntityDefaultImplementation< 0, dim, GridImp, EntityImp >::isRegular ( ) const [inline]

Returns true if element is of regular type in red/green type refinement. In bisection or hanging node refinement this is always true.

template<int dim, class GridImp , template< int, int, class > class EntityImp>
bool Dune::EntityDefaultImplementation< 0, dim, GridImp, EntityImp >::mightVanish ( ) const [inline]

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

template<int dim, class GridImp , template< int, int, class > class EntityImp>
EntitySeed Dune::EntityDefaultImplementation< 0, dim, GridImp, EntityImp >::seed ( ) const [inline]
Deprecated:
Implement this method in each grid, default implementation of method seed (only when seed == entity pointer)
Deprecated:

Reimplemented from Dune::EntityDefaultImplementation< cd, dim, GridImp, EntityImp >.

template<int dim, class GridImp , template< int, int, class > class EntityImp>
GeometryType Dune::EntityDefaultImplementation< 0, dim, GridImp, EntityImp >::type ( ) const [inline]

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

Reimplemented from Dune::EntityDefaultImplementation< cd, dim, GridImp, EntityImp >.


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