aboutsummaryrefslogtreecommitdiff
path: root/CarpetDev/CarpetIOF5/interface.ccl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@aei.mpg.de>2005-04-25 16:10:00 +0000
committerErik Schnetter <schnetter@aei.mpg.de>2005-04-25 16:10:00 +0000
commitc3697a07c1256db7185c24750a4d3ca0506436d4 (patch)
tree207d09d80c0a369522f3ab83677d46fd8f0fa86d /CarpetDev/CarpetIOF5/interface.ccl
parent384d2acbe1f33481841c38823853fbd22976903c (diff)
CarpetIOF5: Start an I/O thorn that uses the F5 file format
darcs-hash:20050425161012-891bb-e7d03751330723d007d3dc97b0d56addc3ccda48.gz
Diffstat (limited to 'CarpetDev/CarpetIOF5/interface.ccl')
-rw-r--r--CarpetDev/CarpetIOF5/interface.ccl23
1 files changed, 23 insertions, 0 deletions
diff --git a/CarpetDev/CarpetIOF5/interface.ccl b/CarpetDev/CarpetIOF5/interface.ccl
new file mode 100644
index 000000000..a5cfb62ea
--- /dev/null
+++ b/CarpetDev/CarpetIOF5/interface.ccl
@@ -0,0 +1,23 @@
+# Interface definition for thorn CarpetIOF5
+
+IMPLEMENTS: IOF5
+
+USES INCLUDE: bbox.hh defs.hh vect.hh
+
+
+
+CCTK_INT next_output_iteration TYPE=scalar
+CCTK_REAL next_output_time TYPE=scalar
+CCTK_INT this_iteration TYPE=scalar
+
+
+
+CCTK_INT FUNCTION Coord_GroupSystem \
+ (CCTK_POINTER_TO_CONST IN cctkGH, \
+ CCTK_STRING IN groupname)
+REQUIRES FUNCTION Coord_GroupSystem
+
+# 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