Sub control volumes for cell-centered discretization schemes. More...
#include <dumux/discretization/cellcentered/subcontrolvolume.hh>
Sub control volumes for cell-centered discretization schemes.
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 | |
CCSubControlVolume (GeometryParamType geometry, GridIndexType elementIndex) | |
CCSubControlVolume (const CCSubControlVolume &other) | |
The copy constructor. More... | |
CCSubControlVolume (CCSubControlVolume &&other)=default | |
The move constructor. More... | |
CCSubControlVolume & | operator= (const CCSubControlVolume &other) |
The copy assignment operator. More... | |
CCSubControlVolume & | operator= (CCSubControlVolume &&other)=default |
The move assignment operator. More... | |
const GlobalPosition & | center () const |
The center of the sub control volume. More... | |
Scalar | volume () const |
The volume of the sub control volume. More... | |
const Geometry & | geometry () const |
The geometry 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... | |
GlobalPosition | corner (LocalIndexType localIdx) const |
Return the corner for the given local index. More... | |
using Dumux::CCSubControlVolume< GV, T >::GlobalPosition = typename T::GlobalPosition |
export the type used for global coordinates
using Dumux::CCSubControlVolume< GV, T >::Traits = T |
state the traits public and thus export all types
|
default |
|
inline |
|
inline |
The copy constructor.
|
default |
The move constructor.
|
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 (the global index of this scv)
|
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. In cell-centered schemes there is always only one scv per element.
|
inline |
The element-local index of the dof this scv is embedded in.
|
default |
The move assignment operator.
|
inline |
The copy assignment operator.
|
inline |
The volume of the sub control volume.