Skip to content

Commit 4ab008c

Browse files
author
Thomas Baumann
committed
Ran spell checker on tutorials
1 parent 798c925 commit 4ab008c

15 files changed

+17
-17
lines changed

pySDC/tutorial/step_1/B_spatial_accuracy_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def plot_accuracy(results):
150150

151151
# create new figure
152152
plt.figure()
153-
# take x-axis limits from nvars_list + some spacning left and right
153+
# take x-axis limits from nvars_list + some spacing left and right
154154
plt.xlim([min(nvars_list) / 2, max(nvars_list) * 2])
155155
plt.xlabel('nvars')
156156
plt.ylabel('abs. error')

pySDC/tutorial/step_1/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,6 @@ Important things to note:
9191
order in time with a 2nd order stencil in space.
9292
- Orders of convergence are not as stable as for the space-only test.
9393
One of the problems of this example is that we are actually trying to
94-
compute 0 very, very thorougly...
94+
compute 0 very, very thoroughly...
9595

9696
.. include:: doc_step_1_D.rst

pySDC/tutorial/step_2/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,6 @@ Important things to note:
8686
iteration counts for now. We will deal with these later.
8787
- This example is the prototype for a user to work with pySDC. Most of
8888
the logic and most of the data structures are hidden, but all
89-
relevant parameters are accessable using the ``description``.
89+
relevant parameters are accessible using the ``description``.
9090

9191
.. include:: doc_step_2_C.rst

pySDC/tutorial/step_3/A_getting_statistics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def main():
2121
f.write(out + '\n')
2222
print(out)
2323

24-
# filter statistics by first time intervall and type (residual)
24+
# filter statistics by first time interval and type (residual)
2525
residuals = get_sorted(stats, time=0.1, type='residual_post_iteration', sortby='iter')
2626

2727
for item in residuals:

pySDC/tutorial/step_3/B_adding_statistics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
def main():
1313
"""
14-
A simple tets program to retrieve user-defined statistics from a run
14+
A simple test program to retrieve user-defined statistics from a run
1515
"""
1616
Path("data").mkdir(parents=True, exist_ok=True)
1717

pySDC/tutorial/step_3/C_study_collocations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
def main():
1212
"""
13-
A simple test program to show th eenergy deviation for different quadrature nodes
13+
A simple test program to show the energy deviation for different quadrature nodes
1414
"""
1515
stats_dict = run_simulation()
1616

pySDC/tutorial/step_4/B_multilevel_hierarchy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def main():
4747
description['level_params'] = level_params # pass level parameters
4848
description['step_params'] = step_params # pass step parameters
4949
description['space_transfer_class'] = mesh_to_mesh # pass spatial transfer class
50-
description['space_transfer_params'] = space_transfer_params # pass paramters for spatial transfer
50+
description['space_transfer_params'] = space_transfer_params # pass parameters for spatial transfer
5151

5252
# now the description contains more or less everything we need to create a step with multiple levels
5353
S = step(description=description)

pySDC/tutorial/step_4/C_SDC_vs_MLSDC.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def main():
7373
description_mlsdc['level_params'] = level_params # pass level parameters
7474
description_mlsdc['step_params'] = step_params # pass step parameters
7575
description_mlsdc['space_transfer_class'] = mesh_to_mesh # pass spatial transfer class
76-
description_mlsdc['space_transfer_params'] = space_transfer_params # pass paramters for spatial transfer
76+
description_mlsdc['space_transfer_params'] = space_transfer_params # pass parameters for spatial transfer
7777

7878
# instantiate the controller (no controller parameters used here)
7979
controller_sdc = controller_nonMPI(num_procs=1, controller_params=controller_params, description=description_sdc)

pySDC/tutorial/step_5/A_multistep_multilevel_hierarchy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def main():
4747
description['level_params'] = level_params # pass level parameters
4848
description['step_params'] = step_params # pass step parameters
4949
description['space_transfer_class'] = mesh_to_mesh # pass spatial transfer class
50-
description['space_transfer_params'] = space_transfer_params # pass paramters for spatial transfer
50+
description['space_transfer_params'] = space_transfer_params # pass parameters for spatial transfer
5151

5252
# instantiate controller
5353
controller = controller_nonMPI(num_procs=10, controller_params={}, description=description)

pySDC/tutorial/step_5/B_my_first_PFASST_run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def main():
5555
description['level_params'] = level_params # pass level parameters
5656
description['step_params'] = step_params # pass step parameters
5757
description['space_transfer_class'] = mesh_to_mesh # pass spatial transfer class
58-
description['space_transfer_params'] = space_transfer_params # pass paramters for spatial transfer
58+
description['space_transfer_params'] = space_transfer_params # pass parameters for spatial transfer
5959

6060
# set time parameters
6161
t0 = 0.0
@@ -119,7 +119,7 @@ def main():
119119

120120
assert err < 1.3505e-04, "ERROR: error is too high, got %s" % err
121121
assert np.ptp(niters) <= 1, "ERROR: range of number of iterations is too high, got %s" % np.ptp(niters)
122-
assert np.mean(niters) <= 5.0, "ERROR: mean number of iteratiobs is too high, got %s" % np.mean(niters)
122+
assert np.mean(niters) <= 5.0, "ERROR: mean number of iterations is too high, got %s" % np.mean(niters)
123123

124124
f.close()
125125

0 commit comments

Comments
 (0)