aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gr/driver.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gr/driver.cc b/src/gr/driver.cc
index 1f2302a..70997f9 100644
--- a/src/gr/driver.cc
+++ b/src/gr/driver.cc
@@ -185,7 +185,10 @@ else if (STRING_EQUAL(initial_guess_method, "ellipsoid"))
initial_guess__ellipsoid__radius_x,
initial_guess__ellipsoid__radius_y,
initial_guess__ellipsoid__radius_z);
- ps.print_ghosted_gridfn(ghosted_gfns::gfn__h, "h.dat", false);
+ ps.print_ghosted_gridfn_with_xyz(ghosted_gfns::gfn__h,
+ true, ghosted_gfns::gfn__h,
+ "h.dat",
+ false); // no ghost zones
}
else CCTK_VWarn(-1, __LINE__, __FILE__, CCTK_THORNSTRING,
"unknown initial_guess_method=\"%s\"!",
@@ -198,7 +201,9 @@ else CCTK_VWarn(-1, __LINE__, __FILE__, CCTK_THORNSTRING,
if (STRING_EQUAL(method, "horizon"))
then {
horizon_function(ps, cgi, gii);
- ps.print_gridfn(nominal_gfns::gfn__H, "H.dat");
+ ps.print_gridfn_with_xyz(nominal_gfns::gfn__H,
+ true, ghosted_gfns::gfn__h,
+ "H.dat")
}
else CCTK_VWarn(-1, __LINE__, __FILE__, CCTK_THORNSTRING,
"unknown method=\"%s\"!",