diff options
author | tradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2001-03-08 17:31:32 +0000 |
---|---|---|
committer | tradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2001-03-08 17:31:32 +0000 |
commit | 78ae196bf0a0245e9161ccea47bfb5c1b40ac671 (patch) | |
tree | 8f1a26d5a65a1a3cc48ecfd8899a227d64807c82 /src/ioutil_Utils.h | |
parent | c57e3bcf3beadc42d12ce5d7e6630410fee98c0a (diff) |
Use ceil() when computing the slice centers for 1D lines/2D planes.
This should fix PR CactusBase/536.
Also added missing grdoc and removed source file ChooseOutput.c
which isn't used here.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@111 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
Diffstat (limited to 'src/ioutil_Utils.h')
-rw-r--r-- | src/ioutil_Utils.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/ioutil_Utils.h b/src/ioutil_Utils.h index 16617fd..36c3878 100644 --- a/src/ioutil_Utils.h +++ b/src/ioutil_Utils.h @@ -19,18 +19,18 @@ extern "C" /* set the slice center for 1D lines */ -int IOUtil_1DLines (cGH *GH, - int dimension, - int **vindex, - CCTK_REAL **coord, - int **spxyz); +int IOUtil_1DLines (cGH *GH, + int num_dims, + int *const origin_index[], + CCTK_REAL *const origin_phys[], + int *slice_center[]); /* set the slice center for 2D planes */ -int IOUtil_2DPlanes (cGH *GH, - int dimension, - int *vindex, - CCTK_REAL *coord, - int *spxyz); +int IOUtil_2DPlanes (cGH *GH, + int num_dims, + const int origin_index[], + const CCTK_REAL origin_phys[], + int slice_center[]); #ifdef __cplusplus } |