Class storing data assigned to a cell-cell interfaces, so-called flux-data. More...
#include <dumux/porousmediumflow/1p/sequential/fluxdata.hh>
Class storing data assigned to a cell-cell interfaces, so-called flux-data.
Stores velocities and potentials at cell-cell interfaces. Further it provides methods which interpret stored phase potentials for upwind decisions.
TypeTag | The problem TypeTag |
Public Member Functions | |
FluxData1P () | |
Constructs a FluxData1P object. More... | |
const DimVector & | velocity (int indexInInside) |
Returns the velocity vector at a cell-cell interface. More... | |
const DimVector & | velocity (int indexInInside) const |
Returns the velocity vector at a cell-cell interface. More... | |
void | setVelocity (int indexInInside, DimVector &velocity) |
Sets the velocity vector at a cell-cell interface. More... | |
void | resetVelocity () |
Resets velocities and potentials. More... | |
void | setVelocityMarker (int indexInInside) |
Sets the velocity marker at a cell-cell interface. More... | |
bool | haveVelocity (int indexInInside) |
Check the velocity marker. More... | |
void | resetVelocityMarker () |
Resets the velocity marker. More... | |
bool | isUpwindCell (int indexInInside) |
Checks for upwind direction. More... | |
bool | isUpwindCell (int indexInInside) const |
Checks for upwind direction Returns true if the cell is the upwind cell, otherwise false More... | |
Scalar | potential (int indexInInside) |
Returns the potential at a cell-cell interface. More... | |
Scalar | potential (int indexInInside) const |
Returns the potential at a cell-cell interface. More... | |
void | setPotential (int indexInInside, Scalar pot) |
Sets the potential at a cell-cell interface. More... | |
|
inline |
Constructs a FluxData1P object.
|
inline |
Check the velocity marker.
Returns true
if a velocity marker was set, otherwise false
indexInInside | Index of the cell-cell interface in this cell |
|
inline |
Checks for upwind direction.
Returns true
if the cell is the upwind cell, otherwise false
indexInInside | Index of the cell-cell interface in this cell |
|
inline |
Checks for upwind direction Returns true
if the cell is the upwind cell, otherwise false
indexInInside | Index of the cell-cell interface in this cell |
|
inline |
Returns the potential at a cell-cell interface.
indexInInside | Index of the cell-cell interface in this cell |
|
inline |
Returns the potential at a cell-cell interface.
indexInInside | Index of the cell-cell interface in this cell |
|
inline |
Resets velocities and potentials.
|
inline |
Resets the velocity marker.
|
inline |
Sets the potential at a cell-cell interface.
indexInInside | Index of the cell-cell interface in this cell |
pot | Phase potential which is stored |
|
inline |
Sets the velocity vector at a cell-cell interface.
indexInInside | Index of the cell-cell interface in this cell |
velocity | Velocity vector which is stored |
|
inline |
Sets the velocity marker at a cell-cell interface.
This marker can be used to check if a velocity has already been stored for this interface
indexInInside | Index of the cell-cell interface in this cell |
|
inline |
Returns the velocity vector at a cell-cell interface.
indexInInside | Index of the cell-cell interface in this cell |
|
inline |
Returns the velocity vector at a cell-cell interface.
indexInInside | Index of the cell-cell interface in this cell |