3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Public Member Functions | List of all members
Dumux::ShallowWaterVolumeVariables< Traits > Class Template Reference

Volume variables for the shallow water equations model. More...

#include <dumux/freeflow/shallowwater/volumevariables.hh>

Description

template<class Traits>
class Dumux::ShallowWaterVolumeVariables< Traits >

Volume variables for the shallow water equations model.

Public Types

using PrimaryVariables = typename Traits::PrimaryVariables
 

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...
 
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...
 

Member Typedef Documentation

◆ PrimaryVariables

template<class Traits >
using Dumux::ShallowWaterVolumeVariables< Traits >::PrimaryVariables = typename Traits::PrimaryVariables

Member Function Documentation

◆ bedSurface()

template<class Traits >
Scalar Dumux::ShallowWaterVolumeVariables< Traits >::bedSurface ( ) const
inline

Return the bed surface inside the sub-control volume.

◆ extrusionFactor()

template<class Traits >
Scalar Dumux::ShallowWaterVolumeVariables< Traits >::extrusionFactor ( ) const
inline

Return the extrusion factor (dummy variable).

◆ update()

template<class Traits >
template<class ElemSol , class Problem , class Element , class Scv >
void Dumux::ShallowWaterVolumeVariables< Traits >::update ( const ElemSol &  elemSol,
const Problem &  problem,
const Element &  element,
const Scv &  scv 
)
inline

◆ velocity()

template<class Traits >
Scalar Dumux::ShallowWaterVolumeVariables< Traits >::velocity ( int  directionIndex) const
inline

Return water velocity component inside the sub-control volume.

Parameters
directionIndexindex of the direction staring at x = 0

◆ waterDepth()

template<class Traits >
Scalar Dumux::ShallowWaterVolumeVariables< Traits >::waterDepth ( ) const
inline

Return water detph h inside the sub-control volume.


The documentation for this class was generated from the following file: