dune-geometry  2.7.0
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Dune::StaticRefinement< topologyId, CoordType, coerceToId, dimension_ > Class Template Reference

Wrap each Refinement implementation to get a consistent interface. More...

Inheritance diagram for Dune::StaticRefinement< topologyId, CoordType, coerceToId, dimension_ >:
Inheritance graph

Classes

struct  Codim
 The Codim struct inherited from the Refinement implementation. More...
 

Public Types

typedef Codim< dimension >::SubEntityIterator VertexIterator
 The VertexIterator of the Refinement. More...
 
typedef Codim< 0 >::SubEntityIterator ElementIterator
 The ElementIterator of the Refinement. More...
 
typedef RefinementImp::Traits< topologyId, CoordType, coerceToId, dimension_ >::Imp RefinementImp
 

Public Member Functions

 DUNE_DEPRECATED_MSG ("nVertices(int) is deprecated, use nVertices(Dune::refinement{Intervals|Levels})") static int nVertices(int level)
 Get the number of Vertices. More...
 
 DUNE_DEPRECATED_MSG ("vBegin(int) is deprecated, use vBegin(Dune::refinement{Intervals|Levels})") static VertexIterator vBegin(int level)
 Get a VertexIterator. More...
 
 DUNE_DEPRECATED_MSG ("nEnd(int) is deprecated, use vEnd(Dune::refinement{Intervals|Levels}(int))") static VertexIterator vEnd(int level)
 Get a VertexIterator. More...
 
 DUNE_DEPRECATED_MSG ("nElements(int) is deprecated, use nElements(Dune::refinement{Intervals|Levels}(int))") static int nElements(int level)
 Get the number of Elements. More...
 
 DUNE_DEPRECATED_MSG ("eBegin(int) is deprecated, use eBegin(Dune::refinement{Intervals|Levels}(int))") static ElementIterator eBegin(int level)
 Get an ElementIterator. More...
 
 DUNE_DEPRECATED_MSG ("eEnd(int) is deprecated, use eEnd(Dune::refinement{Intervals|Levels}(int))") static ElementIterator eEnd(int level)
 Get an ElementIterator. More...
 

Static Public Member Functions

static int nVertices (Dune::RefinementIntervals tag)
 Get the number of Vertices. More...
 
static VertexIterator vBegin (Dune::RefinementIntervals tag)
 Get a VertexIterator. More...
 
static VertexIterator vEnd (Dune::RefinementIntervals tag)
 Get a VertexIterator. More...
 
static int nElements (Dune::RefinementIntervals tag)
 Get the number of Elements. More...
 
static ElementIterator eBegin (Dune::RefinementIntervals tag)
 Get an ElementIterator. More...
 
static ElementIterator eEnd (Dune::RefinementIntervals tag)
 Get an ElementIterator. More...
 

Public Attributes

typedef CoordVector
 The CoordVector of the Refinement. More...
 
typedef IndexVector
 The IndexVector of the Refinement. More...
 

Detailed Description

template<unsigned topologyId, class CoordType, unsigned coerceToId, int dimension_>
class Dune::StaticRefinement< topologyId, CoordType, coerceToId, dimension_ >

Wrap each Refinement implementation to get a consistent interface.

Template Parameters
topologyIdThe topology id of the element to refine
CoordTypeThe C++ type of the coordinates
coerceToIdThe topology id of the subelements
dimensionThe dimension of the refinement.

Member Typedef Documentation

◆ ElementIterator

template<unsigned topologyId, class CoordType , unsigned coerceToId, int dimension_>
typedef Codim<0>::SubEntityIterator Dune::StaticRefinement< topologyId, CoordType, coerceToId, dimension_ >::ElementIterator

The ElementIterator of the Refinement.

◆ RefinementImp

template<unsigned topologyId, class CoordType , unsigned coerceToId, int dimension_>
typedef RefinementImp::Traits< topologyId, CoordType, coerceToId, dimension_>::Imp Dune::StaticRefinement< topologyId, CoordType, coerceToId, dimension_ >::RefinementImp

◆ VertexIterator

template<unsigned topologyId, class CoordType , unsigned coerceToId, int dimension_>
typedef Codim<dimension>::SubEntityIterator Dune::StaticRefinement< topologyId, CoordType, coerceToId, dimension_ >::VertexIterator

The VertexIterator of the Refinement.

Member Function Documentation

◆ DUNE_DEPRECATED_MSG() [1/6]

template<unsigned topologyId, class CoordType , unsigned coerceToId, int dimension_>
Dune::StaticRefinement< topologyId, CoordType, coerceToId, dimension_ >::DUNE_DEPRECATED_MSG ( "eBegin(int) is  deprecated,
use eBegin(Dune::refinement{Intervals|Levels}(int))"   
)
inline

Get an ElementIterator.

◆ DUNE_DEPRECATED_MSG() [2/6]

template<unsigned topologyId, class CoordType , unsigned coerceToId, int dimension_>
Dune::StaticRefinement< topologyId, CoordType, coerceToId, dimension_ >::DUNE_DEPRECATED_MSG ( "eEnd(int) is  deprecated,
use eEnd(Dune::refinement{Intervals|Levels}(int))"   
)
inline

Get an ElementIterator.

◆ DUNE_DEPRECATED_MSG() [3/6]

template<unsigned topologyId, class CoordType , unsigned coerceToId, int dimension_>
Dune::StaticRefinement< topologyId, CoordType, coerceToId, dimension_ >::DUNE_DEPRECATED_MSG ( "nElements(int) is  deprecated,
use nElements(Dune::refinement{Intervals|Levels}(int))"   
)
inline

Get the number of Elements.

◆ DUNE_DEPRECATED_MSG() [4/6]

template<unsigned topologyId, class CoordType , unsigned coerceToId, int dimension_>
Dune::StaticRefinement< topologyId, CoordType, coerceToId, dimension_ >::DUNE_DEPRECATED_MSG ( "nEnd(int) is  deprecated,
use vEnd(Dune::refinement{Intervals|Levels}(int))"   
)
inline

Get a VertexIterator.

◆ DUNE_DEPRECATED_MSG() [5/6]

template<unsigned topologyId, class CoordType , unsigned coerceToId, int dimension_>
Dune::StaticRefinement< topologyId, CoordType, coerceToId, dimension_ >::DUNE_DEPRECATED_MSG ( "nVertices(int) is  deprecated,
use nVertices(Dune::refinement{Intervals|Levels})"   
)
inline

Get the number of Vertices.

◆ DUNE_DEPRECATED_MSG() [6/6]

template<unsigned topologyId, class CoordType , unsigned coerceToId, int dimension_>
Dune::StaticRefinement< topologyId, CoordType, coerceToId, dimension_ >::DUNE_DEPRECATED_MSG ( "vBegin(int) is  deprecated,
use vBegin(Dune::refinement{Intervals|Levels})"   
)
inline

Get a VertexIterator.

◆ eBegin()

template<unsigned topologyId, class CoordType , unsigned coerceToId, int dimension_>
static ElementIterator Dune::StaticRefinement< topologyId, CoordType, coerceToId, dimension_ >::eBegin ( Dune::RefinementIntervals  tag)
inlinestatic

Get an ElementIterator.

Parameters
tagRefinementIntervals object returned by either refinementIntervals() or refinementLevels()

◆ eEnd()

template<unsigned topologyId, class CoordType , unsigned coerceToId, int dimension_>
static ElementIterator Dune::StaticRefinement< topologyId, CoordType, coerceToId, dimension_ >::eEnd ( Dune::RefinementIntervals  tag)
inlinestatic

Get an ElementIterator.

Parameters
tagRefinementIntervals object returned by either refinementIntervals() or refinementLevels()

◆ nElements()

template<unsigned topologyId, class CoordType , unsigned coerceToId, int dimension_>
static int Dune::StaticRefinement< topologyId, CoordType, coerceToId, dimension_ >::nElements ( Dune::RefinementIntervals  tag)
inlinestatic

Get the number of Elements.

Parameters
tagRefinementIntervals object returned by either refinementIntervals() or refinementLevels()

◆ nVertices()

template<unsigned topologyId, class CoordType , unsigned coerceToId, int dimension_>
static int Dune::StaticRefinement< topologyId, CoordType, coerceToId, dimension_ >::nVertices ( Dune::RefinementIntervals  tag)
inlinestatic

Get the number of Vertices.

Parameters
tagRefinementIntervals object returned by either refinementIntervals() or refinementLevels()

◆ vBegin()

template<unsigned topologyId, class CoordType , unsigned coerceToId, int dimension_>
static VertexIterator Dune::StaticRefinement< topologyId, CoordType, coerceToId, dimension_ >::vBegin ( Dune::RefinementIntervals  tag)
inlinestatic

Get a VertexIterator.

Parameters
tagRefinementIntervals object returned by either refinementIntervals() or refinementLevels()

◆ vEnd()

template<unsigned topologyId, class CoordType , unsigned coerceToId, int dimension_>
static VertexIterator Dune::StaticRefinement< topologyId, CoordType, coerceToId, dimension_ >::vEnd ( Dune::RefinementIntervals  tag)
inlinestatic

Get a VertexIterator.

Parameters
tagRefinementIntervals object returned by either refinementIntervals() or refinementLevels()

Member Data Documentation

◆ CoordVector

template<unsigned topologyId, class CoordType , unsigned coerceToId, int dimension_>
typedef Dune::StaticRefinement< topologyId, CoordType, coerceToId, dimension_ >::CoordVector

The CoordVector of the Refinement.

This is always a typedef to a FieldVector

◆ IndexVector

template<unsigned topologyId, class CoordType , unsigned coerceToId, int dimension_>
typedef Dune::StaticRefinement< topologyId, CoordType, coerceToId, dimension_ >::IndexVector

The IndexVector of the Refinement.

This is always a typedef to a FieldVector


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