Base class for a sub control volume, i.e a part of the control volume we are making the balance for. Defines the general interface. More...
#include <dumux/discretization/subcontrolvolumebase.hh>
Base class for a sub control volume, i.e a part of the control volume we are making the balance for. Defines the general interface.
Imp | the implementation |
ScvGeometryTraits | traits of this class |
Public Types | |
using | GlobalPosition = typename ScvGeometryTraits::GlobalPosition |
export the type used for global coordinates More... | |
using | Traits = ScvGeometryTraits |
state the traits public and thus export all types More... | |
Public Member Functions | |
GlobalPosition | center () const |
The center of the sub control volume. More... | |
Scalar | volume () const |
The volume of the sub control volume. More... | |
GridIndexType | dofIndex () const |
The index of the dof this scv is embedded in (ccfv) More... | |
LocalIndexType | localDofIndex () const |
The index of the dof this scv is embedded in (box) More... | |
GlobalPosition | dofPosition () const |
GridIndexType | elementIndex () const |
The global index of the element this scv is embedded in. More... | |
using Dumux::SubControlVolumeBase< Imp, ScvGeometryTraits >::GlobalPosition = typename ScvGeometryTraits::GlobalPosition |
export the type used for global coordinates
using Dumux::SubControlVolumeBase< Imp, ScvGeometryTraits >::Traits = ScvGeometryTraits |
state the traits public and thus export all types
|
inline |
The center of the sub control volume.
|
inline |
The index of the dof this scv is embedded in (ccfv)
|
inline |
|
inline |
The global index of the element this scv is embedded in.
|
inline |
The index of the dof this scv is embedded in (box)
|
inline |
The volume of the sub control volume.