aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Startup.c19
1 files changed, 6 insertions, 13 deletions
diff --git a/src/Startup.c b/src/Startup.c
index 2a74fab..6384fc1 100644
--- a/src/Startup.c
+++ b/src/Startup.c
@@ -11,7 +11,10 @@
it provides solvers. Other routines, which may come up with new classes,
can registers the classes in their own thorns. */
-void Ell_RegisterBaseEqTypes(cGH *GH) {
+void Ell_RegisterBaseEqTypes(cGH *GH)
+{
+ DECLARE_CCTK_PARAMETERS
+
void Ell_RegisterEq(void (*function),const char *);
void Ell_LinConfMetricRegistry(void (*function),const char *);
void Ell_LinMetricRegistry(void (*function),const char *);
@@ -19,22 +22,12 @@ void Ell_RegisterBaseEqTypes(cGH *GH) {
void Ell_BrBrConfMetricRegistry(void (*function),const char *);
void Ell_PolyConfMetricRegistry(void (*function),const char *);
- DECLARE_CCTK_PARAMETERS
int err;
- if CCTK_EQUALS(elliptic_verbose,"yes") CCTK_INFO("Registering class: Ell_LinConfMetric....done");
Ell_RegisterEq(Ell_LinConfMetricRegistry,"Ell_LinConfMetric");
-
- if CCTK_EQUALS(elliptic_verbose,"yes") CCTK_INFO("Registering class: Ell_BrBrConfMetric....done");
- Ell_RegisterEq(Ell_BrBrConfMetricRegistry,"Ell_LinFlat");
-
- if CCTK_EQUALS(elliptic_verbose,"yes") CCTK_INFO("Registering class: Ell_PolyConfMetric....done");
- Ell_RegisterEq(Ell_PolyConfMetricRegistry,"Ell_LinFlat");
-
- if CCTK_EQUALS(elliptic_verbose,"yes") CCTK_INFO("Registering class: Ell_LinMetric....done");
+ Ell_RegisterEq(Ell_BrBrConfMetricRegistry,"Ell_BrBrConfMetric");
+ Ell_RegisterEq(Ell_PolyConfMetricRegistry,"Ell_PolyConfMetric");
Ell_RegisterEq(Ell_LinMetricRegistry,"Ell_LinMetric");
-
- if CCTK_EQUALS(elliptic_verbose,"yes") CCTK_INFO("Registering class: Ell_LinFlat....done");
Ell_RegisterEq(Ell_LinFlatRegistry,"Ell_LinFlat");
/* Register boundary SOR can handle */