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.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gr/horizon_function.cc b/src/gr/horizon_function.cc
index 04bb186..42e8f1d 100644
--- a/src/gr/horizon_function.cc
+++ b/src/gr/horizon_function.cc
@@ -95,6 +95,9 @@ void horizon_function(patch_system& ps,
{
CCTK_VInfo(CCTK_THORNSTRING, " horizon function");
+// fill in values of ghosted gridfns in ghost zones
+ps.synchronize_ghost_zones(ghosted_gfns::gfn__h, ghosted_gfns::gfn__h);
+
// compute xyz positions of grid points and xyz derivative coeffs
xyz_posns_and_deriv_coeffs(ps);