FLASH-X
Doxygen Generated Documentation From Interface Source Code
Functions/Subroutines
Driver_getComm.F90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine Driver_getComm (communicatorType, communicator, axis)
 

Function/Subroutine Documentation

◆ Driver_getComm()

subroutine Driver_getComm ( integer  communicatorType,
integer  communicator,
integer, optional  axis 
)

All units can use this interface to query the communicators in use. At initialization all units call this interface. One can ask for either global communicator, or mesh communicators or axis communicators used in some implementations of Uniform mesh When there are no duplicate copies of the mesh, the mesh communicator defaults to MPI_COMM_WORLD

communicatorType - Input argument indicating whether to return the global communicator (GLOBAL_COMM), or mesh communicator (MESH_COMM) that allows duplication of mesh or it is communicator that handles rows and colums of processors (AXIS_COMM) communicator - output argument in which to return the communicator axis - this optional argument is included only if communicatorType is AXIS_COMM, the valid values are IAXIS, JAXIS or KAXIS

Definition at line 40 of file Driver_getComm.F90.