aboutsummaryrefslogtreecommitdiff
path: root/src/Startup.c
diff options
context:
space:
mode:
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" */