Memosa-FVM  0.2
ospre Struct Reference

#include <FluxLimiters.h>

Public Member Functions

template<class T >
operator() (const T a, const T b) const
 

Detailed Description

Definition at line 58 of file FluxLimiters.h.

Member Function Documentation

template<class T >
T ospre::operator() ( const T  a,
const T  b 
) const
inline

Definition at line 62 of file FluxLimiters.h.

63  {
64  if(a>0 && b!=0.)
65  return 1.5*(pow(a/b,2)+a/b)/(pow(a/b,2)+a/b+1.);
66  return 0.;
67  }

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