]> https://gitweb.dealii.org/ - dealii.git/commitdiff
follow-up fixes
authorTimo Heister <timo.heister@gmail.com>
Thu, 24 Oct 2019 09:06:00 +0000 (11:06 +0200)
committerTimo Heister <timo.heister@gmail.com>
Thu, 24 Oct 2019 09:07:38 +0000 (11:07 +0200)
examples/step-12/doc/intro.dox
examples/step-12/step-12.cc

index fedcf898739d6f7f93e5406863c5e97c481db48d..c7fef8e9b850f65eafd1ac9fdfa2e84cb68ce303 100644 (file)
@@ -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]
index 4d6f136bcfa5bb285ab43a702b1544614065875a..619f7882d0ac37de8c90dfa6959d59028eeabd0d 100644 (file)
@@ -299,8 +299,8 @@ namespace Step12
   template <int dim>
   void AdvectionProblem<dim>::assemble_system()
   {
-    using ActiveCellIterator = typename DoFHandler<dim>::active_cell_iyerator;
-    const BoundaryValues<dim>                          boundary_function;
+    using Iterator = typename DoFHandler<dim>::active_cell_iterator;
+    const BoundaryValues<dim> boundary_function;
 
     // This is the function that will be executed for each cell.
     auto cell_worker = [&](const Iterator &  cell,

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


Typeset in Trocchi and Trocchi Bold Sans Serif.