From c4a89b621158da572dd84e1262b45d466b82f8ad Mon Sep 17 00:00:00 2001 From: goodale Date: Sat, 16 Dec 2000 02:03:18 +0000 Subject: 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 --- src/Startup.c | 21 ++++++++++++--------- 1 file 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 #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 */ -- cgit v1.2.3