3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Member Functions | List of all members
Dumux::ScvIterator< SubControlVolume, Vector, FVElementGeometry > Class Template Reference

Iterators over sub control volumes. More...

#include <dumux/discretization/scvandscvfiterators.hh>

Inheritance diagram for Dumux::ScvIterator< SubControlVolume, Vector, FVElementGeometry >:
Inheritance graph

Description

template<class SubControlVolume, class Vector, class FVElementGeometry>
class Dumux::ScvIterator< SubControlVolume, Vector, FVElementGeometry >

Iterators over sub control volumes.

Note
usage: for(const auto& scv : scvs(fvGeometry))

Public Member Functions

 ScvIterator (const Iterator &it, const FVElementGeometry &fvGeometry)
 
 ScvIterator ()
 
const SubControlVolume & dereference () const
 dereferencing yields a subcontrol volume More...
 
bool equals (const ThisType &other) const
 
void increment ()
 

Constructor & Destructor Documentation

◆ ScvIterator() [1/2]

template<class SubControlVolume , class Vector , class FVElementGeometry >
Dumux::ScvIterator< SubControlVolume, Vector, FVElementGeometry >::ScvIterator ( const Iterator &  it,
const FVElementGeometry &  fvGeometry 
)
inline

◆ ScvIterator() [2/2]

template<class SubControlVolume , class Vector , class FVElementGeometry >
Dumux::ScvIterator< SubControlVolume, Vector, FVElementGeometry >::ScvIterator ( )
inline

Member Function Documentation

◆ dereference()

template<class SubControlVolume , class Vector , class FVElementGeometry >
const SubControlVolume & Dumux::ScvIterator< SubControlVolume, Vector, FVElementGeometry >::dereference ( ) const
inline

dereferencing yields a subcontrol volume

◆ equals()

template<class SubControlVolume , class Vector , class FVElementGeometry >
bool Dumux::ScvIterator< SubControlVolume, Vector, FVElementGeometry >::equals ( const ThisType other) const
inline

◆ increment()

template<class SubControlVolume , class Vector , class FVElementGeometry >
void Dumux::ScvIterator< SubControlVolume, Vector, FVElementGeometry >::increment ( )
inline

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