From dfe54c5f1c47e39d66744612b49e06df4ac92bb4 Mon Sep 17 00:00:00 2001 From: allen Date: Thu, 23 May 2002 20:07:15 +0000 Subject: Some info statements and a verbose parameter for debugging git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Time/trunk@48 5633253d-7678-4964-a54d-f87795f8ee59 --- src/Simple.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Simple.c b/src/Simple.c index 31fd57d..5848d36 100644 --- a/src/Simple.c +++ b/src/Simple.c @@ -52,8 +52,18 @@ void Time_Simple(CCTK_ARGUMENTS) /* Calculate the timestep */ cctkGH->cctk_delta_time = dtfac*min_spacing; - - + if (verbose) + { + CCTK_VInfo(CCTK_THORNSTRING, + "Using simple courant condition to set timestep"); + CCTK_VInfo(CCTK_THORNSTRING, + " ... using dtfac of %f",dtfac); + CCTK_VInfo(CCTK_THORNSTRING, + " ... using minimum spacing of %f",min_spacing); + } + + CCTK_VInfo(CCTK_THORNSTRING, + "Timestep set to %f (Simple Courant)\n",cctkGH->cctk_delta_time); } -- cgit v1.2.3