HyPar  1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
LimiterSuperBee.c
Go to the documentation of this file.
1 
6 #include <mathfunctions.h>
7 #include <limiters.h>
8 
17  double r
18  )
19 {
20  double retval = max3(0, min(2*r,1), min(r,2));
21  return retval;
22 }
#define max3(a, b, c)
Definition: math_ops.h:27
Contains function definitions for common mathematical functions.
#define min(a, b)
Definition: math_ops.h:14
Definitions for limiter functions used in MUSCL-type reconstruction schemes.
double LimiterSuperBee(double r)