From 2ea6ecba66422a4fd8562a71127ab80978e9d613 Mon Sep 17 00:00:00 2001 From: tradke Date: Mon, 6 Mar 2000 17:47:12 +0000 Subject: 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 --- src/Output.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Output.c') 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 */ -- cgit v1.2.3