aboutsummaryrefslogtreecommitdiff
path: root/src/Output.c
diff options
context:
space:
mode:
authortradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880>2000-03-06 17:47:12 +0000
committertradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880>2000-03-06 17:47:12 +0000
commit2ea6ecba66422a4fd8562a71127ab80978e9d613 (patch)
treec733032a602bbd282e88ff13466d9a57685ac3b5 /src/Output.c
parentd8277e5fe0bbfbdd1b8bfc03143ed2b34b7dcd01 (diff)
CactusBase/252 fixed where the info header was missing for triggered output.
Also forgot to check outXXX_every parameter for triggered output. Thomas git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOBasic/trunk@41 b589c3ab-70e8-4b4d-a09f-cba2dd200880
Diffstat (limited to 'src/Output.c')
-rw-r--r--src/Output.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Output.c b/src/Output.c
index 12bfc9f..074dd0a 100644
--- a/src/Output.c
+++ b/src/Output.c
@@ -185,6 +185,10 @@ int IOBasic_TimeForOutput (cGH *GH, int index)
CheckSteerableParameters (myGH);
+ /* check if any output was requested */
+ if (myGH->outScalar_every <= 0)
+ return (0);
+
grouptype = CCTK_GroupTypeFromVarI (index);
/* Check this GF should be output */