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>
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. 
|  | 
| 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. 
 | 
|  | 
◆ 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
- 
  
    | spatialParams | Class encapsulating the spatial parameters |  | element | The finite element the scv is embedded in |  | scv | The sub-control volume for which the saturation is computed |  | elemSol | The solution at all dofs inside this element |  | sn | The nonwetting phase saturation at the global dof |  
 
 
 
The documentation for this class was generated from the following file: