aboutsummaryrefslogtreecommitdiff
path: root/src/gr/horizon_function.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gr/horizon_function.cc')
-rw-r--r--src/gr/horizon_function.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gr/horizon_function.cc b/src/gr/horizon_function.cc
index 50e9254..36d5746 100644
--- a/src/gr/horizon_function.cc
+++ b/src/gr/horizon_function.cc
@@ -33,6 +33,7 @@ using jtutil::error_exit;
#include "../util/patch_interp.hh"
#include "../util/ghost_zone.hh"
#include "../util/patch_system.hh"
+#include "../util/Jacobian.hh"
#include "gfn.hh"
#include "AHFinderDirect.hh"
@@ -98,8 +99,8 @@ void horizon_function(patch_system& ps,
{
CCTK_VInfo(CCTK_THORNSTRING, " horizon function");
-// fill in values of ghosted gridfns in ghost zones
-ps.synchronize(ghosted_gfns::gfn__h, ghosted_gfns::gfn__h);
+// fill in values of all ghosted gridfns in ghost zones
+ps.synchronize();
// set up xyz positions of grid points
setup_xyz_posns(ps);