Skip to content

Commit 22f63a7

Browse files
Copilotpancetta
andcommitted
Fix minor style issues from code review
Co-authored-by: pancetta <7158893+pancetta@users.noreply.github.com> Agent-Logs-Url: https://github.com/Parallel-in-Time/pySDC/sessions/c6f96285-1ac7-4575-83b4-9ab4ed4e5208
1 parent 12b9ef1 commit 22f63a7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pySDC/playgrounds/Burgers_1D_FD/run_convergence.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,13 @@ def main():
115115
* ``nvars = 1023`` (4th-order FD, spatial floor
116116
:math:`\approx 1 \times 10^{-12}`)
117117
* :math:`T_\text{end} = 0.5`
118-
* Error measured vs.\ exact analytical solution.
118+
* Error measured vs. exact analytical solution.
119119
120120
Expected collocation order :math:`2M - 1 = 5`.
121121
"""
122122
max_order = 2 * _NUM_NODES - 1 # = 5
123123

124-
# Inhom case has time-dependent b_bc in f.impl → order reduction (2M-2=4).
124+
# Inhom case has time-dependent b_bc in f_impl → order reduction (2M-2=4).
125125
inhom_order = max_order - 1
126126

127127
# dt range: temporal error dominates for coarser dt, clean convergence
@@ -157,7 +157,7 @@ def main():
157157
print('=' * 70)
158158
print(f' Homogeneous BCs: converging to full collocation order {max_order}')
159159
print(f' Inhomogeneous (b_bc): order reduction — expected ≈ {inhom_order}')
160-
print(f' → time-dependent b_bc(t) in f.impl reduces collocation order by 1.')
160+
print(f' → time-dependent b_bc(t) in f_impl reduces collocation order by 1.')
161161
print(f' (Convergence plateaus at the 4th-order spatial error ~1e-12')
162162
print(f' once the temporal error falls below the O(dx⁴) floor.)')
163163

0 commit comments

Comments
 (0)