Rheolef  7.2
an efficient C++ finite element environment
 
Loading...
Searching...
No Matches
taylor.h
Go to the documentation of this file.
1
25struct g {
26 point operator() (const point& x) const {
27 return point(-cos(pi*x[0])*sin(pi*x[1]),
28 sin(pi*x[0])*cos(pi*x[1])); }
29 g() : pi(acos(Float(-1.0))) {}
30 const Float pi;
31};
32struct f {
33 point operator() (const point& x) const { return 2*sqr(pi)*_g(x); }
34 f() : pi(acos(Float(-1.0))), _g() {}
35 const Float pi; g _g;
36};
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
g _g
Definition taylor.h:35
f()
Definition taylor.h:34
const Float pi
Definition cavity_dg.h:25
point operator()(const point &x) const
Definition cavity_dg.h:26
g()
Definition taylor.h:29
const Float pi