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>
| Imp | the implementation |
| ScvGeometryTraits | traits of this class |
Public Types | |
| using | GlobalPosition = typename ScvGeometryTraits::GlobalPosition |
| export the type used for global coordinates | |
| using | Traits = ScvGeometryTraits |
| state the traits public and thus export all types | |
Public Member Functions | |
| GlobalPosition | center () const |
| The center of the sub control volume. | |
| Scalar | volume () const |
| The volume of the sub control volume. | |
| GridIndexType | dofIndex () const |
| The index of the dof this scv is embedded in (ccfv) | |
| LocalIndexType | localDofIndex () const |
| The index of the dof this scv is embedded in (box) | |
| GlobalPosition | dofPosition () const |
| GridIndexType | elementIndex () const |
| The global index of the element this scv is embedded in. | |
| using Dumux::SubControlVolumeBase< Imp, ScvGeometryTraits >::GlobalPosition = typename ScvGeometryTraits::GlobalPosition |
| using Dumux::SubControlVolumeBase< Imp, ScvGeometryTraits >::Traits = ScvGeometryTraits |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |