aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOHDF5/interface.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetIOHDF5/interface.ccl')
-rw-r--r--Carpet/CarpetIOHDF5/interface.ccl11
1 files changed, 11 insertions, 0 deletions
diff --git a/Carpet/CarpetIOHDF5/interface.ccl b/Carpet/CarpetIOHDF5/interface.ccl
index e14a9c143..55d092e85 100644
--- a/Carpet/CarpetIOHDF5/interface.ccl
+++ b/Carpet/CarpetIOHDF5/interface.ccl
@@ -63,6 +63,17 @@ REQUIRES FUNCTION IO_TruncateOutputFiles
+# Checkpoint only a restricted set of variables
+# (Set ngroups=-1 to checkpoint all variables.)
+CCTK_INT \
+FUNCTION IO_SetCheckpointGroups(CCTK_INT ARRAY IN groups, \
+ CCTK_INT IN ngroups)
+PROVIDES FUNCTION IO_SetCheckpointGroups \
+ WITH CarpetIOHDF5_SetCheckpointGroups \
+ LANGUAGE C
+
+
+
# Return a pointer to an unmodifiable C string
# which contains a unique ID for this configuration
CCTK_POINTER_TO_CONST \