Dune Core Modules (2.6.0)
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
class Dune::VirtualRefinement< dimension, CoordType >
VirtualRefinement base class.
- Parameters
-
dimension The dimension of the element to refine CoordType The C++ type of the coordinates
Member Typedef Documentation
◆ CoordVector
typedef FieldVector<CoordType, dimension> Dune::VirtualRefinement< dimension, CoordType >::CoordVector |
The CoordVector of the VirtualRefinement.
This is always a typedef to a FieldVector
◆ IndexVector
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]
VirtualRefinement< dimension, CoordType >::ElementIterator Dune::VirtualRefinement< dimension, CoordType >::eBegin | ( | Dune::RefinementIntervals | tag | ) | const |
Get an ElementIterator.
- Parameters
-
tag RefinementIntervals object returned by either refinementIntervals() or refinementLevels()
◆ eBegin() [2/2]
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]
VirtualRefinement< dimension, CoordType >::ElementIterator Dune::VirtualRefinement< dimension, CoordType >::eEnd | ( | Dune::RefinementIntervals | tag | ) | const |
Get an ElementIterator.
- Parameters
-
tag RefinementIntervals object returned by either refinementIntervals() or refinementLevels()
◆ eEnd() [2/2]
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]
|
pure virtual |
Get the number of Elements.
- Parameters
-
tag RefinementIntervals object returned by either refinementIntervals() or refinementLevels()
◆ nElements() [2/2]
|
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]
|
pure virtual |
Get the number of Vertices.
- Parameters
-
tag RefinementIntervals object returned by either refinementIntervals() or refinementLevels()
◆ nVertices() [2/2]
|
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]
VirtualRefinement< dimension, CoordType >::VertexIterator Dune::VirtualRefinement< dimension, CoordType >::vBegin | ( | Dune::RefinementIntervals | tag | ) | const |
Get an VertexIterator.
- Parameters
-
tag RefinementIntervals object returned by either refinementIntervals() or refinementLevels()
◆ vBegin() [2/2]
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]
VirtualRefinement< dimension, CoordType >::VertexIterator Dune::VirtualRefinement< dimension, CoordType >::vEnd | ( | Dune::RefinementIntervals | tag | ) | const |
Get an VertexIterator.
- Parameters
-
tag RefinementIntervals object returned by either refinementIntervals() or refinementLevels()
◆ vEnd() [2/2]
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:
- dune/geometry/virtualrefinement.hh
- dune/geometry/virtualrefinement.cc