version 3.10-dev
Dumux::TwoPScvSaturationReconstruction< DiscretizationMethod, enableReconstruction > Class Template Reference

Class that computes the nonwetting saturation in an scv from the saturation at the global degree of freedom. More...

#include <dumux/porousmediumflow/2p/saturationreconstruction.hh>

Description

template<class DiscretizationMethod, bool enableReconstruction>
class Dumux::TwoPScvSaturationReconstruction< DiscretizationMethod, enableReconstruction >

This is only necessary in conjunction with the box scheme where the degrees of freedom lie on material interfaces. There the nonwetting phase saturation is generally discontinuous.

Static Public Member Functions

template<class SpatialParams , class Element , class Scv , class ElemSol >
static ElemSol::PrimaryVariables::value_type reconstructSn (const SpatialParams &spatialParams, const Element &element, const Scv &scv, const ElemSol &elemSol, typename ElemSol::PrimaryVariables::value_type sn)
 Compute the nonwetting phase saturation in an scv. More...
 

Member Function Documentation

◆ reconstructSn()

template<class DiscretizationMethod , bool enableReconstruction>
template<class SpatialParams , class Element , class Scv , class ElemSol >
static ElemSol::PrimaryVariables::value_type Dumux::TwoPScvSaturationReconstruction< DiscretizationMethod, enableReconstruction >::reconstructSn ( const SpatialParams &  spatialParams,
const Element &  element,
const Scv &  scv,
const ElemSol &  elemSol,
typename ElemSol::PrimaryVariables::value_type  sn 
)
inlinestatic
Note
In the default case, we don't reconstruct anything. We do Reconstruction is only done when using the box method and enableReconstruction = true.
Parameters
spatialParamsClass encapsulating the spatial parameters
elementThe finite element the scv is embedded in
scvThe sub-control volume for which the saturation is computed
elemSolThe solution at all dofs inside this element
snThe nonwetting phase saturation at the global dof

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