Loading...
Searching...
No Matches
cosinus_vector.h
Go to the documentation of this file.
struct u_exact {
point operator() (const point& x) const {
return point(cos(w*(x[0]+2*x[1])),sin(w*(x[0]-2*x[1]))); }
u_exact(size_t d) : w(1) {}
Float w;
};
struct div_u_exact {
Float operator() (const point& x) const {
return -w*(sin(w*(x[0]+2*x[1])) + 2*cos(w*(-x[0]+2*x[1]))); }
div_u_exact(size_t d) : w(1) {}
Float w;
};
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