Class including the information of an interaction volume of a MPFA L-method that does not change with time. More...
#include <dumux/porousmediumflow/sequential/cellcentered/mpfa/linteractionvolume.hh>
Class including the information of an interaction volume of a MPFA L-method that does not change with time.
Includes information needed to calculate the transmissibility matrix of an L-interaction-volume.
Public Types | |
enum | FaceTypes { inside = 1 , boundary = 0 , outside = -1 } |
Public Member Functions | |
FVMPFALInteractionVolume (const Grid &grid) | |
Constructs a FVMPFALInteractionVolume object. More... | |
void | reset () |
Delete stored information. More... | |
void | setStored () |
Mark storage as completed. More... | |
bool | isStored () const |
Returns true if information has already been stored. More... | |
void | setCenterPosition (DimVector ¢erVertexPos) |
Store position of the center vertex of the interaction volume. More... | |
void | setSubVolumeElement (const Element &element, int subVolumeIdx) |
Store an element of the interaction volume. More... | |
void | setFacePosition (const DimVector &pos, int subVolumeIdx, int subVolumeFaceIdxInInside) |
Store position of the center of a flux face. More... | |
void | setFaceArea (Scalar &faceArea, int subVolumeIdx, int subVolumeFaceIdxInInside) |
Store a flux face area. More... | |
void | setNormal (DimVector &normal, int subVolumeIdx, int subVolumeFaceIdxInInside) |
Store a flux face normal. More... | |
void | setBoundary (BoundaryTypes &boundaryTypes, int subVolumeFaceIdx) |
Store boundary condtion types for a flux face. More... | |
void | setOutsideFace (int subVolumeFaceIdx) |
Mark a flux face to be outside the model domain. More... | |
void | setDirichletCondition (PrimaryVariables &condition, int subVolumeFaceIdx) |
Store Dirichlet boundary condtions for a flux face. More... | |
void | setNeumannCondition (PrimaryVariables &condition, int subVolumeFaceIdx) |
Store Neumann boundary condtions for a flux face. More... | |
void | setIndexOnElement (int indexInInside, int subVolumeIdx, int subVolumeFaceIdxInInside) |
Store map from local interaction volume numbering to numbering of the Dune reference element. More... | |
DimVector & | getCenterPosition () |
Get position vector of central vertex. More... | |
int | getElementNumber () |
Get number of stored elements. More... | |
int | getIndexOnElement (int subVolumeIdx, int subVolumeFaceIdx) |
Map from local interaction volume numbering to numbering of the Dune reference element. More... | |
int | getFaceIndexFromSubVolume (int subVolumeIdx, int subVolumeFaceIdx) |
Map from local interaction volume numbering on element to numbering on interaction volume. More... | |
Element | getSubVolumeElement (int subVolumeIdx) |
Get an element of the interaction volume. More... | |
BoundaryTypes & | getBoundaryType (int subVolumeFaceIdx) |
Get boundary condtion types for a flux face. More... | |
bool | isOutsideFace (int subVolumeFaceIdx) |
Returns true if an interaction volume flux face is outside the model domain. More... | |
bool | isInsideFace (int subVolumeFaceIdx) |
Returns true if an interaction volume flux face is inside the model domain and no boundary face. More... | |
bool | isInnerVolume () |
Returns true if the interaction volume is completely inside the model domain. More... | |
bool | isBoundaryFace (int subVolumeFaceIdx) |
Returns true if an interaction volume flux face is a boundary face. More... | |
PrimaryVariables & | getDirichletValues (int subVolumeFaceIdx) |
Get the Dirichlet boundary condtions for a flux face. More... | |
PrimaryVariables & | getNeumannValues (int subVolumeFaceIdx) |
Get the Neumann boundary condtions for a flux face. More... | |
DimVector & | getNormal (int subVolumeIdx, int subVolumeFaceIdxInInside) |
Get a flux face normal. More... | |
DimVector & | getFacePosition (int subVolumeIdx, int subVolumeFaceIdxInInside) |
Get position of the center of a flux face. More... | |
Scalar & | getFaceArea (int subVolumeIdx, int subVolumeFaceIdxInInside) |
Get a flux face area. More... | |
void | printInteractionVolumeInfo () |
Outputs stored information. More... | |
enum Dumux::FVMPFALInteractionVolume::FaceTypes |
|
inline |
Constructs a FVMPFALInteractionVolume object.
|
inline |
Get boundary condtion types for a flux face.
subVolumeFaceIdx | The local face index in the interaction volume |
|
inline |
Get position vector of central vertex.
|
inline |
Get the Dirichlet boundary condtions for a flux face.
subVolumeFaceIdx | The local face index in the interaction volume |
|
inline |
Get number of stored elements.
|
inline |
Get a flux face area.
subVolumeIdx | The local element index in the interaction volume |
subVolumeFaceIdxInInside | The local face index in the interaction volume element |
|
inline |
Map from local interaction volume numbering on element to numbering on interaction volume.
subVolumeIdx | The local element index in the interaction volume |
subVolumeFaceIdx | The local face index in the interaction volume element |
|
inline |
Get position of the center of a flux face.
subVolumeIdx | The local element index in the interaction volume |
subVolumeFaceIdxInInside | The local face index in the interaction volume element |
|
inline |
|
inline |
Get the Neumann boundary condtions for a flux face.
subVolumeFaceIdx | The local face index in the interaction volume |
|
inline |
Get a flux face normal.
subVolumeIdx | The local element index in the interaction volume |
subVolumeFaceIdxInInside | The local face index in the interaction volume element |
|
inline |
Get an element of the interaction volume.
subVolumeIdx | The local element index in the interaction volume |
|
inline |
Returns true if an interaction volume flux face is a boundary face.
subVolumeFaceIdx | The local face index in the interaction volume |
|
inline |
Returns true if the interaction volume is completely inside the model domain.
|
inline |
Returns true if an interaction volume flux face is inside the model domain and no boundary face.
subVolumeFaceIdx | The local face index in the interaction volume |
|
inline |
Returns true if an interaction volume flux face is outside the model domain.
subVolumeFaceIdx | The local face index in the interaction volume |
|
inline |
Returns true if information has already been stored.
|
inline |
Outputs stored information.
|
inline |
Delete stored information.
|
inline |
Store boundary condtion types for a flux face.
boundaryTypes | BoundaryTypes object |
subVolumeFaceIdx | The local face index in the interaction volume |
|
inline |
Store position of the center vertex of the interaction volume.
|
inline |
Store Dirichlet boundary condtions for a flux face.
condition | Vector of primary variables |
subVolumeFaceIdx | The local face index in the interaction volume |
|
inline |
Store a flux face area.
faceArea | The flux face area |
subVolumeIdx | The local element index in the interaction volume |
subVolumeFaceIdxInInside | The local face index in the interaction volume element |
|
inline |
Store position of the center of a flux face.
pos | Position of face center |
subVolumeIdx | The local element index in the interaction volume |
subVolumeFaceIdxInInside | The local face index in the interaction volume element |
|
inline |
|
inline |
Store Neumann boundary condtions for a flux face.
condition | Vector phase fluxes |
subVolumeFaceIdx | The local face index in the interaction volume |
|
inline |
Store a flux face normal.
normal | The normal vector |
subVolumeIdx | The local element index in the interaction volume |
subVolumeFaceIdxInInside | The local face index in the interaction volume element |
|
inline |
Mark a flux face to be outside the model domain.
subVolumeFaceIdx | The local face index in the interaction volume |
|
inline |
Mark storage as completed.
|
inline |
Store an element of the interaction volume.
element | The element |
subVolumeIdx | The local element index in the interaction volume |