dune-grid  2.2.0
Public Types | Public Member Functions | Friends
Dune::ALU2dGridEntity< cd, dim, GridImp > Class Template Reference

#include <dune/grid/alugrid/2d/entity.hh>

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

List of all members.

Public Types

typedef
GridImp::GridObjectFactoryType 
FactoryType
typedef Dune::ALU2dImplTraits
< dimworld, eltype >::template
Codim< cd >::InterfaceType 
ElementType
typedef Dune::ALU2dImplTraits
< dimworld, eltype >::template
Codim< 2 >::InterfaceType 
VertexType
typedef GridImp::template
Codim< cd >::Entity 
Entity
 type of our interface entity
typedef GridImp::template
Codim< cd >::Geometry 
Geometry
 type of corresponding interface geometry
typedef GridImp::template
Codim< cd >::EntitySeed 
EntitySeed
 typedef of my type
typedef GridImp::template
Codim< 0 >::EntityPointer 
EntityPointer
 tpye of EntityPointer
enum  
 know your own codimension More...
enum  
 know your own dimension More...
enum  
 Know dimension of the entity. More...
enum  
 know your own dimension of world More...
typedef GridImp::ctype ctype
 define type used for coordinates in grid module

Public Member Functions

int level () const
 level of this element
 ALU2dGridEntity (const FactoryType &factory, int level)
 Constructor.
 ALU2dGridEntity (const ALU2dGridEntity &org)
 Copy Constructor.
Geometry geometry () const
 geometry of this entity
GeometryType type () const
 return type of geometry
void removeElement ()
 set item pointer to NULL
void setElement (const ElementType &element, int face=-1, int level=-1) const
 set element as normal entity
void setElement (const EntitySeed &seed) const
void setElement (const HElementType &el, const VertexType &vx)
void setElement (const ALU2dGridEntity &org) const
bool equals (const ALU2dGridEntity< cd, dim, GridImp > &org) const
 compare 2 elements
PartitionType partitionType () const
int boundaryId () const
 Id of the boundary which is associated with the entity, returns 0 for inner entities, arbitrary int otherwise.
EntityPointer ownersFather () const
FieldVector< alu2d_ctype, dim > & positionInOwnersFather () const
 my position in local coordinates of the owners father
const GridImp & grid () const
 return reference to grid
const FactoryTypefactory () const
 return reference to factory
ElementTypegetItem () const
 return reference to current item
EntitySeed seed () const
 return seed of entity
int getFace () const
int getIndex () const
 index is unique within the grid hierachie and per codim

Friends

class ALU2dGrid< dim, dimworld, eltype >
class ALU2dGridIntersectionIterator< GridImp >
class ALU2dGridIntersectionIterator< const GridImp >
class ALU2dGridLevelIntersectionIterator< GridImp >
class ALU2dGridLevelIntersectionIterator< const GridImp >
class ALU2dGridLeafIntersectionIterator< GridImp >
class ALU2dGridLeafIntersectionIterator< const GridImp >
class ALU2dGridHierarchicIterator< const GridImp >
class ALU2dGridHierarchicIterator< GridImp >
class ALU2dGridLevelIterator< 0, All_Partition, GridImp >
class ALU2dGridLevelIterator< 1, All_Partition, GridImp >
class ALU2dGridLevelIterator< 2, All_Partition, GridImp >
class ALU2dGridLeafIterator< 0, All_Partition, GridImp >
class ALU2dGridLeafIterator< 1, All_Partition, GridImp >
class ALU2dGridLeafIterator< 2, All_Partition, GridImp >
class ALU2dGridMakeableEntity< 0, dim, GridImp >
class ALU2dGridHierarchicIndexSet< dim, dimworld, eltype >

Detailed Description

template<int cd, int dim, class GridImp>
class Dune::ALU2dGridEntity< cd, dim, GridImp >

A Grid is a container of grid entities. An entity is parametrized by the codimension. An entity of codimension c in dimension d is a d-c dimensional object.

Here: the general template


Member Typedef Documentation

typedef GridImp::ctype Dune::EntityDefaultImplementation< cd, dim, GridImp, ALU2dGridEntity >::ctype [inherited]

define type used for coordinates in grid module

template<int cd, int dim, class GridImp>
typedef Dune::ALU2dImplTraits< dimworld, eltype >::template Codim<cd>::InterfaceType Dune::ALU2dGridEntity< cd, dim, GridImp >::ElementType
template<int cd, int dim, class GridImp>
typedef GridImp::template Codim<cd>::Entity Dune::ALU2dGridEntity< cd, dim, GridImp >::Entity

type of our interface entity

template<int cd, int dim, class GridImp>
typedef GridImp::template Codim<0>::EntityPointer Dune::ALU2dGridEntity< cd, dim, GridImp >::EntityPointer
template<int cd, int dim, class GridImp>
typedef GridImp::template Codim<cd>::EntitySeed Dune::ALU2dGridEntity< cd, dim, GridImp >::EntitySeed
template<int cd, int dim, class GridImp>
typedef GridImp :: GridObjectFactoryType Dune::ALU2dGridEntity< cd, dim, GridImp >::FactoryType
template<int cd, int dim, class GridImp>
typedef GridImp::template Codim<cd>::Geometry Dune::ALU2dGridEntity< cd, dim, GridImp >::Geometry

type of corresponding interface geometry

template<int cd, int dim, class GridImp>
typedef Dune::ALU2dImplTraits< dimworld, eltype >::template Codim<2>::InterfaceType Dune::ALU2dGridEntity< cd, dim, GridImp >::VertexType

Member Enumeration Documentation

anonymous enum [inherited]

know your own codimension

anonymous enum [inherited]

know your own dimension

anonymous enum [inherited]

Know dimension of the entity.

anonymous enum [inherited]

know your own dimension of world


Constructor & Destructor Documentation

template<int cd, int dim, class GridImp>
Dune::ALU2dGridEntity< cd, dim, GridImp >::ALU2dGridEntity ( const FactoryType factory,
int  level 
)

Constructor.

template<int cd, int dim, class GridImp>
Dune::ALU2dGridEntity< cd, dim, GridImp >::ALU2dGridEntity ( const ALU2dGridEntity< cd, dim, GridImp > &  org)

Copy Constructor.


Member Function Documentation

template<int cd, int dim, class GridImp>
int Dune::ALU2dGridEntity< cd, dim, GridImp >::boundaryId ( ) const

Id of the boundary which is associated with the entity, returns 0 for inner entities, arbitrary int otherwise.

template<int cd, int dim, class GridImp>
bool Dune::ALU2dGridEntity< cd, dim, GridImp >::equals ( const ALU2dGridEntity< cd, dim, GridImp > &  org) const

compare 2 elements

template<int cd, int dim, class GridImp>
const FactoryType& Dune::ALU2dGridEntity< cd, dim, GridImp >::factory ( ) const [inline]
template<int cd, int dim, class GridImp>
Geometry Dune::ALU2dGridEntity< cd, dim, GridImp >::geometry ( ) const

geometry of this entity

template<int cd, int dim, class GridImp>
int Dune::ALU2dGridEntity< cd, dim, GridImp >::getFace ( ) const [inline]
template<int cd, int dim, class GridImp>
int Dune::ALU2dGridEntity< cd, dim, GridImp >::getIndex ( ) const

index is unique within the grid hierachie and per codim

template<int cd, int dim, class GridImp>
ElementType& Dune::ALU2dGridEntity< cd, dim, GridImp >::getItem ( ) const [inline]
template<int cd, int dim, class GridImp>
const GridImp& Dune::ALU2dGridEntity< cd, dim, GridImp >::grid ( ) const [inline]

return reference to grid

Referenced by Dune::ALU2dGridEntity< 0, dim, GridImp >::partitionType().

template<int cd, int dim, class GridImp>
int Dune::ALU2dGridEntity< cd, dim, GridImp >::level ( ) const
template<int cd, int dim, class GridImp>
EntityPointer Dune::ALU2dGridEntity< cd, dim, GridImp >::ownersFather ( ) const

Location of this vertex within a mesh entity of codimension 0 on the coarse grid. This can speed up on-the-fly interpolation for linear conforming elements Possibly this is sufficient for all applications we want on-the-fly.

template<int cd, int dim, class GridImp>
PartitionType Dune::ALU2dGridEntity< cd, dim, GridImp >::partitionType ( ) const [inline]

return partition type of this entity ( see grid.hh ) dummy implementation return InteriorEntity

References Dune::InteriorEntity.

template<int cd, int dim, class GridImp>
FieldVector<alu2d_ctype, dim>& Dune::ALU2dGridEntity< cd, dim, GridImp >::positionInOwnersFather ( ) const

my position in local coordinates of the owners father

template<int cd, int dim, class GridImp>
void Dune::ALU2dGridEntity< cd, dim, GridImp >::removeElement ( )

set item pointer to NULL

template<int cd, int dim, class GridImp>
EntitySeed Dune::ALU2dGridEntity< cd, dim, GridImp >::seed ( ) const [inline]
template<int cd, int dim, class GridImp>
void Dune::ALU2dGridEntity< cd, dim, GridImp >::setElement ( const ElementType element,
int  face = -1,
int  level = -1 
) const

set element as normal entity

private methods, but public because of datahandle and template arguments of these methods

Referenced by Dune::ALU2dGridEntity< cd, dim, GridImp >::setElement(), and Dune::ALU2dGridEntity< 0, dim, GridImp >::setElement().

template<int cd, int dim, class GridImp>
void Dune::ALU2dGridEntity< cd, dim, GridImp >::setElement ( const EntitySeed seed) const
template<int cd, int dim, class GridImp>
void Dune::ALU2dGridEntity< cd, dim, GridImp >::setElement ( const HElementType &  el,
const VertexType vx 
)
template<int cd, int dim, class GridImp>
void Dune::ALU2dGridEntity< cd, dim, GridImp >::setElement ( const ALU2dGridEntity< cd, dim, GridImp > &  org) const [inline]
template<int cd, int dim, class GridImp>
GeometryType Dune::ALU2dGridEntity< cd, dim, GridImp >::type ( ) const

Friends And Related Function Documentation

template<int cd, int dim, class GridImp>
friend class ALU2dGrid< dim, dimworld, eltype > [friend]
template<int cd, int dim, class GridImp>
friend class ALU2dGridHierarchicIndexSet< dim, dimworld, eltype > [friend]
template<int cd, int dim, class GridImp>
friend class ALU2dGridHierarchicIterator< const GridImp > [friend]
template<int cd, int dim, class GridImp>
friend class ALU2dGridHierarchicIterator< GridImp > [friend]
template<int cd, int dim, class GridImp>
friend class ALU2dGridIntersectionIterator< const GridImp > [friend]
template<int cd, int dim, class GridImp>
friend class ALU2dGridIntersectionIterator< GridImp > [friend]
template<int cd, int dim, class GridImp>
friend class ALU2dGridLeafIntersectionIterator< const GridImp > [friend]
template<int cd, int dim, class GridImp>
friend class ALU2dGridLeafIntersectionIterator< GridImp > [friend]
template<int cd, int dim, class GridImp>
friend class ALU2dGridLeafIterator< 0, All_Partition, GridImp > [friend]
template<int cd, int dim, class GridImp>
friend class ALU2dGridLeafIterator< 1, All_Partition, GridImp > [friend]
template<int cd, int dim, class GridImp>
friend class ALU2dGridLeafIterator< 2, All_Partition, GridImp > [friend]
template<int cd, int dim, class GridImp>
friend class ALU2dGridLevelIntersectionIterator< const GridImp > [friend]
template<int cd, int dim, class GridImp>
friend class ALU2dGridLevelIntersectionIterator< GridImp > [friend]
template<int cd, int dim, class GridImp>
friend class ALU2dGridLevelIterator< 0, All_Partition, GridImp > [friend]
template<int cd, int dim, class GridImp>
friend class ALU2dGridLevelIterator< 1, All_Partition, GridImp > [friend]
template<int cd, int dim, class GridImp>
friend class ALU2dGridLevelIterator< 2, All_Partition, GridImp > [friend]
template<int cd, int dim, class GridImp>
friend class ALU2dGridMakeableEntity< 0, dim, GridImp > [friend]

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