From a814b903024f97b7415ba3d51ac27ec03916b94e Mon Sep 17 00:00:00 2001 From: Joe Wallwork Date: Thu, 29 Aug 2024 09:27:47 +0100 Subject: [PATCH] Use new API in test --- test/test_monge_ampere.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_monge_ampere.py b/test/test_monge_ampere.py index b31bb68..2eec844 100644 --- a/test/test_monge_ampere.py +++ b/test/test_monge_ampere.py @@ -202,7 +202,8 @@ def test_coordinate_update(self): coords.interpolate(as_vector([x + 1, y])) mover = MongeAmpereMover(Mesh(coords), const_monitor) mover._grad_phi.interpolate(as_vector([1, 0])) - mover._update_coordinates() + mover._update_physical_coordinates() + mover.to_physical_coordinates() self.assertAlmostEqual(errornorm(mover.grad_phi, mover._grad_phi), 0) mover.xi.dat.data[:, 0] += 1 self.assertAlmostEqual(errornorm(mover.x, mover.xi), 0)