Dune::ALU2dGridEntity< cd, dim, GridImp > Class Template Reference

#include <entity.hh>

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

Dune::EntityDefaultImplementation< cd, dim, GridImp, EntityImp > List of all members.

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


Public Types

typedef GridImp::template
Codim< cd >::Entity 
Entity
 type of our interface entity
typedef GridImp::template
Codim< cd >::Geometry 
Geometry
 tpye of corresponding interface geometry
typedef MakeableInterfaceObject<
Geometry
GeometryObj
 type of geometry implementation
typedef GridImp::template
Codim< 0 >::EntityPointer 
EntityPointer
 tpye of EntityPointer
enum  
 know your own codimension
enum  
 know your own dimension
enum  
 Know dimension of the entity.
enum  
 know your own dimension of world
typedef ct ctype
 define type used for coordinates in grid module

Public Member Functions

int level () const
 level of this element
 ALU2dGridEntity (const GridImp &grid, int level)
 Constructor.
 ALU2dGridEntity (const ALU2dGridEntity &org)
 Copy Constructor.
const Geometrygeometry () const
 geometry of this entity
void removeElement ()
 set item pointer to NULL
void setElement (const ElementType &element, int face=-1, int level=-1) const
 set element as normal entity
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
GeometryType type () const
 Return the name of the reference element. The type can be used to access the Dune::ReferenceElement.

Member Function Documentation

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

set element as normal entity

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

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

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.


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

Generated on 12 Dec 2007 with Doxygen (ver 1.5.1)