diff options
author | allen <allen@b589c3ab-70e8-4b4d-a09f-cba2dd200880> | 2001-07-11 21:50:47 +0000 |
---|---|---|
committer | allen <allen@b589c3ab-70e8-4b4d-a09f-cba2dd200880> | 2001-07-11 21:50:47 +0000 |
commit | 8f1deb36a120092db6a4ed4f8906b7e5007210e0 (patch) | |
tree | 40ae6950cd4f920d6c90e8a84abd72418d0078ca /src/Startup.c | |
parent | 40076cb17ebdbe4e5b5bcacd69e6dc46c91ac8e0 (diff) |
Initial implementation of newverbose parameter in IOBasic.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOBasic/trunk@94 b589c3ab-70e8-4b4d-a09f-cba2dd200880
Diffstat (limited to 'src/Startup.c')
-rw-r--r-- | src/Startup.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/Startup.c b/src/Startup.c index 9a1a8c7..43637c3 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -12,6 +12,7 @@ #include <string.h> #include "cctk.h" +#include "cctk_Parameters.h" static const char *rcsid = "$Header$"; @@ -53,7 +54,7 @@ void IOBasic_Startup (void) { int IOMethod; int IO_GHExtension; - + DECLARE_CCTK_PARAMETERS if (CCTK_GHExtensionHandle ("IO") < 0) { @@ -77,5 +78,14 @@ void IOBasic_Startup (void) CCTK_RegisterIOMethodOutputGH (IOMethod, IOBasic_OutputInfoGH); CCTK_RegisterIOMethodTimeToOutput (IOMethod, IOBasic_TimeForInfo); CCTK_RegisterIOMethodTriggerOutput (IOMethod, IOBasic_TriggerOutputInfo); + + if (CCTK_Equals(newverbose,"standard") || CCTK_Equals(newverbose,"full")) + { + CCTK_INFO("IO Method <Scalar> registered"); + CCTK_INFO("Scalar: Output of scalar quantities " + "(grid scalars, reductions) to ASCII file"); + CCTK_INFO("IO Method <Info> registered"); + CCTK_INFO("Info: Output of reductions of grid functions to screen"); + } } |