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

Generic interfaces into an MPI vector gather. More...

Private Member Functions

subroutine oasis_mpi_gathervr1 (locarr, locSize, glob1DArr, globSize, displs, rootid, comm, string)
 Gather a vector of distributed data to a rootid. More...
 

Detailed Description

Generic interfaces into an MPI vector gather.

Definition at line 78 of file mod_oasis_mpi.F90.

Member Function/Subroutine Documentation

subroutine mod_oasis_mpi::oasis_mpi_gatherv::oasis_mpi_gathervr1 ( real(ip_double_p), dimension(:), intent(in)  locarr,
integer(ip_i4_p), intent(in)  locSize,
real(ip_double_p), dimension(:), intent(inout)  glob1DArr,
integer(ip_i4_p), dimension(:), intent(in)  globSize,
integer(ip_i4_p), dimension(:), intent(in)  displs,
integer(ip_i4_p), intent(in)  rootid,
integer(ip_i4_p), intent(in)  comm,
character(*), intent(in), optional  string 
)
private

Gather a vector of distributed data to a rootid.

This method passes in glob1DArr, globSize, and displs computed in the oasis_mpi_gathscatvinit routine and uses that information to gather the locArr into the glob1Darr on processor rootid in communicator comm.

Parameters
[in]locarrLocal array
[in,out]glob1darrGlobal 1D array to receive in on
[in]locsizeNumber to send from this PE
[in]globsizeNumber to receive from each PE
[in]displsDisplacements for receives
[in]rootidMPI task to gather on
[in]commmpi communicator
[in]stringto identify caller

Definition at line 1134 of file mod_oasis_mpi.F90.


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