Class for a sub control volume face in mpfa methods, i.e a part of the boundary of a control volume we compute fluxes on. More...
#include <dumux/discretization/cellcentered/mpfa/subcontrolvolumeface.hh>
Class for a sub control volume face in mpfa methods, i.e a part of the boundary of a control volume we compute fluxes on.
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 | |
template<class MpfaHelper > | |
CCMpfaSubControlVolumeFace (const MpfaHelper &helper, CornerStorage &&corners, GlobalPosition &&unitOuterNormal, GridIndexType vIdxGlobal, unsigned int vIdxLocal, GridIndexType scvfIndex, GridIndexType insideScvIdx, const OutsideGridIndexStorage &outsideScvIndices, Scalar q, bool boundary) | |
Constructor. More... | |
Scalar | area () const |
The area of the sub control volume face. More... | |
bool | boundary () const |
returns bolean if the sub control volume face is on the domain boundary More... | |
GridIndexType | index () const |
The global index of this sub control volume face. More... | |
GridIndexType | vertexIndex () const |
Returns the index of the vertex the scvf is connected to. More... | |
unsigned int | vertexIndexInElement () const |
Returns the element-local vertex index the scvf is connected to. More... | |
GridIndexType | insideScvIdx () const |
index of the inside sub control volume More... | |
std::size_t | numOutsideScvs () const |
The number of outside scvs connection via this scv face. More... | |
GridIndexType | outsideScvIdx (int i=0) const |
const OutsideGridIndexStorage & | outsideScvIndices () const |
returns the outside scv indices (can be more than one index for dim < dimWorld) More... | |
std::size_t | corners () const |
Returns the number of corners. More... | |
const GlobalPosition & | corner (unsigned int localIdx) const |
Returns the corner for a given local index. More... | |
const GlobalPosition & | vertexCorner () const |
Returns the global position of the vertex the scvf is connected to. More... | |
const GlobalPosition & | facetCorner () const |
Returns the global position of the center of the element facet this scvf is embedded in. More... | |
const GlobalPosition & | center () const |
The center of the sub control volume face. More... | |
const GlobalPosition & | ipGlobal () const |
The integration point for flux evaluations in global coordinates. More... | |
const GlobalPosition & | unitOuterNormal () const |
returns the unit outer normal vector (assumes non-curved geometries) More... | |
Geometry | geometry () const |
The geometry of the sub control volume face. More... | |
using Dumux::CCMpfaSubControlVolumeFace< GV, T >::GlobalPosition = typename T::GlobalPosition |
export the type used for global coordinates
using Dumux::CCMpfaSubControlVolumeFace< GV, T >::Traits = T |
state the traits public and thus export all types
|
inline |
Constructor.
helper | The helper class for mpfa schemes |
corners | The corners of the scv face |
unitOuterNormal | The unit outer normal vector of the scvf |
vIdxGlobal | The global vertex index the scvf is connected to |
vIdxLocal | The element-local vertex index the scvf is connected to |
scvfIndex | The global index of this scv face |
insideScvIdx | The inside scv index connected to this face |
outsideScvIndices | The outside scv indices connected to this face |
q | The parameterization of the quadrature point on the scvf for flux calculation |
boundary | Boolean to specify whether or not the scvf is on a boundary |
|
inline |
The area of the sub control volume face.
|
inline |
returns bolean if the sub control volume face is on the domain boundary
|
inline |
The center of the sub control volume face.
|
inline |
Returns the corner for a given local index.
|
inline |
Returns the number of corners.
|
inline |
Returns the global position of the center of the element facet this scvf is embedded in.
|
inline |
The geometry of the sub control volume face.
|
inline |
The global index of this sub control volume face.
|
inline |
index of the inside sub control volume
|
inline |
The integration point for flux evaluations in global coordinates.
|
inline |
The number of outside scvs connection via this scv face.
|
inline |
index of the outside sub control volume or boundary scv index returns undefined behaviour if index exceeds numOutsideScvs
|
inline |
returns the outside scv indices (can be more than one index for dim < dimWorld)
|
inline |
returns the unit outer normal vector (assumes non-curved geometries)
|
inline |
Returns the global position of the vertex the scvf is connected to.
|
inline |
Returns the index of the vertex the scvf is connected to.
|
inline |
Returns the element-local vertex index the scvf is connected to.