aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@40f6ab95-0e4f-0410-8daa-ee8d7420be1d>2006-06-22 16:24:26 +0000
committerschnetter <schnetter@40f6ab95-0e4f-0410-8daa-ee8d7420be1d>2006-06-22 16:24:26 +0000
commitdb6488bc50a49ca2872d223216b7bfd6422e8931 (patch)
treecd1249f6a23415cb86ce4c428e0a8ee0eb995664
parent6c86f3c2a75a97c1eb465eed7a07df23b7881b17 (diff)
Initialise all sf_valid to zero, indicating that no surface has been
set yet. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/SphericalSurface/trunk@22 40f6ab95-0e4f-0410-8daa-ee8d7420be1d
-rw-r--r--src/setup.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/setup.c b/src/setup.c
index 5c929ff..3bc37d9 100644
--- a/src/setup.c
+++ b/src/setup.c
@@ -112,5 +112,10 @@ void SphericalSurface_Setup (CCTK_ARGUMENTS)
}
}
- }
+
+
+ /* mark surface as uninitialised */
+ sf_valid[n] = 0;
+
+ } /* for n */
}