diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2003-07-28 12:14:04 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2003-07-28 12:14:04 +0000 |
commit | 58f5cec8e34829331f3702f2d7ee5ff51446ed72 (patch) | |
tree | 22128d540fa84151db84807c465994e9adb40fef /src | |
parent | aef2c7825b02ab8a72292b13e4718d1f8eebd572 (diff) |
rename parameters
how_often_to_output_h --> output_h_every
how_often_to_output_Theta --> output_Theta_every
to match the usual Cactus convention for "*_every" parameters
(including our own find_every parameter)
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1154 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src')
-rw-r--r-- | src/driver/driver.hh | 3 | ||||
-rw-r--r-- | src/driver/find_horizons.cc | 8 | ||||
-rw-r--r-- | src/driver/setup.cc | 4 |
3 files changed, 7 insertions, 8 deletions
diff --git a/src/driver/driver.hh b/src/driver/driver.hh index dca349e..c60d3b6 100644 --- a/src/driver/driver.hh +++ b/src/driver/driver.hh @@ -124,8 +124,7 @@ struct IO_info { enum horizon_file_format horizon_file_format; bool output_initial_guess; - int how_often_to_output_h, - how_often_to_output_Theta; + int output_h_every, output_Theta_every; // based on the above, do we want to output things now (this time step)? bool output_h, output_Theta; diff --git a/src/driver/find_horizons.cc b/src/driver/find_horizons.cc index 2a0cd39..1d457cf 100644 --- a/src/driver/find_horizons.cc +++ b/src/driver/find_horizons.cc @@ -124,11 +124,11 @@ else CCTK_VWarn(FATAL_ERROR, __LINE__, __FILE__, CCTK_THORNSTRING, IO_info.time_iteration = cctk_iteration; IO_info.time = cctk_time; IO_info.output_h - = (IO_info.how_often_to_output_h > 0) - && ((IO_info.time_iteration % IO_info.how_often_to_output_h) == 0); + = (IO_info.output_h_every > 0) + && ((IO_info.time_iteration % IO_info.output_h_every) == 0); IO_info.output_Theta - = (IO_info.how_often_to_output_Theta > 0) - && ((IO_info.time_iteration % IO_info.how_often_to_output_Theta) == 0); + = (IO_info.output_Theta_every > 0) + && ((IO_info.time_iteration % IO_info.output_Theta_every) == 0); // set initial guess for any (genuine) horizons that need it, // i.e. for any (genuine) horizons where we didn't find the horizon previously diff --git a/src/driver/setup.cc b/src/driver/setup.cc index b5703da..b48faa9 100644 --- a/src/driver/setup.cc +++ b/src/driver/setup.cc @@ -243,8 +243,8 @@ solver_info.Theta_norm_for_convergence = Theta_norm_for_convergence; struct IO_info& IO_info = state.IO_info; IO_info.horizon_file_format = decode_horizon_file_format(horizon_file_format); IO_info.output_initial_guess = (output_initial_guess != 0); -IO_info.how_often_to_output_h = how_often_to_output_h; -IO_info.how_often_to_output_Theta = how_often_to_output_Theta; +IO_info.output_h_every = output_h_every; +IO_info.output_Theta_every = output_Theta_every; IO_info.output_h = false; // dummy value IO_info.output_Theta = false; // dummy value IO_info.output_ghost_zones_for_h = (output_ghost_zones_for_h != 0); |