Rheolef  7.2
an efficient C++ finite element environment
 
Loading...
Searching...
No Matches
cavity_dg.h

The driven cavity benchmark: right-hand-side and boundary conditions for the discontinuous Galerkin method.

The driven cavity benchmark: right-hand-side and boundary conditions for the discontinuous Galerkin method

struct g {
point operator() (const point& x) const {
return point((abs(1-x[1]) < 1e-7) ? 1 : 0, 0, 0); }
};
struct f {
point operator() (const point& x) const { return point(0,0,0); }
};
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