aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorallen <allen@5633253d-7678-4964-a54d-f87795f8ee59>2003-06-07 17:21:18 +0000
committerallen <allen@5633253d-7678-4964-a54d-f87795f8ee59>2003-06-07 17:21:18 +0000
commit93c0743acfc174d1455e6325deefd513fb4e5c6d (patch)
tree335cd38fcc3c7681a8b1566b8b2e8312946ac3e7 /src
parent10701d221b2e4ffc413c7ec50bdc35aa5efab4c1 (diff)
Added different bits of documentation, added code for a parameter
which wasn't being used (and changed its name but since it wasn't implemented hopefully noone was using outtimestep_every). Removed two scheduled routines which were not doing anything. Fixes Cactus/1377, Cactus/1378, Cactus/1384, Cactus/1379. Does not fix Cactus/1385 yet. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Time/trunk@55 5633253d-7678-4964-a54d-f87795f8ee59
Diffstat (limited to 'src')
-rw-r--r--src/Courant.c7
-rw-r--r--src/Simple.c2
2 files changed, 6 insertions, 3 deletions
diff --git a/src/Courant.c b/src/Courant.c
index d40fb84..ba6587e 100644
--- a/src/Courant.c
+++ b/src/Courant.c
@@ -74,12 +74,15 @@ void Time_Courant(CCTK_ARGUMENTS)
cctkGH->cctk_delta_time = *courant_dt;
if (verbose)
{
- CCTK_VInfo(CCTK_THORNSTRING,"Time step set to %f",cctkGH->cctk_delta_time);
+ CCTK_VInfo(CCTK_THORNSTRING,"Time step set to %g",cctkGH->cctk_delta_time);
}
}
else
{
cctkGH->cctk_delta_time = dtfac*min_spacing;
- CCTK_VInfo(CCTK_THORNSTRING,"Courant timestep would be %f",*courant_dt);
+ if (cctkGH->cctk_iteration % timestep_outevery == 0)
+ {
+ CCTK_VInfo(CCTK_THORNSTRING,"Courant timestep would be %g",*courant_dt);
+ }
}
}
diff --git a/src/Simple.c b/src/Simple.c
index 39c049c..af22128 100644
--- a/src/Simple.c
+++ b/src/Simple.c
@@ -63,7 +63,7 @@ void Time_Simple(CCTK_ARGUMENTS)
}
CCTK_VInfo(CCTK_THORNSTRING,
- "Timestep set to %f (Simple Courant)",cctkGH->cctk_delta_time);
+ "Timestep set to %g (courant_static)",cctkGH->cctk_delta_time);
}