From 1c4d1b96dba064e680447576275a69e2a5e8ba60 Mon Sep 17 00:00:00 2001 From: allen Date: Tue, 4 Jan 2000 11:10:38 +0000 Subject: Removed the verbose statements, since I've moved them into the registration routine, and fixed a couple of bugs in the names of elliptic classes git-svn-id: http://svn.cactuscode.org/arrangements/CactusElliptic/EllBase/trunk@27 57bc7290-fb3d-4efd-a9b1-28e84cce6043 --- src/Startup.c | 19 ++++++------------- 1 file 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 */ -- cgit v1.2.3