Rheolef  7.2
an efficient C++ finite element environment
 
Loading...
Searching...
No Matches
cosinusprod_helmholtz.h
Go to the documentation of this file.
1
25struct f {
26 Float operator() (const point& x) const { return (1+d*sqr(pi))*cos(pi*x[0])*cos(pi*x[1])*cos(pi*x[2]); }
27 f(size_t d1) : d(d1), pi(acos(Float(-1.0))) {}
28 size_t d; const Float pi;
29};
see the Float page for the full documentation
see the point page for the full documentation
Definition cavity_dg.h:29
point operator()(const point &x) const
Definition cavity_dg.h:30
f(size_t d1)
const Float pi