|
BEM++
2.0
|
Wrapper of a Dune entity of type DuneEntity and codimension 0.
More...
#include </home/wojtek/Projects/BEM/bempp-sven/bempp/lib/grid/concrete_entity_decl.hpp>
Public Member Functions | |
| ConcreteEntity (const DomainIndex &domain_index) | |
| Constructor of an empty entity. | |
| ConcreteEntity (const DuneEntity *dune_entity, const DomainIndex &domain_index) | |
| Constructor from a pointer to DuneEntity. More... | |
| const DuneEntity & | duneEntity () const |
| Read-only access to the underlying Dune entity object. | |
| virtual size_t | level () const |
| Entity level | |
| virtual const Geometry & | geometry () const |
| Reference to the geometry of this entity. More... | |
| virtual GeometryType | type () const |
| Type of the reference element. More... | |
| virtual std::auto_ptr < EntityPointer< 0 > > | father () const |
| Inter-level access to father entity on the next-coarser grid. More... | |
| virtual bool | hasFather () const |
| True if entity has a father entity which can be accessed using the father() method. | |
| virtual bool | isLeaf () const |
| True if the entity is contained in the leaf grid. | |
| virtual bool | isRegular () const |
| True if the element is of regular type in red/green type refinement. More... | |
| virtual std::auto_ptr < EntityIterator< 0 > > | sonIterator (int maxlevel) const |
| Inter-level access to elements that resulted from (recursive) subdivision of this element. More... | |
| virtual bool | isNew () const |
| True if the entity has been created during the last call to adapt(). | |
| virtual bool | mightVanish () const |
| True if the entity might disappear during the next call to adapt(). More... | |
| virtual int | domain () const |
| Entity level | |
Public Member Functions inherited from Bempp::Entity< 0 > | |
| virtual | ~Entity () |
| Destructor. | |
| template<int codimSub> | |
| size_t | subEntityCount () const |
Number of subentities of codimension codimSub. | |
| template<int codimSub> | |
| std::auto_ptr< EntityIterator < codimSub > > | subEntityIterator () const |
Iterator over subentities of codimension codimSub. More... | |
| template<> | |
| std::auto_ptr< EntityIterator< 1 > > | subEntityIterator () const |
| template<> | |
| std::auto_ptr< EntityIterator< 2 > > | subEntityIterator () const |
| template<> | |
| std::auto_ptr< EntityIterator< 3 > > | subEntityIterator () const |
| template<> | |
| size_t | subEntityCount () const |
Private Member Functions | |
| dune_static_assert ((int) DuneEntity::codimension==(int) codimension,"ConcreteEntity: codimension mismatch") | |
| void | setDuneEntity (const DuneEntity *dune_entity) |
|
virtual std::auto_ptr < EntityIterator< 1 > > | subEntityCodim1Iterator () const |
| Iterator over subentities of codimension 1. | |
|
virtual std::auto_ptr < EntityIterator< 2 > > | subEntityCodim2Iterator () const |
| Iterator over subentities of codimension 2. | |
|
virtual std::auto_ptr < EntityIterator< 3 > > | subEntityCodim3Iterator () const |
| Iterator over subentities of codimension 3. | |
| template<int codimSub> | |
| boost::disable_if_c<(codimSub <=DuneEntity::dimension), std::auto_ptr< EntityIterator < codimSub > > >::type | subEntityCodimNIterator () const |
| template<int codimSub> | |
| boost::enable_if_c<(codimSub <=DuneEntity::dimension), std::auto_ptr< EntityIterator < codimSub > > >::type | subEntityCodimNIterator () const |
| virtual size_t | subEntityCodim1Count () const |
| Number of subentities of codimension 1. | |
| virtual size_t | subEntityCodim2Count () const |
| Number of subentities of codimension 1. | |
| virtual size_t | subEntityCodim3Count () const |
| Number of subentities of codimension 1. | |
Private Attributes | |
| const DuneEntity * | m_dune_entity |
| const DomainIndex & | m_domain_index |
|
ConcreteGeometry< typename DuneEntity::Geometry > | m_geometry |
Friends | |
| template<typename > | |
| class | ConcreteEntityPointer |
| template<typename , typename > | |
| class | ConcreteRangeEntityIterator |
| template<typename , int > | |
| class | ConcreteSubentityIterator |
Additional Inherited Members | |
Public Types inherited from Bempp::Entity< 0 > | |
| enum | { codimension = 0 } |
| Entity codimension. | |
Wrapper of a Dune entity of type DuneEntity and codimension 0.
|
inline |
Constructor from a pointer to DuneEntity.
*dune_entity.
|
virtual |
Inter-level access to father entity on the next-coarser grid.
The given entity resulted directly from a subdivision of its father entity. For macro (level-0) elements a null auto_ptr is returned.
Implements Bempp::Entity< 0 >.
|
inlinevirtual |
Reference to the geometry of this entity.
This object gives, among other things, the map from a reference element to world coordinates.
Implements Bempp::Entity< 0 >.
|
inlinevirtual |
True if the element is of regular type in red/green type refinement.
In bisection or hanging node refinement this is always true.
Implements Bempp::Entity< 0 >.
|
inlinevirtual |
True if the entity might disappear during the next call to adapt().
If the method returns false, the entity is guaranteed to still be present after adaptation.
Implements Bempp::Entity< 0 >.
|
virtual |
Inter-level access to elements that resulted from (recursive) subdivision of this element.
| [in] | maxlevel | Iterator does not stop at elements with level greater than maxlevel. |
maxlevel) Implements Bempp::Entity< 0 >.
|
inlinevirtual |
Type of the reference element.
The type can be used to access the Dune::GenericReferenceElement.
Implements Bempp::Entity< 0 >.
1.8.5