/usr/share/doc/rheolef-doc/examples/cosinusrad.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 7 | struct u_exact {
Float operator() (const point& x) const {
Float r = sqrt(sqr(x[0])+sqr(x[1])+sqr(x[2]));
return cos(a*r); }
u_exact(size_t=0) : a(acos(Float(-1.0))) {}
Float a;
};
|