Functions | |
const Epetra_Comm & | comm_world () |
unsigned int | get_n_mpi_processes (const Epetra_Comm &mpi_communicator) |
unsigned int | get_this_mpi_process (const Epetra_Comm &mpi_communicator) |
comm()
, which is needed for the initialization of Trilinos Epetra_Maps, which design the parallel distribution of vectors and matrices. Moreover, this class provides a unified interface to both serial and parallel implementations of Trilinos, sets up the MPI communicator in case the programs are run in parallel, and correctly terminates all processes when the destructor is called.
const Epetra_Comm& Utilities::Trilinos::comm_world | ( | ) |
Returns a Trilinos Epetra_Comm object needed for creation of Epetra_Maps.
If deal.II has been configured to use a compiler that does not support MPI then the resulting communicator will be a serial one. Otherwise, the communicator will correspond to MPI_COMM_WORLD, i.e. a communicator that encompasses all processes within this MPI universe.
Return the number of MPI processes there exist in the given communicator object. If this is a sequential job, it returns 1.
Return the number of the present MPI process in the space of processes described by the given communicator. This will be a unique value for each process between zero and (less than) the number of all processes (given by get_n_mpi_processes()).