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