dune-grid  2.3.1
Public Types | Public Member Functions | Static Public Attributes | List of all members
Dune::EntityDefaultImplementation< cd, dim, GridImp, EntityImp > Class Template Reference

Default Implementations for EntityImp. More...

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

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

Public Types

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

Public Member Functions

GeometryType type () const
 Return the name of the reference element. The type can be used to access the Dune::ReferenceElement. More...
 

Static Public Attributes

static const int dimensionworld =GridImp::dimensionworld
 know your own dimension of world More...
 

Detailed Description

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

Default Implementations for EntityImp.

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

Note
this is the general version, but there is a specialization for cd=0

Member Typedef Documentation

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

define type used for coordinates in grid module

Deprecated:
"Use Geometry::ctype instead!"
template<int cd, int dim, class GridImp, template< int, int, class > class EntityImp>
typedef GridImp::template Codim<cd>::EntityPointer Dune::EntityDefaultImplementation< cd, dim, GridImp, EntityImp >::EntityPointer

The corresponding entity seed (for storage of entities)

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

The corresponding entity seed (for storage of entities)

Member Enumeration Documentation

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

know your own codimension

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

Dimension of the grid.

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

Know dimension of the entity.

Enumerator
mydimension 

Member Function Documentation

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

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

Member Data Documentation

template<int cd, int dim, class GridImp, template< int, int, class > class EntityImp>
const int Dune::EntityDefaultImplementation< cd, dim, GridImp, EntityImp >::dimensionworld =GridImp::dimensionworld
static

know your own dimension of world

Deprecated:
"Use Geometry::coorddimension instead!"

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