Rheolef
7.2
an efficient C++ finite element environment
Loading...
Searching...
No Matches
burgers_flux_godunov.icc
Go to the documentation of this file.
1
25
Float
phi
(
const
point
&
nu
,
Float
a,
Float
b) {
26
if
((
nu
[0] >= 0 && a <= b) || (
nu
[0] <= 0 && a >= b))
27
return
nu
[0]*min(sqr(a),sqr(b))/2;
28
else
29
return
nu
[0]*max(sqr(a),sqr(b))/2;
30
}
Float
see the Float page for the full documentation
point
see the point page for the full documentation
nu
Definition
nu.h:26
phi
Definition
phi.h:25