aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlanfer <lanfer@10716dce-81a3-4424-a2c8-48026a0d3035>2000-04-28 15:07:21 +0000
committerlanfer <lanfer@10716dce-81a3-4424-a2c8-48026a0d3035>2000-04-28 15:07:21 +0000
commit7f8acdff08fb9d088cf6ebc26d526d12bddfb513 (patch)
tree6996385485091cd358ffa68e09a011a8491c1dc4 /src
parent22cb80821bc16b8c6c3c4f5ba34b1088254e6722 (diff)
stuff
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@4 10716dce-81a3-4424-a2c8-48026a0d3035
Diffstat (limited to 'src')
-rw-r--r--src/CollectData1D.c2
-rw-r--r--src/TestSlab.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/CollectData1D.c b/src/CollectData1D.c
index c35fb59..bc23bdc 100644
--- a/src/CollectData1D.c
+++ b/src/CollectData1D.c
@@ -121,7 +121,7 @@ int CollectLocalData1D(cGH *GH, int vindex, int vtype, int vtypesize, int vtimel
printf("CollectLocal1D: %d npoints\n",nlocpoints);
- /*$ *loc_dptr= malloc(nlocpoints * vtypesize);$*/
+ *loc_dptr= malloc(nlocpoints * vtypesize);
l=0;
diff --git a/src/TestSlab.c b/src/TestSlab.c
index 9c6329f..8dbdeaa 100644
--- a/src/TestSlab.c
+++ b/src/TestSlab.c
@@ -28,7 +28,7 @@ int CollectLocalData1D(cGH *GH, int vindex, int vtype, int vtypesize, int vtimel
void TestSlab(CCTK_ARGUMENTS) {
DECLARE_CCTK_ARGUMENTS
- int gs[3], di[3], ds[1]; /* global start/direction/downsampling*/
+ int gs[3], di[3], ds; /* global start/direction/downsampling*/
int ls[3], le[3]; /* local start/end */
int nlocpoints; /* number of points */
int nprocs,iproc; /* number of procs */
@@ -54,7 +54,7 @@ void TestSlab(CCTK_ARGUMENTS) {
di[1]=-1;
di[2]=-2;
- ds[0]=1;
+ ds=1;
CollectLocalData1D(cctkGH, vindex, vtype, vtypesize, vtimelvl,
vdim, gs, di, ds, -1, &loc_dptr, &nlocpoints);