Rheolef
7.2
an efficient C++ finite element environment
Loading...
Searching...
No Matches
cosinus_vector.h
Go to the documentation of this file.
1
25
struct
u_exact
{
26
point
operator()
(
const
point
& x)
const
{
27
return
point
(cos(
w
*(x[0]+2*x[1])),sin(
w
*(x[0]-2*x[1]))); }
28
u_exact
(
size_t
d
) :
w
(1) {}
29
Float
w
;
30
};
31
struct
div_u_exact
{
32
Float
operator()
(
const
point
& x)
const
{
33
return
-
w
*(sin(
w
*(x[0]+2*x[1])) + 2*cos(
w
*(-x[0]+2*x[1]))); }
34
div_u_exact
(
size_t
d
) :
w
(1) {}
35
Float
w
;
36
};
Float
see the Float page for the full documentation
point
see the point page for the full documentation
d
size_t d
Definition
neumann-laplace-lambda.cc:28
div_u_exact
Definition
cosinus_vector.h:31
div_u_exact::div_u_exact
div_u_exact(size_t d)
Definition
cosinus_vector.h:34
div_u_exact::w
Float w
Definition
cosinus_vector.h:35
div_u_exact::operator()
Float operator()(const point &x) const
Definition
cosinus_vector.h:32
u_exact
Definition
interpolate_RTk_polynom.icc:125
u_exact::u_exact
u_exact(size_t d)
Definition
cosinus_vector.h:28
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::w
Float w
Definition
interpolate_RTk_polynom.icc:145