diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-04-22 14:49:17 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-04-22 14:49:17 +0000 |
commit | 0cbce999f77c1c82a83becb0d23356f353d4c796 (patch) | |
tree | a023cc12dbd67bcc91178b23b09845ef9a1f3967 | |
parent | 58ce9dcc3f66feb162dd9004fe993ae7db2c8fdd (diff) |
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
-rw-r--r-- | src/gr/driver.cc | 9 |
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\"!", |