Dune Core Modules (2.8.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 (Dune::RefinementIntervals tag) const =0
 Get the number of Vertices. More...
 
VertexIterator vBegin (Dune::RefinementIntervals tag) const
 Get an VertexIterator. More...
 
VertexIterator vEnd (Dune::RefinementIntervals tag) const
 Get an VertexIterator. More...
 
virtual int nElements (Dune::RefinementIntervals tag) const =0
 Get the number of Elements. More...
 
ElementIterator eBegin (Dune::RefinementIntervals tag) 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()

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()

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

◆ eEnd()

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()

◆ nElements()

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()

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

◆ nVertices()

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()

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

◆ vBegin()

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()

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

◆ vEnd()

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()

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 (Dec 22, 23:30, 2024)