cosinusprod_helmholtz.h

The cosinus product function – right-hand-side and boundary condition for the Helmholz problem

struct f {
Float operator() (const point& x) const { return (1+d*sqr(pi))*cos(pi*x[0])*cos(pi*x[1])*cos(pi*x[2]); }
f(size_t d1) : d(d1), pi(acos(Float(-1.0))) {}
size_t d; const Float pi;
};
f::d
size_t d
Definition: cosinusprod_dirichlet.h:30
f::operator()
point operator()(const point &x) const
Definition: cavity_dg.h:30
Float
see the Float page for the full documentation
f::f
f()
Definition: taylor.h:34
point
see the point page for the full documentation
f::pi
const Float pi
Definition: cosinusprod_dirichlet.h:30
f
Definition: cavity_dg.h:29