aboutsummaryrefslogtreecommitdiff
path: root/src/EllBase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/EllBase.h')
-rw-r--r--src/EllBase.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/EllBase.h b/src/EllBase.h
index 59f40bc..fa4c518 100644
--- a/src/EllBase.h
+++ b/src/EllBase.h
@@ -14,10 +14,10 @@
#define ELL_SUCCESS 0
#define ELL_NOSOLVER -1
#define ELL_NOCONVERGENCE -2
+#define ELL_NOCLASS -3
#ifdef CCODE
-
/* Argumennt structure for the four different types of elliptic solvers
provided at this point. Difference is MetricI, MetricPsiI and StencilGFI, which
are arrays holding the grid function indices of the metric, metric+psi or
@@ -35,9 +35,9 @@ extern "C"
{
#endif
-void Ell_RegisterSolver(void (*function),
- const char *sname,
- const char *eqname);
+int Ell_RegisterSolver(void (*function),
+ const char *sname,
+ const char *eqname);
#ifdef __cplusplus
}