aboutsummaryrefslogtreecommitdiff
path: root/src/driver/driver.hh
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-01-17 11:57:41 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-01-17 11:57:41 +0000
commit64e9063e97a60d26f672166b61e390e9b8eb3680 (patch)
treec25d1ed0fcd09b9fce2e6b2ea025fd7dce6538ea /src/driver/driver.hh
parentfa83ade88caec7419e665eaab96622790b527bd7 (diff)
change so that only processor #0 writes data files
(other processors still do all the computations, but writes are supressed) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@922 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/driver/driver.hh')
-rw-r--r--src/driver/driver.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/driver/driver.hh b/src/driver/driver.hh
index 149fa0d..119bafe 100644
--- a/src/driver/driver.hh
+++ b/src/driver/driver.hh
@@ -199,7 +199,8 @@ struct state
enum method method;
struct verbose_info verbose_info;
int timer_handle;
- int my_proc; // our processor number
+ int my_proc; // our processor number (0 to N_procs-1)
+ int N_procs; // total number of processors
struct IO_info IO_info;
struct Jacobian_info Jac_info;
@@ -251,6 +252,7 @@ bool Newton_solve(patch_system& ps,
const struct solver_info& solver_info,
bool initial_find_flag,
const struct IO_info& IO_info,
+ bool active_flag,
int hn, const struct verbose_info& verbose_info);
// io.cc