aboutsummaryrefslogtreecommitdiff
path: root/src/GHExtension.c
diff options
context:
space:
mode:
authorallen <allen@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a>1999-07-01 15:36:26 +0000
committerallen <allen@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a>1999-07-01 15:36:26 +0000
commit07ce95a7038b11677d8ac36c792af4d8cb886718 (patch)
tree5c1f88e9c479958e31b0f51c73e3255b64cb7dc9 /src/GHExtension.c
parent2955beeb45f612135ec69defc628cc8a0ff49808 (diff)
Added tag for info output.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@9 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
Diffstat (limited to 'src/GHExtension.c')
-rw-r--r--src/GHExtension.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/GHExtension.c b/src/GHExtension.c
index f42286b..7cfd951 100644
--- a/src/GHExtension.c
+++ b/src/GHExtension.c
@@ -23,6 +23,7 @@
#include "Groups.h"
#include "Comm.h"
#include "Misc.h"
+#include "WarnLevel.h"
#include "GHExtensions.h"
#include "cctk_parameters.h"
#include "ioGH.h"
@@ -44,10 +45,13 @@ int IOUtil_InitGH(cGH *GH)
myGH = (ioGH *) GH->extensions [CCTK_GetGHExtensionHandle ("IO")];
/* How often to output with each method */
+ myGH->infoevery = IO_every;
myGH->IO_0Devery = IO_every;
myGH->IO_1Devery = IO_every;
myGH->IO_3Devery = IO_every;
myGH->IO_2Devery = IO_every;
+ if (info_every > 0)
+ myGH->infoevery = info_every;
if (IO_0Devery > 0)
myGH->IO_0Devery = IO_0Devery;
if (IO_1Devery > 0)