Rheolef
7.2
an efficient C++ finite element environment
Loading...
Searching...
No Matches
sinusrad.h
Go to the documentation of this file.
1
25
struct
u_exact
{
26
Float
operator()
(
const
point
& x)
const
{
27
Float
r = sqrt(sqr(x[0])+sqr(x[1])+sqr(x[2]));
28
return
1-pow(r,
n
);
29
}
30
u_exact
(
size_t
=0) :
n
(2) {}
31
size_t
n
;
32
};
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
u_exact::u_exact
u_exact(size_t=0)
Definition
sinusrad.h:30