aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2002-04-22 14:57:29 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2002-04-22 14:57:29 +0000
commitca337a6176d82455b04e3552079f389852f49813 (patch)
treeae09f9a691ac168d35fb20a14854169a19f59b85
parentdae5ded79a1e104132222119191cd6cd165095e5 (diff)
tweak output printf format for print_gridfn_with_xyz() et al
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@574 f88db872-0e4f-0410-b76b-b9085cfa78c5
-rw-r--r--src/patch/patch_system.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/patch/patch_system.cc b/src/patch/patch_system.cc
index d06a2d4..d4fb1c1 100644
--- a/src/patch/patch_system.cc
+++ b/src/patch/patch_system.cc
@@ -1119,7 +1119,7 @@ if (output_fp == NULL)
const fp dpx = p.dpx_of_rho_sigma(rho, sigma);
const fp dpy = p.dpy_of_rho_sigma(rho, sigma);
fprintf(output_fp,
- "%g\t%g\t%.15g",
+ "%g\t%g\t%#.15g",
dpx, dpy, p.unknown_gridfn(ghosted_flag,
unknown_gfn, irho,isigma));
if (print_xyz_flag)
@@ -1134,7 +1134,7 @@ if (output_fp == NULL)
const fp global_y = global_y_of_local_y(local_y);
const fp global_z = global_z_of_local_z(local_z);
fprintf(output_fp,
- "\t%g\t%g\t%g",
+ "\t%#g\t%#g\t%#g",
global_x, global_y, global_z);
}
fprintf(output_fp, "\n");