diff options
Diffstat (limited to 'src/Startup.c')
-rw-r--r-- | src/Startup.c | 21 |
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 */ |