diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2001-09-14 16:20:24 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2001-09-14 16:20:24 +0000 |
commit | c0a480e3c6015fe56f45ccbe87fb055af6730f0f (patch) | |
tree | 7b1cfca9a6f37dfcecf9fc60e855e9b596d7adf3 /src/patch/patch.cc | |
parent | 1ad5b10ee6480c69659c71d2a4896e1f52645bbb (diff) |
tweak patch::print_gridfn() output format so new select.patch
perl script can select out individual patches.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@330 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/patch/patch.cc')
-rw-r--r-- | src/patch/patch.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/patch/patch.cc b/src/patch/patch.cc index 344308d..6b5c076 100644 --- a/src/patch/patch.cc +++ b/src/patch/patch.cc @@ -173,13 +173,14 @@ y_patch::y_patch(patch_system &my_patch_system_in, int patch_number_in, // // This function prints a gridfn in ASCII format to an already-open // stdio stream. The output format is suitable for a gnuplot 'splot' -// command. +// command. Individual patches may be selected with the select.patch +// program (perl script). // void patch::print_gridfn(int gfn, bool want_ghost_zones, FILE *output_fp = stdout) const { +fprintf(output_fp, "## %s patch\n", name()); fprintf(output_fp, "# gfn=%d\n", gfn); -fprintf(output_fp, "# %s patch\n", name()); fprintf(output_fp, "# dpx = %s\n", name_of_dpx()); fprintf(output_fp, "# dpy = %s\n", name_of_dpy()); fprintf(output_fp, "#\n"); |