Rheolef
7.2
an efficient C++ finite element environment
Loading...
Searching...
No Matches
sinusrad.h
The sinus radius function.
The sinus radius function
struct
u_exact
{
Float
operator()
(
const
point
& x)
const
{
Float
r = sqrt(sqr(x[0])+sqr(x[1])+sqr(x[2]));
return
1-pow(r,
n
);
}
u_exact
(
size_t
=0) :
n
(2) {}
size_t
n
;
};
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::operator()
point operator()(const point &x) const
Definition
interpolate_RTk_polynom.icc:126
u_exact::n
size_t n
Definition
sinusrad.h:31