From 0cbce999f77c1c82a83becb0d23356f353d4c796 Mon Sep 17 00:00:00 2001 From: jthorn Date: Mon, 22 Apr 2002 14:49:17 +0000 Subject: print h and H with xyz positions derived from h git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@572 f88db872-0e4f-0410-b76b-b9085cfa78c5 --- src/gr/driver.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/gr') 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\"!", -- cgit v1.2.3