BEM++  2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Types | Public Member Functions | List of all members
Bempp::Entity< codim > Class Template Referenceabstract

Abstract wrapper of an entity of codimension codim. More...

#include </home/wojtek/Projects/BEM/bempp-sven/bempp/lib/grid/entity.hpp>

Inheritance diagram for Bempp::Entity< codim >:
Bempp::ConcreteEntity< codim, DuneEntity > Bempp::ConcreteEntity< Bempp::ConcreteEntityPointer::codimension, DuneEntity > Bempp::ConcreteEntity< Bempp::ConcreteRangeEntityIterator::codimension, typename DuneEntityIt::Bempp::Entity > Bempp::ConcreteEntity< Bempp::ConcreteSubentityIterator::codimension, DuneSubentity >

Public Types

enum  { codimension = codim }
 Entity codimension.
 

Public Member Functions

virtual ~Entity ()
 Destructor.
 
virtual size_t level () const =0
 Entity level.
 
virtual const Geometrygeometry () const =0
 Reference to the geometry of this entity. More...
 
virtual GeometryType type () const =0
 Type of the reference element. More...
 

Detailed Description

template<int codim>
class Bempp::Entity< codim >

Abstract wrapper of an entity of codimension codim.

Member Function Documentation

template<int codim>
virtual const Geometry& Bempp::Entity< codim >::geometry ( ) const
pure virtual

Reference to the geometry of this entity.

This object gives, among other things, the map from a reference element to world coordinates.

Note
Be careful when storing such references. If the state of any object is changed, e.g. an iterator is advanced, there is no guarantee that the reference remains valid.

Implemented in Bempp::ConcreteEntity< codim, DuneEntity >, Bempp::ConcreteEntity< Bempp::ConcreteSubentityIterator::codimension, DuneSubentity >, Bempp::ConcreteEntity< Bempp::ConcreteRangeEntityIterator::codimension, typename DuneEntityIt::Bempp::Entity >, and Bempp::ConcreteEntity< Bempp::ConcreteEntityPointer::codimension, DuneEntity >.

Referenced by Bempp::ElementaryPotentialOperator< BasisFunctionType_, KernelType_, ResultType_ >::evaluateOnGrid().

template<int codim>
virtual GeometryType Bempp::Entity< codim >::type ( ) const
pure virtual

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