Rheolef  7.2
an efficient C++ finite element environment
 
Loading...
Searching...
No Matches
sinusprod_dirichlet.h
Go to the documentation of this file.
1
25#include "sinusprod.h"
26struct f {
27 Float operator() (const point& x) const { return d*sqr(pi)*_u(x); }
28 f(size_t d1) : d(d1), _u(d1), pi(acos(Float(-1))) {}
29 size_t d;
31};
32struct g {
33 Float operator() (const point& x) const { return _u(x); }
34 g(size_t d) : _u(d) {}
35 u_exact _u;
36};
see the Float page for the full documentation
see the point page for the full documentation
The sinus product function.
Definition cavity_dg.h:29
point operator()(const point &x) const
Definition cavity_dg.h:30
f(size_t d1)
const Float pi
u_exact _u
Definition cavity_dg.h:25
size_t d
point operator()(const point &x) const
Definition cavity_dg.h:26
g(size_t d)
u_exact _u