From: Timo Heister Date: Thu, 24 Oct 2019 09:06:00 +0000 (+0200) Subject: follow-up fixes X-Git-Tag: v9.2.0-rc1~836^2~7 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efbe0ff1f6cb1439aad3e908e2cf991639315512;p=dealii.git follow-up fixes --- diff --git a/examples/step-12/doc/intro.dox b/examples/step-12/doc/intro.dox index fedcf89873..c7fef8e9b8 100644 --- a/examples/step-12/doc/intro.dox +++ b/examples/step-12/doc/intro.dox @@ -69,12 +69,12 @@ all internal and external faces and as such there are three cases: Here, the jump is defined as $[v] = v^+ - v^-$, where the superscripts refer to the left ('+') and right ('-') values at the face. The upwind value -$u^{\text{UP}}$ is defined to be $u^+$ if $\beta \cdot n>0$ and $u^-$ otherwise. +$u^{\text{upwind}}$ is defined to be $u^+$ if $\beta \cdot n>0$ and $u^-$ otherwise. As a result, the mesh-dependent weak form reads: @f[ \sum_{T\in \mathbb T_h} -\bigl(\nabla \phi_i,{\mathbf \beta}\cdot \phi_j \bigr)_T + -\sum_{F\in\mathbb F_h^i} \bigl< [\phi_i], \phi_i^{UP} \beta\cdot \mathbf n\bigr>_{F} + +\sum_{F\in\mathbb F_h^i} \bigl< [\phi_i], \phi_i^{upwind} \beta\cdot \mathbf n\bigr>_{F} + \bigl<\phi_i, \phi_j \beta\cdot \mathbf n\bigr>_{\Gamma_+} = -\bigl<\phi_i, g \beta\cdot\mathbf n\bigr>_{\Gamma_-}. @f] diff --git a/examples/step-12/step-12.cc b/examples/step-12/step-12.cc index 4d6f136bcf..619f7882d0 100644 --- a/examples/step-12/step-12.cc +++ b/examples/step-12/step-12.cc @@ -299,8 +299,8 @@ namespace Step12 template void AdvectionProblem::assemble_system() { - using ActiveCellIterator = typename DoFHandler::active_cell_iyerator; - const BoundaryValues boundary_function; + using Iterator = typename DoFHandler::active_cell_iterator; + const BoundaryValues boundary_function; // This is the function that will be executed for each cell. auto cell_worker = [&](const Iterator & cell,