Rheolef  7.2
an efficient C++ finite element environment
cavity_dg.h
Go to the documentation of this file.
1 struct g {
26  point operator() (const point& x) const {
27  return point((abs(1-x[1]) < 1e-7) ? 1 : 0, 0, 0); }
28 };
29 struct f {
30  point operator() (const point& x) const { return point(0,0,0); }
31 };
see the point page for the full documentation
Definition: cavity_dg.h:29
point operator()(const point &x) const
Definition: cavity_dg.h:30
Definition: cavity_dg.h:25
point operator()(const point &x) const
Definition: cavity_dg.h:26