Skip to content

Commit 27af88b

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/main'
2 parents 5866f7c + 985a089 commit 27af88b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

poisson/1d/fenics/poisson.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ def solve_poisson_1d(ne, p=1):
1616
* p - polynomial order of the solution function space
1717
"""
1818
# Describe the domain (a one-dimensional unit interval)
19-
# and also the tesselation of that domain into ne
19+
# and also the tessellation of that domain into ne
2020
# equally spaced elements
2121
mesh = UnitIntervalMesh(ne)
22-
# Define the solution functionspace using Lagrange polynomials
22+
# Define the solution function space using Lagrange polynomials
2323
# of order p
2424
V = FunctionSpace(mesh, "Lagrange", p)
2525

26-
# Define the trial and test functions on the same functionspace (V)
26+
# Define the trial and test functions on the same function space (V)
2727
T_a = TrialFunction(V)
2828
T_t = TestFunction(V)
2929

poisson/2d/fenics/poisson.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ def solve_poisson_2d(ne, p=1):
1616
* p - polynomial order of the solution function space
1717
"""
1818
# Describe the domain (a unit square)
19-
# and also the tesselation of that domain into ne
19+
# and also the tessellation of that domain into ne
2020
# equally spaced squares in each dimension which are
2121
# subdivided into two triangular elements each
2222
mesh = UnitSquareMesh(ne, ne, diagonal='right')
23-
# Define the solution functionspace using Lagrange polynomials
23+
# Define the solution function space using Lagrange polynomials
2424
# of order p
2525
V = FunctionSpace(mesh, "Lagrange", p)
2626

27-
# Define the trial and test functions on the same functionspace (V)
27+
# Define the trial and test functions on the same function space (V)
2828
T_a = TrialFunction(V)
2929
T_t = TestFunction(V)
3030

0 commit comments

Comments
 (0)