aboutsummaryrefslogtreecommitdiff
path: root/src/patch/test_patch_system.cc
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2001-09-12 11:36:18 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2001-09-12 11:36:18 +0000
commit3914eeab13e12d340b5fb401f24270305e973933 (patch)
treec5b2b9aebc976b197e5c2e2f0ede980232c759eb /src/patch/test_patch_system.cc
parent6782b8eec1c3f692b9d8b5fbe6a448536215b415 (diff)
use nonzero gfn_min to exercise code more thoroughly
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@308 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/patch/test_patch_system.cc')
-rw-r--r--src/patch/test_patch_system.cc13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/patch/test_patch_system.cc b/src/patch/test_patch_system.cc
index 8e79c5d..2941239 100644
--- a/src/patch/test_patch_system.cc
+++ b/src/patch/test_patch_system.cc
@@ -246,12 +246,13 @@ default:
printf("## creating patch_system...\n");
// what gridfns will we use
-static const int N_gridfns = 4;
-static const int gfn_fn = 0; // common to all tests
-static const int gfn_ghosted_fn = 1; // for ghost-zone setup tests
-static const int gfn_deriv_fd = 1; // for finite diff tests
-static const int gfn_deriv_analytic = 2; // for finite diff tests
-static const int gfn_error = 3; // for finite diff tests
+static const int gfn_min = -1;
+static const int gfn_max = 2;
+static const int gfn_fn = -1; // common to all tests
+static const int gfn_ghosted_fn = 0; // for ghost-zone setup tests
+static const int gfn_deriv_fd = 0; // for finite diff tests
+static const int gfn_deriv_analytic = 1; // for finite diff tests
+static const int gfn_error = 2; // for finite diff tests
patch_system ps(origin_x, origin_y, origin_z,
type,
N_ghost_points, N_overlap_points, delta_drho_dsigma,