aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@0888f3d4-9f52-45d2-93bc-d00801ff5e46>2002-05-27 08:17:04 +0000
committertradke <tradke@0888f3d4-9f52-45d2-93bc-d00801ff5e46>2002-05-27 08:17:04 +0000
commit7e207cbc5995c6a8ea3e4748335b0f4d09d66797 (patch)
treedab264b326f8adf26a3df1b1488aff053825c043
parent6a5a2ca4a1a9b7be1f27ea894d1e78c90f06e436 (diff)
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
-rw-r--r--param.ccl2
-rw-r--r--src/Output.c4
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 */