the sub control volume for the box scheme More...
#include <dumux/discretization/box/subcontrolvolume.hh>
the sub control volume for the box scheme
GV | the type of the grid view |
T | the scvf 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 | |
BoxSubControlVolume ()=default | |
The default constructor. More... | |
template<class GeometryHelper > | |
BoxSubControlVolume (const GeometryHelper &geometryHelper, LocalIndexType scvIdx, GridIndexType elementIndex, GridIndexType dofIndex) | |
const GlobalPosition & | center () const |
The center of the sub control volume. More... | |
Scalar | volume () const |
The volume of the sub control volume. More... | |
Geometry | geometry () const |
The geometry of the sub control volume. More... | |
LocalIndexType | localDofIndex () const |
The element-local index of the dof this scv is embedded in. More... | |
LocalIndexType | indexInElement () const |
GridIndexType | dofIndex () const |
The index of the dof this scv is embedded in. More... | |
const GlobalPosition & | dofPosition () const |
GridIndexType | elementIndex () const |
The global index of the element this scv is embedded in. More... | |
const GlobalPosition & | corner (LocalIndexType localIdx) const |
Return the corner for the given local index. More... | |
using Dumux::BoxSubControlVolume< GV, T >::GlobalPosition = typename T::GlobalPosition |
export the type used for global coordinates
using Dumux::BoxSubControlVolume< GV, T >::Traits = T |
state the traits public and thus export all types
|
default |
The default constructor.
|
inline |
|
inline |
The center of the sub control volume.
|
inline |
Return the corner for the given local index.
|
inline |
The index of the dof this scv is embedded in.
|
inline |
|
inline |
The global index of the element this scv is embedded in.
|
inline |
The geometry of the sub control volume.
|
inline |
The element-local index of this scv. For the standard box scheme this is the local dof index.
|
inline |
The element-local index of the dof this scv is embedded in.
|
inline |
The volume of the sub control volume.