Rheolef
7.2
an efficient C++ finite element environment
Loading...
Searching...
No Matches
cosinusprod.h
The cosinus product function.
The cosinus product function
struct
u_exact
{
Float
operator()
(
const
point
& x)
const
{
return
cos(
pi
*x[0])*cos(
pi
*x[1])*cos(
pi
*x[2]); }
u_exact
(
size_t
d1) :
d
(d1),
pi
(acos(
Float
(-1.0))) {}
size_t
d
;
Float
pi
;
};
Float
see the Float page for the full documentation
point
see the point page for the full documentation
u_exact
Definition
interpolate_RTk_polynom.icc:125
u_exact::d
size_t d
Definition
interpolate_RTk_polynom.icc:145
u_exact::operator()
point operator()(const point &x) const
Definition
interpolate_RTk_polynom.icc:126
u_exact::pi
Float pi
Definition
cosinusprod.h:29