Exact gradient.
More...
|
FTensor::Tensor1< double, 3 > | operator() (const double x, const double y, const double t) const |
|
FTensor::Tensor1< double, 3 > | operator() (const double x, const double y, const double t) const |
|
FTensor::Tensor1< double, 3 > | operator() (const double x, const double y, const double z) const |
|
FTensor::Tensor1< double, 3 > | operator() (const double x, const double y, const double z) const |
|
FTensor::Tensor1< double, 3 > | operator() (const double x, const double y, const double z) const |
|
◆ operator()() [1/5]
◆ operator()() [2/5]
Definition at line 172 of file std_reac_diff.cpp.
173 {
175 double mx = -
T * cos(T * x) * sin(T * y);
176 double my = -
T * sin(T * x) * cos(T * y);
177 double hx, hy;
179 hx = 1.0 * mx;
180 hy = 1.0 * my;
181 } else {
182 hx = mx;
183 hy = my;
184 }
188 } else {
191 }
192 grad(2) = 0.0;
193 return grad;
194 }
◆ operator()() [3/5]
◆ operator()() [4/5]
Definition at line 42 of file analytical_poisson.cpp.
43 {
45 grad(0) = 2 * x;
46 grad(1) = 2 * y;
47 grad(2) = 3 * z * z;
48 return grad;
49 }
◆ operator()() [5/5]
The documentation for this struct was generated from the following files: