diff options
Diffstat (limited to 'CarpetDev/CarpetIOF5/interface.ccl')
-rw-r--r-- | CarpetDev/CarpetIOF5/interface.ccl | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/CarpetDev/CarpetIOF5/interface.ccl b/CarpetDev/CarpetIOF5/interface.ccl new file mode 100644 index 000000000..4c09d8b12 --- /dev/null +++ b/CarpetDev/CarpetIOF5/interface.ccl @@ -0,0 +1,46 @@ +# Interface definition for thorn CarpetIOF5 + +IMPLEMENTS: CarpetIOF5 + +INHERITS: grid + +USES INCLUDE: carpet.hh + + + +# Return a pointer to an unmodifiable C string +# which contains a unique ID for this configuration +CCTK_POINTER_TO_CONST \ +FUNCTION UniqueConfigID (CCTK_POINTER_TO_CONST IN cctkGH) +USES FUNCTION UniqueConfigID + +# Return a pointer to an unmodifiable C string +# which contains a unique ID for this build +CCTK_POINTER_TO_CONST \ +FUNCTION UniqueBuildID (CCTK_POINTER_TO_CONST IN cctkGH) +USES FUNCTION UniqueBuildID + +# Return a pointer to an unmodifiable C string +# which contains a unique ID for this simulation +CCTK_POINTER_TO_CONST \ +FUNCTION UniqueSimulationID (CCTK_POINTER_TO_CONST IN cctkGH) +USES FUNCTION UniqueSimulationID + +# Return a pointer to an unmodifiable C string +# which contains a unique ID for this run +CCTK_POINTER_TO_CONST \ +FUNCTION UniqueRunID (CCTK_POINTER_TO_CONST IN cctkGH) +USES FUNCTION UniqueRunID + + + +# Check whether existing output files should be truncated or not +CCTK_INT FUNCTION IO_TruncateOutputFiles (CCTK_POINTER_TO_CONST IN cctkGH) +REQUIRES FUNCTION IO_TruncateOutputFiles + + + +# The setup of the system +CCTK_INT FUNCTION MultiPatch_GetSystemSpecification \ + (CCTK_INT OUT maps) +USES FUNCTION MultiPatch_GetSystemSpecification |