aboutsummaryrefslogtreecommitdiff
path: root/src/EllBase.h
diff options
context:
space:
mode:
authorallen <allen@57bc7290-fb3d-4efd-a9b1-28e84cce6043>2000-01-05 14:06:31 +0000
committerallen <allen@57bc7290-fb3d-4efd-a9b1-28e84cce6043>2000-01-05 14:06:31 +0000
commitb13b17b9a1fb3868dff62e4784da205b90e08623 (patch)
tree9875e3150183bad19fb4129c4b2c9983a61b8dc4 /src/EllBase.h
parentbc8c42986f183032e9cc2592eec10082bf6150a4 (diff)
Tidying and adding error codes.
Also made each of the registered solvers return an integer rather than a void so that the error codes can be passed back Standard elliptic error codes are now in CactusElliptic/EllBase/src/EllBase.h and so far are ELL_SUCCESS ELL_NOCONVERGENCE ELL_NOSOLVER git-svn-id: http://svn.cactuscode.org/arrangements/CactusElliptic/EllBase/trunk@29 57bc7290-fb3d-4efd-a9b1-28e84cce6043
Diffstat (limited to 'src/EllBase.h')
-rw-r--r--src/EllBase.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/EllBase.h b/src/EllBase.h
index 985b7ee..59f40bc 100644
--- a/src/EllBase.h
+++ b/src/EllBase.h
@@ -7,9 +7,14 @@
@enddesc
@version $Header$
@@*/
+
#ifndef _ELLBASE_H_
#define _ELLBASE_H_
+#define ELL_SUCCESS 0
+#define ELL_NOSOLVER -1
+#define ELL_NOCONVERGENCE -2
+
#ifdef CCODE
@@ -18,7 +23,8 @@
are arrays holding the grid function indices of the metric, metric+psi or
the 27 stencil grid functions, respectively */
-#define LINELL_FLAT3D_ARGS cGH *GH, \
+#define LINELL_FLAT3D_ARGS \
+ cGH *GH, \
CCTK_REAL tolerance, \
int FieldIndex, \
int MIndex, \