Skip to content

Commit 6dfc21c

Browse files
committed
TL: more mathjax fixes
1 parent 20aa851 commit 6dfc21c

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

docs/notebooks/12_nonLinearRK.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@
6363
"Consider for example the perturbed Lorenz attractor :\n",
6464
"\n",
6565
"$$\n",
66-
"\\begin{align}\n",
66+
"\\begin{aligned}\n",
6767
"\\frac{dx}{dt} &= \\sigma(y-x) \\\\\n",
6868
"\\frac{dy}{dy} &= x(\\rho(t)-z) - y, \\quad \\rho(t) = \\rho_0 + \\epsilon \\sin(t) \\\\\n",
6969
"\\frac{dz}{dt} &= xy - \\beta z\n",
70-
"\\end{align}\n",
70+
"\\end{aligned}\n",
7171
"$$\n",
7272
"\n",
7373
"Before solving it, we first need to define its **differential operator** $f(u, t)$ with $u=[x,y,z]^T$\n",

docs/notebooks/14_phiIntegrator.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,23 +156,23 @@
156156
"Defining $\\Delta{\\tau}_m = t_{m}-t_{m-1}$, we have for each node\n",
157157
"\n",
158158
"$$\n",
159-
"\\begin{align}\n",
159+
"\\begin{aligned}\n",
160160
"u_1 - \\Delta{\\tau}_1 f(u_1, t_1) &= u_0 \\\\\n",
161161
"u_2 - \\Delta{\\tau}_2 f(u_2, t_2) &= u_1 \\\\\n",
162162
"\\dots& \\\\\n",
163163
"u_M - \\Delta{\\tau}_M f(u_M, t_M) &= u_{M-1}\n",
164-
"\\end{align}\n",
164+
"\\end{aligned}\n",
165165
"$$\n",
166166
"\n",
167167
"By substitution we can rearrange those into :\n",
168168
"\n",
169169
"$$\n",
170-
"\\begin{align}\n",
170+
"\\begin{aligned}\n",
171171
"u_1 - \\Delta{\\tau}_1 f(u_1, t_1) &= u_0 \\\\\n",
172172
"u_2 - \\Delta{\\tau}_2 f(u_2, t_2) - \\Delta{\\tau}_1 f(u_1, t_1) &= u_0 \\\\\n",
173173
"\\dots& \\\\\n",
174174
"u_M - \\Delta{\\tau}_M f(u_M, t_M) - \\dots - \\Delta{\\tau}_1 f(u_1, t_1) &= u_0\n",
175-
"\\end{align}\n",
175+
"\\end{aligned}\n",
176176
"$$\n",
177177
"\n",
178178
"so we can identify the $\\phi$ function for Backward Euler :\n",

qmat/solvers/generic/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,12 +444,12 @@ def solveSDC(self, nSweeps, Q, weights, QDelta, uNum=None, tInit=0):
444444
445445
.. math::
446446
447-
\begin{align}
447+
\begin{aligned}
448448
u_{m}^{k+1} - \Delta{t}q^\Delta_{m,m}f(u_m^{k+1},t_m)
449449
=&~ u_0 + \Delta{t}\sum_{j=1}^{M}q_{m,j}f(u_j^k, t_j) \\
450450
&+ \Delta{t}\sum_{j=1}^{m-1}q^\Delta_{m,j}f(u_j^{k+1},t_j)
451451
- \Delta{t}\sum_{j=1}^{m}q^\Delta_{m,j}f(u_j^{k},t_j),
452-
\end{align}
452+
\end{aligned}
453453
454454
where :math:`q^\Delta_{i,j}` and :math:`q_{i,j}` are the coefficients
455455
of :math:`Q_\Delta` and :math:`Q`, respectively.

0 commit comments

Comments
 (0)