aboutsummaryrefslogtreecommitdiff
path: root/src/Startup.c
diff options
context:
space:
mode:
authortradke <tradke@94b1c47f-dcfd-45ef-a468-0854c0e9e350>2002-03-16 21:46:14 +0000
committertradke <tradke@94b1c47f-dcfd-45ef-a468-0854c0e9e350>2002-03-16 21:46:14 +0000
commitc66c440d5abdcf8e5865dec3551f6495eae97f7e (patch)
tree44992532bf0f7dfc6d09a12ec85bc66f2094fdef /src/Startup.c
parentb7352ac7223e5b92818e1e2ead959144bfc10706 (diff)
Slightly more informative info messages.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@103 94b1c47f-dcfd-45ef-a468-0854c0e9e350
Diffstat (limited to 'src/Startup.c')
-rw-r--r--src/Startup.c53
1 files changed, 1 insertions, 52 deletions
diff --git a/src/Startup.c b/src/Startup.c
index 86e639a..de7dfb4 100644
--- a/src/Startup.c
+++ b/src/Startup.c
@@ -99,9 +99,9 @@ static void *IOASCII_SetupGH (tFleshConfig *config,
int convergence_level,
cGH *GH)
{
- DECLARE_CCTK_PARAMETERS
int i, j, numvars, maxdim;
asciiioGH *newGH;
+ DECLARE_CCTK_PARAMETERS
/* suppress compiler warnings about unused variables */
@@ -182,57 +182,6 @@ static void *IOASCII_SetupGH (tFleshConfig *config,
newGH->sp2xyz[i] = (int *) calloc ((i+1), sizeof (int ));
}
- /* How often to output */
- newGH->out1D_every = out_every > 0 ? out_every : -1;
- if (out1D_every > 0)
- {
- newGH->out1D_every = out1D_every;
- }
- newGH->out2D_every = out_every > 0 ? out_every : -1;
- if (out2D_every > 0)
- {
- newGH->out2D_every = out2D_every;
- }
- newGH->out3D_every = out_every > 0 ? out_every : -1;
- if (out3D_every > 0)
- {
- newGH->out3D_every = out3D_every;
- }
-
- if (CCTK_Equals (newverbose, "standard") ||
- CCTK_Equals (newverbose, "full"))
- {
- if (out1D_every > 0)
- {
- CCTK_VInfo (CCTK_THORNSTRING, "IOASCII_1D: Output every %d iterations",
- newGH->out1D_every);
- }
- else
- {
- CCTK_VInfo (CCTK_THORNSTRING, "IOASCII_1D: Output not activated");
- }
- if (out2D_every > 0)
- {
- CCTK_VInfo (CCTK_THORNSTRING, "IOASCII_2D: Output every %d iterations",
- newGH->out2D_every);
- }
- else
- {
- CCTK_VInfo (CCTK_THORNSTRING, "IOASCII_2D: Output not activated");
- }
- if (out3D_every > 0)
- {
- CCTK_VInfo (CCTK_THORNSTRING, "IOASCII_3D: Output every %d iterations",
- newGH->out3D_every);
- }
- else
- {
- CCTK_VInfo (CCTK_THORNSTRING, "IOASCII_3D: Output not activated");
- }
- }
-
-
-
/* Deal with the output directories */
/* Check whether "outdirXD" was set.
If so take this dir otherwise default to "IO::outdir" */