burgers_flux_godunov.icc
Go to the documentation of this file.
Float phi (const point& nu, Float a, Float b) {
if ((nu[0] >= 0 && a <= b) || (nu[0] <= 0 && a >= b))
return nu[0]*min(sqr(a),sqr(b))/2;
else
return nu[0]*max(sqr(a),sqr(b))/2;
}
phi
Float phi(const point &nu, Float a, Float b)
Definition: burgers_flux_godunov.icc:25
Float
see the Float page for the full documentation
point
see the point page for the full documentation
mkgeo_ball.b
int b
Definition: mkgeo_ball.sh:152
a
Definition: diffusion_isotropic.h:25
nu
Definition: nu.h:26