This file contains different higher order methods for approximating the velocity.  
#include <dumux/freeflow/staggeredupwindmethods.hh>
|  | 
|  | StaggeredUpwindMethods (const std::string ¶mGroup="") | 
|  | 
| TvdApproach | tvdApproachFromString (const std::string &tvd) | 
|  | Convenience function to convert user input given as std::string to the corresponding enum class used for choosing the TVD Approach. 
 | 
|  | 
| std::string | tvdApproachToString (TvdApproach tvd) | 
|  | return the name of the TVD approach 
 | 
|  | 
| DifferencingScheme | differencingSchemeFromString (const std::string &differencingScheme) | 
|  | Convenience function to convert user input given as std::string to the corresponding enum class used for choosing the Discretization Method. 
 | 
|  | 
| std::string | differencingSchemeToString (DifferencingScheme differencingScheme) | 
|  | return the name of the Discretization Method 
 | 
|  | 
| Scalar | upwind (const Scalar downstreamMomentum, const Scalar upstreamMomentum) const | 
|  | Upwind Method. 
 | 
|  | 
| Scalar | tvd (const std::array< Scalar, 3 > &momenta, const std::array< Scalar, 3 > &distances, const bool selfIsUpstream, const TvdApproach tvdApproach) const | 
|  | Tvd Scheme: Total Variation Diminishing. 
 | 
|  | 
| Scalar | tvdUniform (const std::array< Scalar, 3 > &momenta, const std::array< Scalar, 3 > &distances, const bool selfIsUpstream) const | 
|  | Tvd Scheme: Total Variation Diminishing. 
 | 
|  | 
| Scalar | tvdLi (const std::array< Scalar, 3 > &momenta, const std::array< Scalar, 3 > &distances, const bool selfIsUpstream) const | 
|  | Tvd Scheme: Total Variation Diminishing. 
 | 
|  | 
| Scalar | tvdHou (const std::array< Scalar, 3 > &momenta, const std::array< Scalar, 3 > &distances, const bool selfIsUpstream) const | 
|  | Tvd Scheme: Total Variation Diminishing. 
 | 
|  | 
| const TvdApproach & | tvdApproach () const | 
|  | Returns the Tvd approach. 
 | 
|  | 
| const DifferencingScheme & | differencingScheme () const | 
|  | Returns the differencing scheme. 
 | 
|  | 
|  | 
| static Scalar | vanleer (const Scalar r, const Scalar R) | 
|  | Van Leer flux limiter function [Van Leer 1974]. 
 | 
|  | 
| static Scalar | vanalbada (const Scalar r, const Scalar R) | 
|  | Van Albada flux limiter function [Van Albada et al. 1982]. 
 | 
|  | 
| static Scalar | minmod (const Scalar r, const Scalar R) | 
|  | MinMod flux limiter function [Roe 1985]. 
 | 
|  | 
| static Scalar | superbee (const Scalar r, const Scalar R) | 
|  | SUPERBEE flux limiter function [Roe 1985]. 
 | 
|  | 
| static Scalar | umist (const Scalar r, const Scalar R) | 
|  | UMIST flux limiter function [Lien and Leschziner 1993]. 
 | 
|  | 
| static Scalar | mclimiter (const Scalar r, const Scalar R) | 
|  | 
| static Scalar | wahyd (const Scalar r, const Scalar R) | 
|  | WAHYD Scheme [Hou, Simons, Hinkelmann 2007];. 
 | 
|  | 
◆ StaggeredUpwindMethods()
template<class Scalar, int upwindSchemeOrder> 
 
 
◆ differencingScheme()
template<class Scalar, int upwindSchemeOrder> 
 
 
◆ differencingSchemeFromString()
template<class Scalar, int upwindSchemeOrder> 
 
 
◆ differencingSchemeToString()
template<class Scalar, int upwindSchemeOrder> 
 
 
◆ mclimiter()
template<class Scalar, int upwindSchemeOrder> 
 
 
◆ minmod()
template<class Scalar, int upwindSchemeOrder> 
 
 
◆ superbee()
template<class Scalar, int upwindSchemeOrder> 
 
With R != 2 is the modified SUPERBEE flux limiter function [Hou, Simons, Hinkelmann 2007] 
 
 
◆ tvd()
template<class Scalar, int upwindSchemeOrder> 
  
  | 
        
          | Scalar Dumux::StaggeredUpwindMethods< Scalar, upwindSchemeOrder >::tvd | ( | const std::array< Scalar, 3 > & | momenta, |  
          |  |  | const std::array< Scalar, 3 > & | distances, |  
          |  |  | const bool | selfIsUpstream, |  
          |  |  | const TvdApproach | tvdApproach ) const |  | inline | 
 
 
◆ tvdApproach()
template<class Scalar, int upwindSchemeOrder> 
 
 
◆ tvdApproachFromString()
template<class Scalar, int upwindSchemeOrder> 
 
 
◆ tvdApproachToString()
template<class Scalar, int upwindSchemeOrder> 
 
 
◆ tvdHou()
template<class Scalar, int upwindSchemeOrder> 
  
  | 
        
          | Scalar Dumux::StaggeredUpwindMethods< Scalar, upwindSchemeOrder >::tvdHou | ( | const std::array< Scalar, 3 > & | momenta, |  
          |  |  | const std::array< Scalar, 3 > & | distances, |  
          |  |  | const bool | selfIsUpstream ) const |  | inline | 
 
This function manages the non uniformities of the grid according to [Hou, Simons, Hinkelmann 2007]. It should behave better then the Li's version in very stretched grids. 
 
 
◆ tvdLi()
template<class Scalar, int upwindSchemeOrder> 
  
  | 
        
          | Scalar Dumux::StaggeredUpwindMethods< Scalar, upwindSchemeOrder >::tvdLi | ( | const std::array< Scalar, 3 > & | momenta, |  
          |  |  | const std::array< Scalar, 3 > & | distances, |  
          |  |  | const bool | selfIsUpstream ) const |  | inline | 
 
This function manages the non uniformities of the grid according to [Li, Liao 2007]. It tries to reconstruct the value for the velocity at the upstream-upstream point if the grid was uniform. 
 
 
◆ tvdUniform()
template<class Scalar, int upwindSchemeOrder> 
  
  | 
        
          | Scalar Dumux::StaggeredUpwindMethods< Scalar, upwindSchemeOrder >::tvdUniform | ( | const std::array< Scalar, 3 > & | momenta, |  
          |  |  | const std::array< Scalar, 3 > & | distances, |  
          |  |  | const bool | selfIsUpstream ) const |  | inline | 
 
This function assumes the cell size distribution to be uniform. 
 
 
◆ umist()
template<class Scalar, int upwindSchemeOrder> 
 
 
◆ upwind()
template<class Scalar, int upwindSchemeOrder> 
  
  | 
        
          | Scalar Dumux::StaggeredUpwindMethods< Scalar, upwindSchemeOrder >::upwind | ( | const Scalar | downstreamMomentum, |  
          |  |  | const Scalar | upstreamMomentum ) const |  | inline | 
 
 
◆ vanalbada()
template<class Scalar, int upwindSchemeOrder> 
 
 
◆ vanleer()
template<class Scalar, int upwindSchemeOrder> 
 
With R != 2 is the modified Van Leer flux limiter function [Hou, Simons, Hinkelmann 2007] 
 
 
◆ wahyd()
template<class Scalar, int upwindSchemeOrder> 
 
 
The documentation for this class was generated from the following file: