aboutsummaryrefslogtreecommitdiff
path: root/src/driver/driver.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/driver.hh')
-rw-r--r--src/driver/driver.hh16
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;