summaryrefslogtreecommitdiff
path: root/src/IO/IOMethods.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/IO/IOMethods.c')
-rw-r--r--src/IO/IOMethods.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/IO/IOMethods.c b/src/IO/IOMethods.c
index 066a68f6..fcd1d938 100644
--- a/src/IO/IOMethods.c
+++ b/src/IO/IOMethods.c
@@ -7,6 +7,8 @@
@enddesc
@@*/
+/*#define DEBUG_IO*/
+
#include <stdio.h>
#include <stdlib.h>
@@ -409,6 +411,11 @@ int CactusDefaultOutputGH(cGH *GH)
method = (struct IOMethod *)CCTK_GetHandledData(IOMethods, handle);
if (method)
{
+
+#ifdef DEBUG_IO
+ printf("Calling IO method with handle %d \n",handle);
+#endif
+
method->OutputGH(GH);
}
else