My Project
Dune::cpgrid::HierarchicIterator Class Reference

Only needs to provide interface for doing nothing. More...

#include <Iterators.hpp>

Inheritance diagram for Dune::cpgrid::HierarchicIterator:
Dune::cpgrid::Entity< 0 > Dune::cpgrid::EntityRep< codim >

Public Types

using Reference = const Entity< 0 > &
 
- Public Types inherited from Dune::cpgrid::Entity< 0 >
enum  
 
enum  
 
enum  
 
enum  
 
typedef Entity EntitySeed
 
typedef cpgrid::Geometry< 3-codim, 3 > Geometry
 
typedef Geometry LocalGeometry
 
typedef cpgrid::IntersectionIterator LeafIntersectionIterator
 
typedef cpgrid::IntersectionIterator LevelIntersectionIterator
 
typedef cpgrid::HierarchicIterator HierarchicIterator
 
typedef double ctype
 
- Public Types inherited from Dune::cpgrid::EntityRep< codim >
enum  { codimension =codim }
 
enum  { InvalidIndex = INT_MAX }
 

Public Member Functions

 HierarchicIterator (const CpGridData &grid)
 
 HierarchicIterator (Entity< 0 > target, int maxLevel)
 
 HierarchicIterator (int maxLevel)
 
HierarchicIteratoroperator++ ()
 Equality. More...
 
const Entity< 0 > * operator-> () const
 Const member by pointer operator.
 
const Entity< 0 > & operator* () const
 Const dereferencing operator.
 
- Public Member Functions inherited from Dune::cpgrid::Entity< 0 >
 Entity ()
 Constructor taking a grid and an integer entity representation. More...
 
 Entity (const CpGridData &grid, EntityRep< codim > entityrep)
 Constructor taking a grid and an entity representation.
 
 Entity (const CpGridData &grid, int index_arg, bool orientation_arg)
 Constructor taking a grid, entity index, and orientation.
 
bool operator== (const Entity &other) const
 Equality.
 
bool operator!= (const Entity &other) const
 Inequality.
 
EntitySeed seed () const
 Return an entity seed (light-weight entity). More...
 
const Geometrygeometry () const
 Return the geometry of the entity (does not depend on its orientation).
 
int level () const
 Return the level of the entity in the grid hierarchy. Level = 0 represents the coarsest grid.
 
bool isLeaf () const
 Check if the entity is in the leafview. More...
 
bool isRegular () const
 Refinement is not defined for CpGrid.
 
PartitionType partitionType () const
 For now, the grid is serial and the only partitionType() is InteriorEntity. More...
 
GeometryType type () const
 Return marker object (GeometryType object) representing the reference element of the entity. More...
 
unsigned int subEntities (const unsigned int cc) const
 Return the number of all subentities of the entity of a given codimension cc.
 
Codim< cc >::Entity subEntity (int i) const
 Obtain subentity. More...
 
Entity< codim >::template Codim< cc >::Entity subEntity (int i) const
 
LevelIntersectionIterator ilevelbegin () const
 Start level-iterator for the cell-cell intersections of this entity.
 
LevelIntersectionIterator ilevelend () const
 End level-iterator for the cell-cell intersections of this entity.
 
LeafIntersectionIterator ileafbegin () const
 Start leaf-iterator for the cell-cell intersections of this entity.
 
LeafIntersectionIterator ileafend () const
 End leaf-iterator for the cell-cell intersections of this entity.
 
HierarchicIterator hbegin (int) const
 Iterator begin over the children. [If requested, also over descendants more than one generation away.].
 
HierarchicIterator hend (int) const
 Iterator end over the children/beyond last child iterator. More...
 
bool isNew () const
 Returns true, if the entity has been created during the last call to adapt(). Dummy.
 
bool mightVanish () const
 Returns true, if entity might disappear during the next call to adapt(). Dummy.
 
bool hasFather () const
 ONLY FOR CELLS (Entity<0>) Check if the entity comes from an LGR, i.e., it has been created via refinement from coarser level. More...
 
Entity< 0 > father () const
 ONLY FOR CELLS (Entity<0>). More...
 
Dune::cpgrid::Geometry< 3, 3 > geometryInFather () const
 Return LocalGeometry representing the embedding of the entity inti its father (when hasFather() is true). More...
 
bool hasBoundaryIntersections () const
 Returns true if any of my intersections are on the boundary. More...
 
const Entityimpl () const
 Access the actual implementation class behind Entity interface class.
 
Entityimpl ()
 
bool isValid () const
 isValid method for EntitySeed More...
 
- Public Member Functions inherited from Dune::cpgrid::EntityRep< codim >
 EntityRep ()
 Default constructor.
 
 EntityRep (int index_arg, bool orientation_arg)
 Constructor taking an entity index and an orientation. More...
 
void setValue (int index_arg, bool orientation_arg)
 Set entity value. More...
 
int index () const
 The (positive) index of an entity. More...
 
int signedIndex () const
 The signed index that also tells us the orientation.
 
bool orientation () const
 Returns true if the entity has positive orientation. More...
 
EntityRep opposite () const
 Returns an EntityRep with opposite orientation. More...
 
void increment ()
 Increments the entityrep's index() by one.
 
bool operator< (const EntityRep &other) const
 Ordering relation used for maps etc. More...
 
bool operator== (const EntityRep &other) const
 Equality operator. More...
 
bool operator!= (const EntityRep &other) const
 Inequality operator. More...
 

Additional Inherited Members

- Protected Attributes inherited from Dune::cpgrid::Entity< 0 >
const CpGridDatapgrid_
 

Detailed Description

Only needs to provide interface for doing nothing.

Constructor & Destructor Documentation

◆ HierarchicIterator()

Todo:
Doc me!
Parameters

Member Function Documentation

◆ operator++()

HierarchicIterator & Dune::cpgrid::HierarchicIterator::operator++ ( )
inline

Equality.

Todo:
Doc me!
Parameters

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