aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOASCII/src/ioascii.hh
diff options
context:
space:
mode:
authorschnetter <>2001-12-05 15:27:00 +0000
committerschnetter <>2001-12-05 15:27:00 +0000
commit9c13ee1c65f12896dbe5c0138ef78bc4b00e6b8b (patch)
treeed990a94c9f52a1c508cc354e0ab69d9a27671a4 /Carpet/CarpetIOASCII/src/ioascii.hh
parent32782efd12464461ae20217a20870bffdda09d48 (diff)
Prevent core dump when the specified output coordinate is not on the grid.
darcs-hash:20011205152726-07bb3-5c72caf0c73a825d3aacf4249277ecfa06a56ee0.gz
Diffstat (limited to 'Carpet/CarpetIOASCII/src/ioascii.hh')
-rw-r--r--Carpet/CarpetIOASCII/src/ioascii.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/Carpet/CarpetIOASCII/src/ioascii.hh b/Carpet/CarpetIOASCII/src/ioascii.hh
index 7bb8f3bb5..d46445fdd 100644
--- a/Carpet/CarpetIOASCII/src/ioascii.hh
+++ b/Carpet/CarpetIOASCII/src/ioascii.hh
@@ -1,4 +1,4 @@
-// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetIOASCII/src/ioascii.hh,v 1.9 2001/11/05 17:53:03 schnetter Exp $
+// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetIOASCII/src/ioascii.hh,v 1.10 2001/12/05 16:27:27 schnetter Exp $
#include <vector>
@@ -57,7 +57,8 @@ struct CarpetIOASCII {
const char* itempl, const char* iglobal,
const char* ctempl, const char* cglobal,
CCTK_REAL cfallback);
- static int CoordToOffset (const cGH* cgh, int dir, CCTK_REAL coord);
+ static int CoordToOffset (const cGH* cgh, int dir, CCTK_REAL coord,
+ int ifallback);
static const char* GetStringParameter
(const char* parametertemplate, const char* fallback);