/usr/share/doc/rheolef-doc/examples/burgers_flux_godunov.icc is in rheolef-doc 6.7-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 | 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;
}
|