aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOHDF5/param.ccl
diff options
context:
space:
mode:
authorRoland Haas <roland.haas@physics.gatech.edu>2012-05-05 15:12:59 -0700
committerBarry Wardell <barry.wardell@gmail.com>2012-09-11 18:23:31 +0100
commit3af3dfa78c78075b962b639fcd93cb2714a0f825 (patch)
tree101b6af505c9875f99677fd89bc399d86fd21130 /Carpet/CarpetIOHDF5/param.ccl
parentb59d64eb33a00920432e881a5b896e18ccc6a0b6 (diff)
CarpetIOHDF5: add option checkpoint_every_divisor
to checkpoint when cctk_iteration % checkpoint_every_divisor == 0 rather than at whenever checkpoint_every iterations have passed since the last checkpoint
Diffstat (limited to 'Carpet/CarpetIOHDF5/param.ccl')
-rw-r--r--Carpet/CarpetIOHDF5/param.ccl6
1 files changed, 6 insertions, 0 deletions
diff --git a/Carpet/CarpetIOHDF5/param.ccl b/Carpet/CarpetIOHDF5/param.ccl
index 83e8f8935..75a774516 100644
--- a/Carpet/CarpetIOHDF5/param.ccl
+++ b/Carpet/CarpetIOHDF5/param.ccl
@@ -437,6 +437,12 @@ BOOLEAN checkpoint_next "Checkpoint at next iteration ?" STEERABLE = ALWAYS
{
} "no"
+INT checkpoint_every_divisor "Checkpoint if (iteration % out_every) == 0" STEERABLE = ALWAYS
+{
+ 1:* :: "Every so many iterations"
+ -1:0 :: "Disable periodic checkpointing"
+} -1
+
BOOLEAN use_reflevels_from_checkpoint "Use 'CarpetRegrid::refinement_levels' from the checkpoint file rather than from the parameter file ?" STEERABLE = RECOVER
{
} "no"