diff options
author | allen <allen@57bc7290-fb3d-4efd-a9b1-28e84cce6043> | 2000-01-04 11:10:38 +0000 |
---|---|---|
committer | allen <allen@57bc7290-fb3d-4efd-a9b1-28e84cce6043> | 2000-01-04 11:10:38 +0000 |
commit | 1c4d1b96dba064e680447576275a69e2a5e8ba60 (patch) | |
tree | 7540765e9fbf56da66e8c578101d08ff2d03df00 | |
parent | 81004febf1a7a4ecd3b08ffc9ed829cc35ac3717 (diff) |
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
-rw-r--r-- | src/Startup.c | 19 |
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 */ |