There was a disconnect between what was described in the introduction and the
actual class implementation.
\begin{array}{c}2 \\ 1+\frac 45 \sin(8\pi x)\end{array}
\right),
\\
+ s
+ &=&
+ 0.1,
+ \\
f({\mathbf x})
&=&
\left\{
\\
g
&=&
- e^{5(1-|{\mathbf x}|^2)} \sin(16\pi|{\mathbf x}|^2).
+ e^{5 (1 - |\mathbf x|^2)} \sin(16\pi|\mathbf x|^2).
@f}
For $d>2$, we extend $\beta$ and ${\mathbf x}_0$ by simply duplicating
the last of the components shown above one more time.
@f[
\eta_K =
\left(
- \frac {h_K}{12}
+ \frac {h_K}{24}
\int_{\partial K}
[\partial_n u_h]^2 \; d\sigma
\right)^{1/2},
(void)component;
Assert(component == 0, ExcIndexRange(component, 0, 1));
- const double sine_term = std::sin(16. * numbers::PI * p.norm());
- const double weight = std::exp(-5. * p.norm_square()) / std::exp(-5.);
- return sine_term * weight;
+ const double sine_term = std::sin(16. * numbers::PI * p.norm_square());
+ const double weight = std::exp(5. * (1. - p.norm_square()));
+ return weight * sine_term;
}
// @sect3{GradientEstimation class declaration}
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams