]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix bracket mismatch in result part of step-33 647/head
authorLei Qiao <qiaol618@gmail.com>
Thu, 5 Mar 2015 04:33:09 +0000 (22:33 -0600)
committerLei Qiao <qiaol618@gmail.com>
Thu, 5 Mar 2015 04:33:09 +0000 (22:33 -0600)
examples/step-33/doc/results.dox

index 74407af04e4c8ed6426561c4e1b753edbc8d62d5..6736cfd9132745d8831eed99358c9153782cccc2 100644 (file)
@@ -264,14 +264,14 @@ The residual calulated in ConservationLaw::assemble_cell_term function
 reads 
    $R_i = \left(\frac{\mathbf{w}^{k}_{n+1} - \mathbf{w}_n}{\delta t}
     , \mathbf{z}_i \right)_K  +
-      \theta \mathbf{B}({\mathbf{w}^{k}_{n+1})(\mathbf{z}_i)_K +
-      (1-\theta) \mathbf{B}({\mathbf{w}_{n}) (\mathbf{z}_i)_K $
+      \theta \mathbf{B}({\mathbf{w}^{k}_{n+1}})(\mathbf{z}_i)_K +
+      (1-\theta) \mathbf{B}({\mathbf{w}_{n}}) (\mathbf{z}_i)_K $
 This means that we calculate the spatial residual twice at one Newton
-iteration step: once respect to the current solution ${\mathbf{w}^{k}_{n+1}$
+iteration step: once respect to the current solution $\mathbf{w}^{k}_{n+1}$
 and once more respect to the last time step solution $\mathbf{w}_{n}$ which
 remains the same during all Newton iterations through one timestep.
 Cache up the explicit part of residual
- $ \mathbf{B}({\mathbf{w}_{n}) (\mathbf{z}_i)_K}$
+ $ \mathbf{B}({\mathbf{w}_{n}}) (\mathbf{z}_i)_K$
 during Newton iteration will save lots of labor.
 
 

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.