diff options
author | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2000-03-06 17:54:19 +0000 |
---|---|---|
committer | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2000-03-06 17:54:19 +0000 |
commit | a605efeccf30f1ab733cc0f58694b4404750884d (patch) | |
tree | 491c8af891bf87ce057e229bb2bee1816b5de435 /src/Output3D.c | |
parent | 0e96493692789d2492379290fdbf2e4a7e72aceb (diff) |
Forgot to check outXXX_every parameter for triggered output.
Thomas
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@95 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src/Output3D.c')
-rw-r--r-- | src/Output3D.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Output3D.c b/src/Output3D.c index bcaca3f..441cb32 100644 --- a/src/Output3D.c +++ b/src/Output3D.c @@ -180,6 +180,10 @@ int IOFlexIO_TimeFor3D (cGH *GH, int index) CheckSteerableParameters (myGH); + /* Check if any output was requested */ + if (myGH->out3D_every <= 0) + return (0); + /* Check this var should be output */ if (! (myGH->do_out3D [index] && GH->cctk_iteration % myGH->out3D_every == 0)) return (0); |