Skip to content

Commit aa189b0

Browse files
authored
Fix misspellings found with codespell (#173)
1 parent 5315369 commit aa189b0

27 files changed

Lines changed: 45 additions & 41 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,7 @@ defining-attr-methods = [
4242

4343
[tool.pylint.FORMAT]
4444
max-line-length = 132
45+
46+
[tool.codespell]
47+
skip = ".git,*docs/build"
48+
ignore-words-list = "pres"

pyro/compressible/interface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def states(idir, ng, dx, dt,
8181
qv : ndarray
8282
The primitive state vector
8383
dqv : ndarray
84-
Spatial derivitive of the state vector
84+
Spatial derivative of the state vector
8585
8686
Returns
8787
-------
@@ -1121,7 +1121,7 @@ def consFlux(idir, gamma, idens, ixmom, iymom, iener, irhoX, nspec, U_state):
11211121
def artificial_viscosity(ng, dx, dy,
11221122
cvisc, u, v):
11231123
r"""
1124-
Compute the artifical viscosity. Here, we compute edge-centered
1124+
Compute the artificial viscosity. Here, we compute edge-centered
11251125
approximations to the divergence of the velocity. This follows
11261126
directly Colella \ Woodward (1984) Eq. 4.5
11271127

pyro/compressible/problems/_ramp.defaults

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# these defaults comes from the third test problem in
22
# Woodward and Colella. Journal of Computational Physics, 54, 115-174, 1984
33
#
4-
# Also, the numbers is consitent with the ones in Castro
4+
# Also, the numbers is consistent with the ones in Castro
55
#
66

77

pyro/compressible/problems/quad.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def init_data(my_data, rp):
5353

5454
# there is probably an easier way to do this, but for now, we
5555
# will just do an explicit loop. Also, we really want to set
56-
# the pressue and get the internal energy from that, and then
56+
# the pressure and get the internal energy from that, and then
5757
# compute the total energy (which is what we store). For now
5858
# we will just fake this
5959

pyro/compressible/problems/ramp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def init_data(my_data, rp):
4545

4646
# there is probably an easier way to do this, but for now, we
4747
# will just do an explicit loop. Also, we really want to set
48-
# the pressue and get the internal energy from that, and then
48+
# the pressure and get the internal energy from that, and then
4949
# compute the total energy (which is what we store). For now
5050
# we will just fake this
5151

pyro/compressible/problems/rt2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""A RT problem with two distinct modes: short wave length on the
2-
left and long wavelenght on the right. This allows one to see
2+
left and long wavelength on the right. This allows one to see
33
how the growth rate depends on wavenumber.
44
"""
55

pyro/compressible/simulation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def initialize(self, extra_vars=None, ng=4):
129129
for v in extra_vars:
130130
my_data.register_var(v, bc)
131131

132-
# store the EOS gamma as an auxillary quantity so we can have a
132+
# store the EOS gamma as an auxiliary quantity so we can have a
133133
# self-contained object stored in output files to make plots.
134134
# store grav because we'll need that in some BCs
135135
my_data.set_aux("gamma", self.rp.get_param("eos.gamma"))
@@ -142,7 +142,7 @@ def initialize(self, extra_vars=None, ng=4):
142142
if self.rp.get_param("particles.do_particles") == 1:
143143
self.particles = particles.Particles(self.cc_data, bc, self.rp)
144144

145-
# some auxillary data that we'll need to fill GC in, but isn't
145+
# some auxiliary data that we'll need to fill GC in, but isn't
146146
# really part of the main solution
147147
aux_data = self.data_class(my_grid)
148148
aux_data.register_var("ymom_src", bc_yodd)

pyro/compressible_react/TODO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
-- modify the main compressible init to allow for auxillary advected
1+
-- modify the main compressible init to allow for auxiliary advected
22
quantities
33

4-
-- modify the interface reconstruction to allow for auxillary advected
4+
-- modify the interface reconstruction to allow for auxiliary advected
55
quantities
66

77
-- create a burning module that can be imported

pyro/compressible_sr/interface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def states(idir, ng, dx, dt,
8181
qv : ndarray
8282
The primitive state vector
8383
dqv : ndarray
84-
Spatial derivitive of the state vector
84+
Spatial derivative of the state vector
8585
8686
Returns
8787
-------
@@ -1157,7 +1157,7 @@ def consFlux(idir, idens, ixmom, iymom, iener, irhoX, iu, iv, ip, nspec, U_state
11571157
def artificial_viscosity(ng, dx, dy,
11581158
cvisc, u, v):
11591159
r"""
1160-
Compute the artifical viscosity. Here, we compute edge-centered
1160+
Compute the artificial viscosity. Here, we compute edge-centered
11611161
approximations to the divergence of the velocity. This follows
11621162
directly Colella \ Woodward (1984) Eq. 4.5
11631163

pyro/compressible_sr/problems/quad.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def init_data(my_data, rp):
5454

5555
# there is probably an easier way to do this, but for now, we
5656
# will just do an explicit loop. Also, we really want to set
57-
# the pressue and get the internal energy from that, and then
57+
# the pressure and get the internal energy from that, and then
5858
# compute the total energy (which is what we store). For now
5959
# we will just fake this
6060

0 commit comments

Comments
 (0)