Dune Core Modules (2.6.0)

Dune::VirtualRefinement< dimension, CoordType > Class Template Referenceabstract

VirtualRefinement base class. More...

#include <dune/geometry/virtualrefinement.hh>

Classes

struct  Codim
 codim database of VirtualRefinement More...
 

Public Types

typedef Codim< dimension >::SubEntityIterator VertexIterator
 The VertexIterator of the VirtualRefinement.
 
typedef Codim< 0 >::SubEntityIterator ElementIterator
 The ElementIterator of the VirtualRefinement.
 
typedef FieldVector< CoordType, dimension > CoordVector
 The CoordVector of the VirtualRefinement. More...
 
typedef std::vector< int > IndexVector
 The IndexVector of the VirtualRefinement. More...
 

Public Member Functions

virtual int nVertices (int level) const =0
 Get the number of Vertices. More...
 
virtual int nVertices (Dune::RefinementIntervals tag) const =0
 Get the number of Vertices. More...
 
VertexIterator vBegin (int level) const
 Get a VertexIterator. More...
 
VertexIterator vBegin (Dune::RefinementIntervals tag) const
 Get an VertexIterator. More...
 
VertexIterator vEnd (int level) const
 Get a VertexIterator. More...
 
VertexIterator vEnd (Dune::RefinementIntervals tag) const
 Get an VertexIterator. More...
 
virtual int nElements (int level) const =0
 Get the number of Elements. More...
 
virtual int nElements (Dune::RefinementIntervals tag) const =0
 Get the number of Elements. More...
 
ElementIterator eBegin (int level) const
 Get an ElementIterator. More...
 
ElementIterator eBegin (Dune::RefinementIntervals tag) const
 Get an ElementIterator. More...
 
ElementIterator eEnd (int level) const
 Get an ElementIterator. More...
 
ElementIterator eEnd (Dune::RefinementIntervals tag) const
 Get an ElementIterator. More...
 
virtual ~VirtualRefinement ()
 Destructor.
 

Detailed Description

template<int dimension, class CoordType>
class Dune::VirtualRefinement< dimension, CoordType >

VirtualRefinement base class.

Parameters
dimensionThe dimension of the element to refine
CoordTypeThe C++ type of the coordinates

Member Typedef Documentation

◆ CoordVector

template<int dimension, class CoordType >
typedef FieldVector<CoordType, dimension> Dune::VirtualRefinement< dimension, CoordType >::CoordVector

The CoordVector of the VirtualRefinement.

This is always a typedef to a FieldVector

◆ IndexVector

template<int dimension, class CoordType >
typedef std::vector<int> Dune::VirtualRefinement< dimension, CoordType >::IndexVector

The IndexVector of the VirtualRefinement.

This is always a typedef to a std::vector

Member Function Documentation

◆ eBegin() [1/2]

template<int dimension, class CoordType >
VirtualRefinement< dimension, CoordType >::ElementIterator Dune::VirtualRefinement< dimension, CoordType >::eBegin ( Dune::RefinementIntervals  tag) const

Get an ElementIterator.

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

◆ eBegin() [2/2]

template<int dimension, class CoordType >
VirtualRefinement< dimension, CoordType >::ElementIterator Dune::VirtualRefinement< dimension, CoordType >::eBegin ( int  level) const

Get an ElementIterator.

Deprecated:
"eBegin(int) is deprecated, use eBegin(Dune::refinement{Intervals|Levels}(int))"

References Dune::refinementIntervals().

Referenced by Dune::SubsamplingVTKWriter< GridView >::countEntities(), and Dune::SubsamplingVTKWriter< GridView >::writeGridCells().

◆ eEnd() [1/2]

template<int dimension, class CoordType >
VirtualRefinement< dimension, CoordType >::ElementIterator Dune::VirtualRefinement< dimension, CoordType >::eEnd ( Dune::RefinementIntervals  tag) const

Get an ElementIterator.

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

◆ eEnd() [2/2]

template<int dimension, class CoordType >
VirtualRefinement< dimension, CoordType >::ElementIterator Dune::VirtualRefinement< dimension, CoordType >::eEnd ( int  level) const

Get an ElementIterator.

Deprecated:
"eEnd(int) is deprecated, use eEnd(Dune::refinement{Intervals|Levels}(int))"

References Dune::refinementIntervals().

Referenced by Dune::SubsamplingVTKWriter< GridView >::writeGridCells().

◆ nElements() [1/2]

template<int dimension, class CoordType >
virtual int Dune::VirtualRefinement< dimension, CoordType >::nElements ( Dune::RefinementIntervals  tag) const
pure virtual

Get the number of Elements.

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

◆ nElements() [2/2]

template<int dimension, class CoordType >
virtual int Dune::VirtualRefinement< dimension, CoordType >::nElements ( int  level) const
pure virtual

Get the number of Elements.

Deprecated:
"nElements(int) is deprecated, use nElements(Dune::refinement{Intervals|Levels}(int))"

Referenced by Dune::SubsamplingVTKWriter< GridView >::countEntities(), and Dune::SubsamplingVTKWriter< GridView >::writeGridCells().

◆ nVertices() [1/2]

template<int dimension, class CoordType >
virtual int Dune::VirtualRefinement< dimension, CoordType >::nVertices ( Dune::RefinementIntervals  tag) const
pure virtual

Get the number of Vertices.

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

◆ nVertices() [2/2]

template<int dimension, class CoordType >
virtual int Dune::VirtualRefinement< dimension, CoordType >::nVertices ( int  level) const
pure virtual

Get the number of Vertices.

Deprecated:
"nVertices(int) is deprecated, use nVertices(Dune::refinement{Intervals|Levels}(int))"

Referenced by Dune::SubsamplingVTKWriter< GridView >::countEntities(), and Dune::SubsamplingVTKWriter< GridView >::writeGridCells().

◆ vBegin() [1/2]

template<int dimension, class CoordType >
VirtualRefinement< dimension, CoordType >::VertexIterator Dune::VirtualRefinement< dimension, CoordType >::vBegin ( Dune::RefinementIntervals  tag) const

Get an VertexIterator.

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

◆ vBegin() [2/2]

template<int dimension, class CoordType >
VirtualRefinement< dimension, CoordType >::VertexIterator Dune::VirtualRefinement< dimension, CoordType >::vBegin ( int  level) const

Get a VertexIterator.

Deprecated:
"vBegin(int) is deprecated, use vBegin(Dune::refinement{Intervals|Levels}(int))"

References Dune::refinementIntervals().

Referenced by Dune::SubsamplingVTKWriter< GridView >::writeGridPoints().

◆ vEnd() [1/2]

template<int dimension, class CoordType >
VirtualRefinement< dimension, CoordType >::VertexIterator Dune::VirtualRefinement< dimension, CoordType >::vEnd ( Dune::RefinementIntervals  tag) const

Get an VertexIterator.

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

◆ vEnd() [2/2]

template<int dimension, class CoordType >
VirtualRefinement< dimension, CoordType >::VertexIterator Dune::VirtualRefinement< dimension, CoordType >::vEnd ( int  level) const

Get a VertexIterator.

Deprecated:
"vEnd(int) is deprecated, use vEnd(Dune::refinement{Intervals|Levels}(int))"

References Dune::refinementIntervals().

Referenced by Dune::SubsamplingVTKWriter< GridView >::writeGridPoints().


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