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)