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

Go to the source code of this file.

Functions/Subroutines

subroutine Driver_getMype (communicatorType, mype, axis)
 

Function/Subroutine Documentation

◆ Driver_getMype()

subroutine Driver_getMype ( integer  communicatorType,
integer  mype,
integer, optional  axis 
)

All units can use this interface to query the value of mype for communicators in use. At initialization all units call this interface to get the global mype. Some units may call to get the meshComm mype, only units such as UG and Grid solvers for UG are likely to want axisComm

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) mype - output argument in which to return the mype value axis - this optional argument is included only if communicatorType is AXIS_COMM, the valid values are IAXIS, JAXIS or KAXIS

Definition at line 38 of file Driver_getMype.F90.