Loading [MathJax]/extensions/tex2jax.js
HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
All
Functions
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
c
d
e
f
g
i
l
m
o
p
r
s
t
u
w
~
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
Variables
Typedefs
Enumerations
Enumerator
+
Macros
_
a
c
d
g
i
m
n
r
s
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
LimiterSuperBee.c
Go to the documentation of this file.
1
6
#include <
mathfunctions.h
>
7
#include <
limiters.h
>
8
16
double
LimiterSuperBee
(
17
double
r
18
)
19
{
20
double
retval =
max3
(0,
min
(2*r,1),
min
(r,2));
21
return
retval;
22
}
max3
#define max3(a, b, c)
Definition:
math_ops.h:27
mathfunctions.h
Contains function definitions for common mathematical functions.
min
#define min(a, b)
Definition:
math_ops.h:14
limiters.h
Definitions for limiter functions used in MUSCL-type reconstruction schemes.
LimiterSuperBee
double LimiterSuperBee(double r)
Definition:
LimiterSuperBee.c:16