Sub control volumes for cell-centered discretization schemes. More...
#include <dumux/discretization/cellcentered/subcontrolvolume.hh>
GV | the type of the grid view |
T | the scv geometry traits |
Public Types | |
using | GlobalPosition = typename T::GlobalPosition |
export the type used for global coordinates More... | |
using | Traits = T |
state the traits public and thus export all types More... | |
Public Member Functions | |
CCSubControlVolume ()=default | |
template<class Geometry > | |
CCSubControlVolume (Geometry &&geometry, GridIndexType elementIndex) | |
const 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 (the global index of this scv) More... | |
LocalIndexType | localDofIndex () const |
The element-local index of the dof this scv is embedded in. More... | |
LocalIndexType | indexInElement () const |
const GlobalPosition & | dofPosition () const |
GridIndexType | elementIndex () const |
The global index of the element this scv is embedded in. More... | |
using Dumux::CCSubControlVolume< GV, T >::GlobalPosition = typename T::GlobalPosition |
using Dumux::CCSubControlVolume< GV, T >::Traits = T |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
The element-local index of this scv. In cell-centered schemes there is always only one scv per element.
|
inline |
|
inline |