Rheolef
7.2
an efficient C++ finite element environment
Loading...
Searching...
No Matches
cosinusprod_grad.h
Go to the documentation of this file.
1
25
struct
grad_u
{
26
point
operator()
(
const
point
& x)
const
{
27
return
-
pi
*
point
(
28
sin(
pi
*x[0])*cos(
pi
*x[1])*cos(
pi
*x[2]),
29
cos(
pi
*x[0])*sin(
pi
*x[1])*cos(
pi
*x[2]),
30
cos(
pi
*x[0])*cos(
pi
*x[1])*sin(
pi
*x[2])); }
31
grad_u
(
size_t
d1) :
d
(d1),
pi
(acos(
Float
(-1.0))) {}
32
size_t
d
;
Float
pi
;
33
};
Float
see the Float page for the full documentation
point
see the point page for the full documentation
grad_u
Definition
combustion_exact.icc:34
grad_u::d
size_t d
Definition
cosinusprod_grad.h:32
grad_u::operator()
point operator()(const point &x) const
Definition
combustion_exact.icc:35
grad_u::grad_u
grad_u(size_t d1)
Definition
cosinusprod_grad.h:31
grad_u::pi
Float pi
Definition
cosinusprod_grad.h:32