/usr/share/doc/rheolef-doc/examples/navier_stokes_criterion.icc is in rheolef-doc 6.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 | field navier_stokes_criterion (Float Re, const field& uh) {
space T0h (uh.get_geo(), "P1d");
return interpolate (T0h, sqrt(Re*norm2(uh) + 4*norm2(D(uh))));
}
|