aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschnetter <schnetter@b2a53a04-0f4f-0410-87ed-f9f25ced00cf>2006-05-07 22:09:58 +0000
committerschnetter <schnetter@b2a53a04-0f4f-0410-87ed-f9f25ced00cf>2006-05-07 22:09:58 +0000
commit06ab7ee0d3a166433e1ea86d5eb2868d0fff6b54 (patch)
tree0614e1d18041591cd88c63c33d72afec6ac78b0f /src
parentf254b589c08bd1e846594a60e9043f39263ea9d4 (diff)
Print info about the solver in the initial bin, not in the paramcheck
bin. The paramcheck bin is executed while recovering, and it is confusing to see solver messages while recovering. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/TwoPunctures/trunk@56 b2a53a04-0f4f-0410-87ed-f9f25ced00cf
Diffstat (limited to 'src')
-rw-r--r--src/ParamCheck.c10
-rw-r--r--src/TwoPunctures.c12
2 files changed, 13 insertions, 9 deletions
diff --git a/src/ParamCheck.c b/src/ParamCheck.c
index 6759e20..6931691 100644
--- a/src/ParamCheck.c
+++ b/src/ParamCheck.c
@@ -18,15 +18,11 @@ TwoPunctures_ParamCheck (CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS;
DECLARE_CCTK_PARAMETERS;
+
if (use_sources)
{
- CCTK_INFO("Solving for BH-NS");
if (! CCTK_IsFunctionAliased ("Set_Rho_ADM"))
- CCTK_WARN(0, "I found no (aliased) function for matter sources, but "
- "was said to use matter.");
+ CCTK_WARN (0, "Matter sources have been enabled, "
+ "but there is no aliased function for matter sources.");
}
- else
- CCTK_INFO("Solving for BHs");
- CCTK_VInfo(CCTK_THORNSTRING, "The two puncture-masses are %.16e and %.16e.\n",
- par_m_minus, par_m_plus);
}
diff --git a/src/TwoPunctures.c b/src/TwoPunctures.c
index 4e8b6f5..a48cf79 100644
--- a/src/TwoPunctures.c
+++ b/src/TwoPunctures.c
@@ -195,8 +195,16 @@ TwoPunctures (CCTK_ARGUMENTS)
F = dvector (0, ntotal - 1);
allocate_derivs (&u, ntotal);
allocate_derivs (&v, ntotal);
-
- CCTK_INFO ("Solving puncture equation");
+
+ if (use_sources) {
+ CCTK_INFO ("Solving puncture equation for BH-NS system");
+ } else {
+ CCTK_INFO ("Solving puncture equation for BH-BH system");
+ }
+ CCTK_VInfo (CCTK_THORNSTRING,
+ "The two puncture masses are %g and %g",
+ (double) par_m_minus, (double) par_m_plus);
+
/* initialise to 0 */
for (j = 0; j < ntotal; j++)
{