Oasis3-MCT
 All Classes Files Functions Variables Macros Pages
Private Member Functions | List of all members
mod_oasis_mpi::oasis_mpi_gathscatvinit Interface Reference

Generic interface to oasis_mpi_gathScatVInit. More...

Private Member Functions

subroutine oasis_mpi_gathscatvinitr1 (comm, rootid, locArr, glob1DArr, globSize, displs, string)
 Initialize variables for oasis_mpi_gatherv and oasis_mpi_scatterv. More...
 

Detailed Description

Generic interface to oasis_mpi_gathScatVInit.

Definition at line 73 of file mod_oasis_mpi.F90.

Member Function/Subroutine Documentation

subroutine mod_oasis_mpi::oasis_mpi_gathscatvinit::oasis_mpi_gathscatvinitr1 ( integer(ip_i4_p), intent(in)  comm,
integer(ip_i4_p), intent(in)  rootid,
real(ip_double_p), dimension(:), intent(in)  locArr,
real(ip_double_p), dimension(:), pointer  glob1DArr,
integer(ip_i4_p), dimension(:), pointer  globSize,
integer(ip_i4_p), dimension(:), pointer  displs,
character(*), intent(in), optional  string 
)
private

Initialize variables for oasis_mpi_gatherv and oasis_mpi_scatterv.

This method initializes glob1DArr, globSize, and displs for use in the oasis_mpi_gatherv and oasis_mpi_scatterv routines. locArr is the distributed array to gather from or scatter to.

Parameters
[in]commmpi communicator
[in]rootidMPI task to gather/scatter on
[in]locarrLocal array of distributed data
glob1darrGlobal 1D array of gathered data
globsizeSize of each distributed piece
displsDisplacements for receive
[in]stringto identify caller

Definition at line 1040 of file mod_oasis_mpi.F90.


The documentation for this interface was generated from the following file: