aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodale <goodale@fa3da13c-9f13-4301-a575-cf5b8c5e1907>2000-12-16 02:03:18 +0000
committergoodale <goodale@fa3da13c-9f13-4301-a575-cf5b8c5e1907>2000-12-16 02:03:18 +0000
commitc4a89b621158da572dd84e1262b45d466b82f8ad (patch)
tree25d3fab015ef5e7bdec195af0f7a5b2ac8969301
parent5e1d5b54300d7bcb707585d1b0852dfb3ab4d6cc (diff)
Scheduled routine needs to take CCTK_ARGUMENTS.
Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusElliptic/EllSOR/trunk@65 fa3da13c-9f13-4301-a575-cf5b8c5e1907
-rw-r--r--src/Startup.c21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/Startup.c b/src/Startup.c
index df2e3d9..37c7fa7 100644
--- a/src/Startup.c
+++ b/src/Startup.c
@@ -4,20 +4,12 @@
#include <string.h>
#include "cctk.h"
+#include "cctk_Arguments.h"
#include "cctk_Parameters.h"
#include "CactusElliptic/EllBase/src/EllBase.h"
#include "CactusElliptic/EllBase/src/Ell_DBstructure.h"
-/* routine registers the SOR solver "sor_confmetric" under the name "sor"
- with the Elliptic Class "LinConfMetric".
-*/
-
-void EllSOR_Register(cGH *GH)
-{
-
- DECLARE_CCTK_PARAMETERS
-
void sor_confmetric(cGH *GH,
int *MetricPsiI,
int FieldI,
@@ -32,6 +24,17 @@ void EllSOR_Register(cGH *GH)
CCTK_REAL *AbsTol,
CCTK_REAL *RelTol);
+/* routine registers the SOR solver "sor_confmetric" under the name "sor"
+ with the Elliptic Class "LinConfMetric".
+*/
+
+void EllSOR_Register(CCTK_ARGUMENTS)
+{
+
+ DECLARE_CCTK_ARGUMENTS
+ DECLARE_CCTK_PARAMETERS
+
+
int err;
/* Register the solver with the elliptic classes */