]> https://gitweb.dealii.org/ - release-papers.git/commitdiff
fix code alignment
authorTimo Heister <timo.heister@gmail.com>
Fri, 25 Jun 2021 03:41:03 +0000 (23:41 -0400)
committerTimo Heister <timo.heister@gmail.com>
Fri, 25 Jun 2021 03:41:03 +0000 (23:41 -0400)
9.3/paper.tex

index b6ecfcd5c4dfd655c0b9d525927b9efdfc7180ee..fe5467de2320f5ebd1009582c90a82a49891356e 100644 (file)
@@ -1014,10 +1014,10 @@ with face jump $\jump{\cdot}$ and average $\average{\cdot}$
 can be implemented as (also see \texttt{step-74}):
 \begin{c++}
   cell_matrix(i, j) +=
-  (- fe_iv.jump(i, q) * (fe_iv.average_gradient(j, q) * n)
-   - (fe_iv.average_gradient(i, q) * n) * fe_iv.jump(j, q)
-   + penalty * fe_iv.jump(i, q) * fe_iv.jump(j, q)  
-  ) * JxW[q];
+    ( - fe_iv.jump(i, q) * (fe_iv.average_gradient(j, q) * n)
+      - (fe_iv.average_gradient(i, q) * n) * fe_iv.jump(j, q)
+      + penalty * fe_iv.jump(i, q) * fe_iv.jump(j, q)  
+    ) * JxW[q];
 \end{c++}
 
 

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.