Skip to content

Commit 8956e5a

Browse files
committed
add codespell
1 parent 719ef93 commit 8956e5a

7 files changed

Lines changed: 9 additions & 9 deletions

File tree

advection/advection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __init__(self, nx, ng, xmin=0.0, xmax=1.0):
5656
self.xmin = xmin
5757
self.xmax = xmax
5858

59-
# python is zero-based. Make easy intergers to know where the
59+
# python is zero-based. Make easy integers to know where the
6060
# real data lives
6161
self.ilo = ng
6262
self.ihi = ng+nx-1
@@ -182,7 +182,7 @@ def states(self, dt):
182182

183183

184184
# loop over all the interfaces. Here, i refers to the left
185-
# interface of the zone. Note that thre are 1 more interfaces
185+
# interface of the zone. Note that there are 1 more interfaces
186186
# than zones
187187
al = g.scratch_array()
188188
ar = g.scratch_array()

advection/fdadvect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def __init__(self, nx, ng, xmin=0.0, xmax=1.0):
2424
self.ng = ng
2525
self.nx = nx
2626

27-
# python is zero-based. Make easy intergers to know where the
27+
# python is zero-based. Make easy integers to know where the
2828
# real data lives
2929
self.ilo = ng
3030
self.ihi = ng+nx-1

advection/fv_mol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def __init__(self, nx, ng, xmin=0.0, xmax=1.0):
1010
self.ng = ng
1111
self.nx = nx
1212

13-
# python is zero-based. Make easy intergers to know where the
13+
# python is zero-based. Make easy integers to know where the
1414
# real data lives
1515
self.ilo = ng
1616
self.ihi = ng+nx-1

compressible/MOL/python/euler_mol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def __init__(self, nx, ng, xmin=0.0, xmax=1.0, bcs="outflow"):
2424

2525
self.bcs = bcs
2626

27-
# python is zero-based. Make easy intergers to know where the
27+
# python is zero-based. Make easy integers to know where the
2828
# real data lives
2929
self.ilo = ng
3030
self.ihi = ng+nx-1

compressible/weno_euler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def __init__(self, nx, ng, xmin=0.0, xmax=1.0, bc="outflow"):
1616

1717
self.bc = bc
1818

19-
# python is zero-based. Make easy intergers to know where the
19+
# python is zero-based. Make easy integers to know where the
2020
# real data lives
2121
self.ilo = ng
2222
self.ihi = ng+nx-1

finite-volume/conservative-interpolation-cyl.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"cell_type": "markdown",
4242
"metadata": {},
4343
"source": [
44-
"We want to construct a linear polynomal through that points $r_i$, $r_{i+1}$ that gives the correct averages,\n",
44+
"We want to construct a linear polynomial through that points $r_i$, $r_{i+1}$ that gives the correct averages,\n",
4545
"$r_i$, and $r_{i+1}$ when integrated over the volume, e.g.\n",
4646
"\n",
4747
"$$\\frac{1}{r_i \\Delta r} \\int_{r_{i-1/2}}^{r_{i+1/2}} f(r) r dr = f_i$$\n",

finite-volume/conservative-interpolation.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"cell_type": "markdown",
4040
"metadata": {},
4141
"source": [
42-
"We want to construct a quadratic polynomal through that points $x_{i-1}$, $x_i$, $x_{i+1}$ that gives the correct averages,\n",
42+
"We want to construct a quadratic polynomial through that points $x_{i-1}$, $x_i$, $x_{i+1}$ that gives the correct averages,\n",
4343
"$f_{i-1}$, $f_i$, and $f_{i-1}$ when integrated over the volume, e.g.\n",
4444
"\n",
4545
"$$\\frac{1}{\\Delta x} \\int_{x_{i-1/2}}^{x_{i+1/2}} f(x) dx = f_i$$\n",
@@ -308,7 +308,7 @@
308308
"cell_type": "markdown",
309309
"metadata": {},
310310
"source": [
311-
"We want to construct a cubic polynomal through that points $x_{i-2}$, $x_{i-1}$, $x_i$, $x_{i+1}$ that gives the correct averages,\n",
311+
"We want to construct a cubic polynomial through that points $x_{i-2}$, $x_{i-1}$, $x_i$, $x_{i+1}$ that gives the correct averages,\n",
312312
"$f_{i-2}$, $f_{i-1}$, $f_i$, and $f_{i-1}$ when integrated over the volume of each zone"
313313
]
314314
},

0 commit comments

Comments
 (0)