diff options
author | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2002-05-27 08:16:59 +0000 |
---|---|---|
committer | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2002-05-27 08:16:59 +0000 |
commit | cb9c627a662b3f77d9dbc61a413165f67ac8ec13 (patch) | |
tree | b36ce56ba40963580155444ecc1185e55e99a895 /src/Output2D.c | |
parent | c4403291c3f72c1fe985aa16b6d8533e1ac5661d (diff) |
Make use of Tom's extensions to parameter declarations:
USE some_parameter AS alias.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@248 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src/Output2D.c')
-rw-r--r-- | src/Output2D.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/Output2D.c b/src/Output2D.c index 7da9ac2..4aba537 100644 --- a/src/Output2D.c +++ b/src/Output2D.c @@ -251,12 +251,7 @@ static void CheckSteerableParameters (flexioGH *myGH) /* how often to output */ i = myGH->out2D_every_default; - myGH->out2D_every_default = out2D_every; - if (myGH->out2D_every_default < 0) - { - myGH->out2D_every_default = *(const CCTK_INT *) - CCTK_ParameterGet ("out_every", CCTK_ImplementationThorn ("IO"), NULL); - } + myGH->out2D_every_default = out2D_every >= 0 ? out2D_every : io_out_every; /* report if frequency changed */ if (myGH->out2D_every_default != i && ! CCTK_Equals (verbose, "none")) |