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.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gr/horizon_function.cc b/src/gr/horizon_function.cc
index 745760b..400516b 100644
--- a/src/gr/horizon_function.cc
+++ b/src/gr/horizon_function.cc
@@ -50,7 +50,7 @@ void interpolate_geometry(patch_system& ps,
const struct cactus_grid_info& cgi,
const struct geometry_interpolator_info& ii);
void compute_H(patch_system& ps);
- };
+ }
//******************************************************************************
//******************************************************************************
@@ -100,7 +100,7 @@ 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);
+ps.synchronize(ghosted_gfns::gfn__h, ghosted_gfns::gfn__h);
// set up xyz positions of grid points
setup_xyz_posns(ps);
@@ -379,11 +379,11 @@ if (status == CCTK_ERROR_INTERP_POINT_X_RANGE)
assert(out_of_range_pt >= 0);
assert(out_of_range_pt < ps.N_grid_points());
const double global_x = ps.gridfn_data(nominal_gfns::gfn__global_x)
- [out_of_range_pt];
+ [out_of_range_pt];
const double global_y = ps.gridfn_data(nominal_gfns::gfn__global_y)
- [out_of_range_pt];
+ [out_of_range_pt];
const double global_z = ps.gridfn_data(nominal_gfns::gfn__global_z)
- [out_of_range_pt];
+ [out_of_range_pt];
assert(out_of_range_axis >= 0);
assert(out_of_range_axis < N_GRID_DIMS);