From 7e207cbc5995c6a8ea3e4748335b0f4d09d66797 Mon Sep 17 00:00:00 2001 From: tradke Date: Mon, 27 May 2002 08:17:04 +0000 Subject: Make use of Tom's extensions to parameter declarations: USE some_parameter AS alias. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOStreamedHDF5/trunk@90 0888f3d4-9f52-45d2-93bc-d00801ff5e46 --- param.ccl | 2 +- src/Output.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/param.ccl b/param.ccl index 143ce31..4c212f7 100644 --- a/param.ccl +++ b/param.ccl @@ -61,7 +61,7 @@ INT checkpoint_accept_timeout "Timeout in seconds for accepting client connectio ############################################################################# shares: IO -#FIXME: want USES INT out_every AS default_out_every +USES INT out_every AS io_out_every USES KEYWORD verbose USES BOOLEAN print_timing_info diff --git a/src/Output.c b/src/Output.c index 576b34f..aca20e9 100644 --- a/src/Output.c +++ b/src/Output.c @@ -303,9 +303,7 @@ static void CheckSteerableParameters (const cGH *GH) } else { - myGH->out_every = *(const CCTK_INT *) - CCTK_ParameterGet ("out_every", - CCTK_ImplementationThorn ("IO"), NULL); + myGH->out_every = io_out_every; } /* re-parse the 'IOStreamedHDF5::out_vars' parameter if it was changed */ -- cgit v1.2.3