diff options
Diffstat (limited to 'src/ConfMetric.c')
-rw-r--r-- | src/ConfMetric.c | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/src/ConfMetric.c b/src/ConfMetric.c index 6510895..31dbe27 100644 --- a/src/ConfMetric.c +++ b/src/ConfMetric.c @@ -152,9 +152,19 @@ int SORConfMetric3D(cGH *GH, int *MetricPsiI, int conformal, /* If Robin BCs are set, prepare for a boundary call: setup stencil width and get Robin constants (set by the routine which is calling the solver interface) */ - if (Ell_GetStrKey(&robin, "EllLinConfMetric::Bnd::Robin")< 0) + if (conformal) + { + if (Ell_GetStrKey(&robin, "EllLinConfMetric::Bnd::Robin")< 0) + { + CCTK_WARN(1,"SORConfMetric3D: Robin keys not set for LinConfMetric solver"); + } + } + else { - CCTK_WARN(1,"SORConfMetric3D: Robin keys not set"); + if (Ell_GetStrKey(&robin, "EllLinMetric::Bnd::Robin")< 0) + { + CCTK_WARN(1,"SORConfMetric3D: Robin keys not set for LinMetric solver"); + } } if (CCTK_EQUALS(robin,"yes")) @@ -533,9 +543,13 @@ int SORConfMetric3D(cGH *GH, int *MetricPsiI, int conformal, } } + if (CCTK_Equals(elliptic_verbose,"debug")) + { + CCTK_VInfo(CCTK_THORNSTRING," .. residual at %f",glob_residual); + } } - if (elliptic_verbose) + if (CCTK_Equals(elliptic_verbose,"yes")) { CCTK_VInfo(CCTK_THORNSTRING,"Required SOR tolerence was set at %f",tol); CCTK_VInfo(CCTK_THORNSTRING,"Achieved SOR residual was %f",glob_residual); |