sinusrad.h
Go to the documentation of this file.
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
rheolef::pow
space_mult_list< T, M > pow(const space_basic< T, M > &X, size_t n)
Definition: space_mult.h:120
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