\hypertarget{interfacemod__oasis__mpi_1_1oasis__mpi__gatherv}{}\section{mod\+\_\+oasis\+\_\+mpi\+:\+:oasis\+\_\+mpi\+\_\+gatherv Interface Reference}
\label{interfacemod__oasis__mpi_1_1oasis__mpi__gatherv}\index{mod\+\_\+oasis\+\_\+mpi\+::oasis\+\_\+mpi\+\_\+gatherv@{mod\+\_\+oasis\+\_\+mpi\+::oasis\+\_\+mpi\+\_\+gatherv}}


Generic interfaces into an M\+PI vector gather.  


\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
subroutine \hyperlink{interfacemod__oasis__mpi_1_1oasis__mpi__gatherv_a8d17b5a337d8ebec5160dfb891c6a715}{oasis\+\_\+mpi\+\_\+gathervr1} (locarr, loc\+Size, glob1\+D\+Arr, glob\+Size, displs, rootid, comm, string)
\begin{DoxyCompactList}\small\item\em Gather a vector of distributed data to a rootid. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Generic interfaces into an M\+PI vector gather. 

Definition at line 78 of file mod\+\_\+oasis\+\_\+mpi.\+F90.



\subsection{Member Function/\+Subroutine Documentation}
\mbox{\Hypertarget{interfacemod__oasis__mpi_1_1oasis__mpi__gatherv_a8d17b5a337d8ebec5160dfb891c6a715}\label{interfacemod__oasis__mpi_1_1oasis__mpi__gatherv_a8d17b5a337d8ebec5160dfb891c6a715}} 
\index{mod\+\_\+oasis\+\_\+mpi\+::oasis\+\_\+mpi\+\_\+gatherv@{mod\+\_\+oasis\+\_\+mpi\+::oasis\+\_\+mpi\+\_\+gatherv}!oasis\+\_\+mpi\+\_\+gathervr1@{oasis\+\_\+mpi\+\_\+gathervr1}}
\index{oasis\+\_\+mpi\+\_\+gathervr1@{oasis\+\_\+mpi\+\_\+gathervr1}!mod\+\_\+oasis\+\_\+mpi\+::oasis\+\_\+mpi\+\_\+gatherv@{mod\+\_\+oasis\+\_\+mpi\+::oasis\+\_\+mpi\+\_\+gatherv}}
\subsubsection{\texorpdfstring{oasis\+\_\+mpi\+\_\+gathervr1()}{oasis\_mpi\_gathervr1()}}
{\footnotesize\ttfamily subroutine mod\+\_\+oasis\+\_\+mpi\+::oasis\+\_\+mpi\+\_\+gatherv\+::oasis\+\_\+mpi\+\_\+gathervr1 (\begin{DoxyParamCaption}\item[{real(ip\+\_\+double\+\_\+p), dimension(\+:), intent(in)}]{locarr,  }\item[{integer(ip\+\_\+i4\+\_\+p), intent(in)}]{loc\+Size,  }\item[{real(ip\+\_\+double\+\_\+p), dimension(\+:), intent(inout)}]{glob1\+D\+Arr,  }\item[{integer(ip\+\_\+i4\+\_\+p), dimension(\+:), intent(in)}]{glob\+Size,  }\item[{integer(ip\+\_\+i4\+\_\+p), dimension(\+:), intent(in)}]{displs,  }\item[{integer(ip\+\_\+i4\+\_\+p), intent(in)}]{rootid,  }\item[{integer(ip\+\_\+i4\+\_\+p), intent(in)}]{comm,  }\item[{character($\ast$), intent(in), optional}]{string }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



Gather a vector of distributed data to a rootid. 

This method passes in glob1\+D\+Arr, glob\+Size, and displs computed in the \hyperlink{interfacemod__oasis__mpi_1_1oasis__mpi__gathscatvinit}{oasis\+\_\+mpi\+\_\+gathscatvinit} routine and uses that information to gather the loc\+Arr into the glob1\+Darr on processor rootid in communicator comm.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em locarr} & Local array\\
\hline
\mbox{\tt in,out}  & {\em glob1darr} & Global 1D array to receive in on\\
\hline
\mbox{\tt in}  & {\em locsize} & Number to send from this PE\\
\hline
\mbox{\tt in}  & {\em globsize} & Number to receive from each PE\\
\hline
\mbox{\tt in}  & {\em displs} & Displacements for receives\\
\hline
\mbox{\tt in}  & {\em rootid} & M\+PI task to gather on\\
\hline
\mbox{\tt in}  & {\em comm} & mpi communicator\\
\hline
\mbox{\tt in}  & {\em string} & to identify caller \\
\hline
\end{DoxyParams}


Definition at line 1142 of file mod\+\_\+oasis\+\_\+mpi.\+F90.



The documentation for this interface was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/home/globc2/tcraig/oasis3-\/mct.\+trunk/lib/psmile/src/\hyperlink{mod__oasis__mpi_8_f90}{mod\+\_\+oasis\+\_\+mpi.\+F90}\end{DoxyCompactItemize}
