the sub control volume for porenetworks More...
#include <dumux/discretization/porenetwork/subcontrolvolume.hh>
the sub control volume for porenetworks
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 | |
PNMSubControlVolume ()=default | |
The default constructor. More... | |
template<class Corners > | |
PNMSubControlVolume (GridIndexType dofIndex, LocalIndexType scvIdx, GridIndexType elementIndex, Corners &&corners, const Scalar volume) | |
const GlobalPosition & | center () const |
Scalar | volume () const |
The volume of the sub control volume (part of a pore) More... | |
LocalIndexType | localDofIndex () const |
The element-local index of the dof this scv is embedded in. More... | |
LocalIndexType | indexInElement () const |
The element-local index of this scv. More... | |
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... | |
Geometry | geometry () const |
The geometry of the sub control volume e.g. for integration. More... | |
using Dumux::PoreNetwork::PNMSubControlVolume< GV, T >::GlobalPosition = typename T::GlobalPosition |
export the type used for global coordinates
using Dumux::PoreNetwork::PNMSubControlVolume< 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 (return pore center). Be aware that this is not the pore-body center! Use dofPosition() for the latter!
|
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 e.g. for integration.
|
inline |
The element-local index of this scv.
|
inline |
The element-local index of the dof this scv is embedded in.
|
inline |
The volume of the sub control volume (part of a pore)