aboutsummaryrefslogtreecommitdiff
path: root/src/patch/grid.hh
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2002-04-04 18:16:19 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2002-04-04 18:16:19 +0000
commitf1c76fa47eddc54273ef6b6c59f14b7b3ff469ab (patch)
tree44f85c5064430281d78de2c7e874519d6cb235f1 /src/patch/grid.hh
parentc6842f30d2c172214ca9db0d06a903aca3ba9c81 (diff)
rename some of the gridfn_arrays::gridfn_pars members
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@431 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/patch/grid.hh')
-rw-r--r--src/patch/grid.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/patch/grid.hh b/src/patch/grid.hh
index 6a6d907..a446a55 100644
--- a/src/patch/grid.hh
+++ b/src/patch/grid.hh
@@ -402,11 +402,13 @@ public:
struct gridfn_pars
{
int min_gfn, max_gfn;
+ int N_gridfns() const
+ { return jtutil::how_many_in_range(min_gfn, max_gfn); }
// gridfn storage will be automatically allocated
// and set to C-style row-major subscripting
// if pointer is NULL and strides are 0
fp *storage_array;
- int stride_gfn, stride_irho, stride_isigma;
+ int gfn_stride, irho_stride, isigma_stride;
};
//