diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2004-05-05 16:17:01 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2004-05-05 16:17:01 +0000 |
commit | 8ee1095e896b9b230b8f61caed0d93dcc51e4563 (patch) | |
tree | 90871f619deee442165462d0d00cae5b54445185 /src/driver/driver.hh | |
parent | 1a667c92ddac098cc8d83b973578ed23155b953e (diff) |
* copy Cactus parameters to our local data structures,
then use these copies, rather than looking at the "global variable"
Cactus parameters all over the place
* given the above change, drop most #include "cctk_Parameters.h"
and DECLARE_CCTK_PARAMETERS
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1320 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/driver/driver.hh')
-rw-r--r-- | src/driver/driver.hh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/driver/driver.hh b/src/driver/driver.hh index dc73f84..65cb95b 100644 --- a/src/driver/driver.hh +++ b/src/driver/driver.hh @@ -321,9 +321,21 @@ struct AH_data // struct state { + int find_every; + bool find_now(int cctk_iteration_in) const + { + return (find_every != 0) + && ((cctk_iteration_in % find_every) == 0); + } + enum method method; + struct error_info error_info; struct verbose_info verbose_info; + + // copies of other thorn's parameters + const char* metric_type; // ADMBase::metric_type + int timer_handle; int N_procs; // total number of processors int my_proc; // processor number of this processor @@ -337,6 +349,7 @@ struct state struct cactus_grid_info cgi; struct geometry_info gi; + bool test_all_Jacobian_compute_methods; struct Jacobian_info Jac_info; struct solver_info solver_info; struct IO_info IO_info; @@ -344,6 +357,9 @@ struct state struct BH_diagnostics_info BH_diagnostics_info; struct mask_info mask_info; + bool announce_centroid_flag; // should we announce horizon centroid? + int which_horizon_to_announce_centroid; // if so, which horizon? + // interprocessor-communication buffers for broadcasting // Newton-iteration status from active processors to all processors struct iteration_status_buffers isb; |