]> https://gitweb.dealii.org/ - dealii.git/commitdiff
switch to mathtt
authorTimo Heister <timo.heister@gmail.com>
Wed, 20 May 2020 20:56:06 +0000 (16:56 -0400)
committerTimo Heister <timo.heister@gmail.com>
Wed, 20 May 2020 21:15:49 +0000 (17:15 -0400)
examples/step-69/doc/intro.dox

index 556d156ca346c3b1e8ef0b1ae9126f38f19dd7fe..1fa6873e3a7a1a18eb69a7a8564200e03b872ad2 100644 (file)
@@ -317,9 +317,9 @@ $t_n$:
 @f{align*}
 &\textbf{for } i \in \mathcal{V} \\
 &\ \ \ \  \{\mathbf{c}_{ij}\}_{j \in \mathcal{I}(i)} \leftarrow
-\mathrm{gather\_cij\_vectors} (\textbf{c}, \mathcal{I}(i)) \\
+\mathtt{gather\_cij\_vectors} (\textbf{c}, \mathcal{I}(i)) \\
 &\ \ \ \ \{\textbf{U}_j^n\}_{j \in \mathcal{I}(i)} \leftarrow
-\mathrm{gather\_state\_vectors} (\textbf{U}^n, \mathcal{I}(i)) \\
+\mathtt{gather\_state\_vectors} (\textbf{U}^n, \mathcal{I}(i)) \\
 &\ \ \ \ \ \textbf{U}_i^{n+1} \leftarrow \mathbf{U}_i^{n} \\
 &\ \ \ \ \textbf{for } j \in \mathcal{I}(i)\backslash\{i\} \\
 &\ \ \ \ \ \ \ \  \texttt{compute } d_{ij} \\
@@ -327,7 +327,7 @@ $t_n$:
 &\ \ \ \ \ \ \ \  \textbf{U}_i^{n+1} \leftarrow \textbf{U}_i^{n+1} - \frac{\tau_n}{m_i}
  \mathbb{f}(\mathbf{U}_j^{n})\cdot \mathbf{c}_{ij} + d_{ij} \mathbf{U}_j^{n} \\
 &\ \ \ \ \textbf{end} \\
-&\ \ \ \ \mathrm{scatter\_updated\_state} (\textbf{U}_i^{n+1}) \\
+&\ \ \ \ \mathtt{scatter\_updated\_state} (\textbf{U}_i^{n+1}) \\
 &\textbf{end}
 @f}
 
@@ -336,8 +336,8 @@ We note here that:
 - Here $\textbf{c}$ and $\textbf{U}^n$ are a global matrix and a global vector
 containing all the vectors $\mathbf{c}_{ij}$ and all the states
 $\mathbf{U}_j^n$ respectively.
-- $\mathrm{gather\_cij\_vectors}$, $\mathrm{gather\_state\_vectors}$, and
-$\mathrm{scatter\_updated\_state}$ are hypothetical implementations that
+- $\mathtt{gather\_cij\_vectors}$, $\mathtt{gather\_state\_vectors}$, and
+$\mathtt{scatter\_updated\_state}$ are hypothetical implementations that
 either collect (from) or write (into) global matrices and vectors.
 - If we assume a Cartesian mesh in two space
 dimensions, first-order polynomial space $\mathbb{Q}^1$, and that

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.