Dune Core Modules (2.3.1)

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

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

Public Types

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
 
enum  
 Dimension of the grid.
 
enum  
 Know dimension of the entity.
 
typedef GridImp::ctype ctype DUNE_DEPRECATED_MSG("Use Geometry::ctype instead!")
 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 More...
 
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 FactoryType & factory () const
 return reference to factory
 
ElementType & getItem () const
 return reference to current item
 
EntitySeed seed () const
 return seed of entity
 
int getIndex () const
 index is unique within the grid hierachie and per codim
 

Static Public Member Functions

static const int DUNE_DEPRECATED_MSG ("Use Geometry::coorddimension instead!") dimensionworld
 know your own dimension of world
 

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 Function Documentation

◆ ownersFather()

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.

◆ partitionType()

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.

◆ setElement()

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


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 12, 23:30, 2024)