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 | |
| using | Traits = T |
| state the traits public and thus export all types | |
Public Member Functions | |
| CCSubControlVolume ()=default | |
| template<class Geometry> | |
| CCSubControlVolume (Geometry &&geometry, GridIndexType elementIndex) | |
| const 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 (the global index of this scv) | |
| LocalIndexType | localDofIndex () const |
| The element-local index of the dof this scv is embedded in. | |
| LocalIndexType | indexInElement () const |
| const GlobalPosition & | dofPosition () const |
| GridIndexType | elementIndex () const |
| The global index of the element this scv is embedded in. | |
| 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 |