diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-09-25 00:28:00 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-09-25 00:28:00 +0000 |
commit | a06a10c78fcd6c16d38e8579e8ae01337d98a934 (patch) | |
tree | da418918ad7aa4b6a2a36fbb6c19c72fe4ee5414 | |
parent | 36fce2d4ef154396976e5c9815d3969d4f4f4929 (diff) |
make more metadata explicit in the ASCI data file output format:
* ad N_patches=%d comment
* for each patch, add N_irho=%d and N_isigma=%d comments
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@767 f88db872-0e4f-0410-b76b-b9085cfa78c5
-rw-r--r-- | src/patch/patch_system.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/patch/patch_system.cc b/src/patch/patch_system.cc index e1c705c..ebf3c6a 100644 --- a/src/patch/patch_system.cc +++ b/src/patch/patch_system.cc @@ -1339,11 +1339,18 @@ if (output_fp == NULL) unknown_gfn, output_file_name); /*NOTREACHED*/ +fprintf(output_fp, "# N_patches = %d\n", N_patches()); +fprintf(output_fp, "\n"); + for (int pn = 0 ; pn < N_patches() ; ++pn) { const patch& p = ith_patch(pn); fprintf(output_fp, "### %s patch\n", p.name()); + fprintf(output_fp, "# N_rho = %d\n", + p.effective_N_irho(want_ghost_zones)); + fprintf(output_fp, "# N_sigma = %d\n", + p.effective_N_isigma(want_ghost_zones)); fprintf(output_fp, "# %s_gfn=%d\n", (ghosted_flag ? "ghosted" : "nominal"), unknown_gfn); fprintf(output_fp, "# dpx = %s\n", p.name_of_dpx()); |