Volume variables for the shallow water equations model. More...
#include <dumux/freeflow/shallowwater/volumevariables.hh>
Volume variables for the shallow water equations model.
Public Types | |
| using | PrimaryVariables = typename Traits::PrimaryVariables |
| using | FluidSystem = typename Traits::FluidSystem |
| export the underlying fluid system More... | |
Public Member Functions | |
| template<class ElemSol , class Problem , class Element , class Scv > | |
| void | update (const ElemSol &elemSol, const Problem &problem, const Element &element, const Scv &scv) |
| Scalar | extrusionFactor () const |
| Return the extrusion factor (dummy variable). More... | |
| const PrimaryVariables & | priVars () const |
| Return the vector of primary variables. More... | |
| Scalar | waterDepth () const |
| Return water detph h inside the sub-control volume. More... | |
| Scalar | velocity (int directionIndex) const |
| Return water velocity component inside the sub-control volume. More... | |
| Scalar | bedSurface () const |
| Return the bed surface inside the sub-control volume. More... | |
| Scalar | density (int phaseIdx=0) const |
| Return the fluid density. More... | |
| using Dumux::ShallowWaterVolumeVariables< Traits >::FluidSystem = typename Traits::FluidSystem |
export the underlying fluid system
| using Dumux::ShallowWaterVolumeVariables< Traits >::PrimaryVariables = typename Traits::PrimaryVariables |
|
inline |
Return the bed surface inside the sub-control volume.
|
inline |
Return the fluid density.
|
inline |
Return the extrusion factor (dummy variable).
|
inline |
Return the vector of primary variables.
|
inline |
|
inline |
Return water velocity component inside the sub-control volume.
| directionIndex | index of the direction staring at x = 0 |
|
inline |
Return water detph h inside the sub-control volume.