From: Krishnakumar Gopalakrishnan Date: Sat, 6 Jun 2020 23:32:20 +0000 (+0100) Subject: fixes step-52 doc issue; the correct math expr is sin(x,pi/omega)=0 X-Git-Tag: v9.3.0-rc1~1407^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10475%2Fhead;p=dealii.git fixes step-52 doc issue; the correct math expr is sin(x,pi/omega)=0 --- diff --git a/examples/step-52/doc/intro.dox b/examples/step-52/doc/intro.dox index da38d817aa..4f4caf45bd 100644 --- a/examples/step-52/doc/intro.dox +++ b/examples/step-52/doc/intro.dox @@ -59,9 +59,9 @@ S=A\left(\frac{1}{v}\omega \cos(\omega t)(bx -x^2) + \sin(\omega t) \left(\Sigma_a (bx-x^2)+2D\right) \right). @f} Because the solution is a sine in time, we know that the exact solution -satisfies $\phi\left(x,\pi\right) = 0$. -Therefore, the error at time $t=\pi$ is simply the norm of the numerical -solution, i.e., $\|e(\cdot,t=\pi)\|_{L_2} = \|\phi_h(\cdot,t=\pi)\|_{L_2}$, +satisfies $\phi\left(x,\frac{\pi}{\omega}\right) = 0$. +Therefore, the error at time $t=\frac{\pi}{\omega}$ is simply the norm of the numerical +solution, i.e., $\|e(\cdot,t=\frac{\pi}{\omega})\|_{L_2} = \|\phi_h(\cdot,t=\frac{\pi}{\omega})\|_{L_2}$, and is particularly easily evaluated. In the code, we evaluate the $l_2$ norm of the vector of nodal values of $\phi_h$ instead of the $L_2$ norm of the associated spatial function, since the former is simpler to compute; however,