aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodale <goodale@57bc7290-fb3d-4efd-a9b1-28e84cce6043>1999-11-30 23:43:55 +0000
committergoodale <goodale@57bc7290-fb3d-4efd-a9b1-28e84cce6043>1999-11-30 23:43:55 +0000
commit515eef83a29c3700a205068a753f239f75f8e91b (patch)
treef8084ebad05220297176a9e6110c607681745242
parentc99bf4dbcd00f0329506ea9cd02701be78ca279b (diff)
Added lots of missing function prototypes.
Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusElliptic/EllBase/trunk@25 57bc7290-fb3d-4efd-a9b1-28e84cce6043
-rw-r--r--interface.ccl3
-rw-r--r--src/EllBase.h26
-rw-r--r--src/Startup.c2
3 files changed, 29 insertions, 2 deletions
diff --git a/interface.ccl b/interface.ccl
index 6ebc6a1..828fc4c 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -1,3 +1,6 @@
# Interface definition for thorn EllBase
# $Header$
implements: ellbase
+
+INCLUDES: EllBase.h in EllBase.h
+INCLUDES: Ell_DBstructure.h in Ell_DBstructure.h
diff --git a/src/EllBase.h b/src/EllBase.h
index e01198c..985b7ee 100644
--- a/src/EllBase.h
+++ b/src/EllBase.h
@@ -1,5 +1,14 @@
-#ifndef _LINEARELLIPTIC_H_
-#define _LINEARELLIPTIC_H_
+ /*@@
+ @header EllBase.h
+ @date
+ @author Gerd Lanferman
+ @desc
+ Basic Elliptic solver functions.
+ @enddesc
+ @version $Header$
+ @@*/
+#ifndef _ELLBASE_H_
+#define _ELLBASE_H_
#ifdef CCODE
@@ -15,6 +24,19 @@
int MIndex, \
int NIndex \
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+void Ell_RegisterSolver(void (*function),
+ const char *sname,
+ const char *eqname);
+
+#ifdef __cplusplus
+}
#endif
#endif
+
+#endif /* _ELLBASE_H_ */
diff --git a/src/Startup.c b/src/Startup.c
index 2b3d7d2..2a74fab 100644
--- a/src/Startup.c
+++ b/src/Startup.c
@@ -5,6 +5,8 @@
#include "cctk.h"
#include "cctk_parameters.h"
+#include "Ell_DBstructure.h"
+
/* At Startup, EllBase registers the elliptic equation classes for which
it provides solvers. Other routines, which may come up with new classes,
can registers the classes in their own thorns. */