- mpi_ct.comm.Barrier ();
- mpi_ct.comm.Bcast (&opt_rotangle, 1, MPI::DOUBLE, 0);
- mpi_ct.comm.Bcast (&opt_nview, 1, MPI::INT, 0);
- mpi_ct.comm.Bcast (&opt_ndet, 1, MPI::INT, 0);
- mpi_ct.comm.Bcast (&opt_nray, 1, MPI::INT, 0);
- mpi_ct.comm.Bcast (&opt_phmnum, 1, MPI::INT, 0);
- mpi_ct.comm.Bcast (&opt_verbose, 1, MPI::INT, 0);
- mpi_ct.comm.Bcast (&opt_debug, 1, MPI::INT, 0);
- mpi_ct.comm.Bcast (&opt_trace, 1, MPI::INT, 0);
-
- if (mpi_ct.my_rank > 0 && opt_phmnum >= 0)
+ mpiWorld.getComm().Barrier ();
+ mpiWorld.getComm().Bcast (&opt_rotangle, 1, MPI::DOUBLE, 0);
+ mpiWorld.getComm().Bcast (&opt_nview, 1, MPI::INT, 0);
+ mpiWorld.getComm().Bcast (&opt_ndet, 1, MPI::INT, 0);
+ mpiWorld.getComm().Bcast (&opt_nray, 1, MPI::INT, 0);
+ mpiWorld.getComm().Bcast (&opt_phmnum, 1, MPI::INT, 0);
+ mpiWorld.getComm().Bcast (&opt_verbose, 1, MPI::INT, 0);
+ mpiWorld.getComm().Bcast (&opt_debug, 1, MPI::INT, 0);
+ mpiWorld.getComm().Bcast (&opt_trace, 1, MPI::INT, 0);
+
+ if (mpiWorld.getRank() > 0 && opt_phmnum >= 0)