Skip to content

Commit

Permalink
Use accent consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
jwallwork23 committed Aug 29, 2024
1 parent 20e133d commit a5a785f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion movement/monge_ampere.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def MongeAmpereMover(mesh, monitor_function, method="relaxation", **kwargs):
:type pseudo_timestep: :class:`float`
:kwarg fix_boundary_nodes: should all boundary nodes remain fixed?
:type fix_boundary_nodes: :class:`bool`
:return: the Monge-Ampere Mover object
:return: the Monge-Ampère Mover object
:rtype: :class:`MongeAmpereMover_Relaxation` or
:class:`MongeAmpereMover_QuasiNewton`
"""
Expand Down
16 changes: 8 additions & 8 deletions test/test_monge_ampere.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class BaseClasses:
class TestMongeAmpere(unittest.TestCase):
"""
Base class for Monge-ampere unit tests.
Base class for Monge-Ampère unit tests.
"""

def mesh(self, dim=1, n=10, periodic=False):
Expand All @@ -34,7 +34,7 @@ def dummy_monitor(self):

class TestExceptions(BaseClasses.TestMongeAmpere):
"""
Unit tests for exceptions raised by Monge-Ampere movers.
Unit tests for exceptions raised by Monge-Ampère movers.
"""

def test_method_valueerror(self):
Expand Down Expand Up @@ -144,7 +144,7 @@ def test_periodic_plex_valueerror(self):

class TestMonitor(BaseClasses.TestMongeAmpere):
"""
Unit tests for monitor functions used by Monge-Ampere movers.
Unit tests for monitor functions used by Monge-Ampère movers.
"""

@parameterized.expand(
Expand Down Expand Up @@ -233,7 +233,7 @@ def test_change_monitor(self, dim, method):

class TestBCs(BaseClasses.TestMongeAmpere):
"""
Unit tests for boundary conditions of Monge-Ampere movers.
Unit tests for boundary conditions of Monge-Ampère movers.
"""

def _test_boundary_preservation(self, mesh, method, fixed_boundaries):
Expand Down Expand Up @@ -274,7 +274,7 @@ def _test_boundary_preservation(self, mesh, method, fixed_boundaries):
def test_periodic(self, dim, method):
"""
Test that periodic unit domains are not given boundary conditions by the
Monge-Ampere movers.
Monge-Ampère movers.
"""
mesh = self.mesh(dim=dim, periodic=True)
volume = assemble(Constant(1.0) * dx(domain=mesh))
Expand Down Expand Up @@ -317,7 +317,7 @@ def test_initial_guess_valueerror(self):
)
def test_boundary_preservation_axis_aligned(self, dim, method, fixed_boundaries):
"""
Test that boundaries of unit domains are preserved by the Monge-Ampere movers.
Test that boundaries of unit domains are preserved by the Monge-Ampère movers.
"""
mesh = self.mesh(dim=dim)
volume = assemble(Constant(1.0) * dx(domain=mesh))
Expand Down Expand Up @@ -352,7 +352,7 @@ def test_boundary_preservation_non_axis_aligned(
):
"""
Test that boundaries of rotated unit domains are preserved by the
Monge-Ampere movers.
Monge-Ampère movers.
"""
mesh = self.mesh(dim=dim)
volume = assemble(Constant(1.0) * dx(domain=mesh))
Expand Down Expand Up @@ -414,7 +414,7 @@ def test_boundary_preservation_non_axis_aligned(

class TestMisc(BaseClasses.TestMongeAmpere):
"""
Unit tests for other misc. functionality of Monge-Ampere movers.
Unit tests for other misc. functionality of Monge-Ampère movers.
"""

@parameterized.expand(
Expand Down

0 comments on commit a5a785f

Please sign in to comment.