Skip to content

Commit a1b8a60

Browse files
authored
Merge pull request #241 from brownbaerchen/spell_checking
Ran spell checker on tutorials
2 parents 798c925 + ee6bbde commit a1b8a60

22 files changed

+25
-25
lines changed

pySDC/core/BaseTransfer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def restrict(self):
8383
"""
8484
Space-time restriction routine
8585
86-
The routine applies the spatial restriction operator to teh fine values on the fine nodes, then reevaluates f
86+
The routine applies the spatial restriction operator to the fine values on the fine nodes, then reevaluates f
8787
on the coarse level. This is used for the first part of the FAS correction tau via integration. The second part
8888
is the integral over the fine values, restricted to the coarse level. Finally, possible tau corrections on the
8989
fine level are restricted as well.

pySDC/core/Collocation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def __init__(self, num_nodes=None, tleft=0, tright=1, node_type='LEGENDRE', quad
9090
self.node_type = node_type
9191
self.quad_type = quad_type
9292

93-
# Instanciate attributes
93+
# Instantiate attributes
9494
self.nodeGenerator = NodesGenerator(self.node_type, self.quad_type)
9595
if self.node_type == 'EQUID':
9696
self.order = num_nodes

pySDC/core/Controller.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def __init__(self, controller_params, description):
4040
controller_params (dict): parameter set for the controller and the steps
4141
"""
4242

43-
# check if we have a hook on this list. if not, use default class.
43+
# check if we have a hook on this list. If not, use default class.
4444
controller_params['hook_class'] = controller_params.get('hook_class', hookclass.hooks)
4545
self.__hooks = controller_params['hook_class']()
4646

@@ -262,7 +262,7 @@ def add_convergence_controller(self, convergence_controller, description, params
262262
Args:
263263
convergence_controller (pySDC.ConvergenceController): The convergence controller to be added
264264
description (dict): The description object used to instantiate the controller
265-
params (dict): Parametes for the convergence controller
265+
params (dict): Parameters for the convergence controller
266266
allow_double (bool): Allow adding the same convergence controller multiple times
267267
268268
Returns:

pySDC/core/Hooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class hooks(object):
2626
__num_restarts (int): number of restarts of the current step
2727
logger: logger instance for output
2828
__stats (dict): dictionary for gathering the statistics of a run
29-
__entry (namedtuple): statistics entry containign all information to identify the value
29+
__entry (namedtuple): statistics entry containing all information to identify the value
3030
"""
3131

3232
def __init__(self):

pySDC/core/Lagrange.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def computeFejerRule(n):
4343
v1 = np.empty(len(v0) - 1, dtype=complex)
4444
np.conjugate(v0[:0:-1], out=v1)
4545
v1 += v0[:-1]
46-
# -- Compute inverse fourier transform
46+
# -- Compute inverse Fourier transform
4747
w = np.fft.ifft(v1)
4848
if max(w.imag) > 1.0e-15:
4949
raise ValueError(f'Max imaginary value to important for ifft: {max(w.imag)}')

pySDC/core/Step.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def __generate_hierarchy(self, descr):
137137
# generate list of dictionaries out of the description
138138
descr_list = self.__dict_to_list(descr_new)
139139

140-
# sanity check: is there a base_transfer class? is there one even if only a single level is specified?
140+
# sanity check: is there a base_transfer class? Is there one even if only a single level is specified?
141141
if len(descr_list) > 1 and not descr_new['space_transfer_class']:
142142
msg = 'need %s to instantiate step, only got %s' % ('space_transfer_class', str(descr_new.keys()))
143143
self.logger.error(msg)

pySDC/core/Sweeper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def __init__(self, params):
6767

6868
if not coll.right_is_node and not self.params.do_coll_update:
6969
self.logger.warning(
70-
'we need to do a collocation update here, since the right end point is not a node. ' 'Changing this!'
70+
'we need to do a collocation update here, since the right end point is not a node. Changing this!'
7171
)
7272
self.params.do_coll_update = True
7373

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

0 commit comments

Comments
 (0)