\doxysection{gko::\+experimental::\+mpi::\+contiguous\+\_\+type Class Reference}
\hypertarget{classgko_1_1experimental_1_1mpi_1_1contiguous__type}{}\label{classgko_1_1experimental_1_1mpi_1_1contiguous__type}\index{gko::experimental::mpi::contiguous\_type@{gko::experimental::mpi::contiguous\_type}}


A move-\/only wrapper for a contiguous MPI\+\_\+\+Datatype.  




{\ttfamily \+\#include $<$ginkgo/\+core/\+base/\+mpi.\+hpp$>$}

\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\doxymbox{\hyperlink{classgko_1_1experimental_1_1mpi_1_1contiguous__type_a18c83a4574168fec000e17e092e05490}{contiguous\+\_\+type}} (int count, MPI\+\_\+\+Datatype old\+\_\+type)
\begin{DoxyCompactList}\small\item\em Constructs a wrapper for a contiguous MPI\+\_\+\+Datatype. \end{DoxyCompactList}\item 
\Hypertarget{classgko_1_1experimental_1_1mpi_1_1contiguous__type_a9d976cbdd341c028ffaf9afcade958dc}\label{classgko_1_1experimental_1_1mpi_1_1contiguous__type_a9d976cbdd341c028ffaf9afcade958dc} 
{\bfseries contiguous\+\_\+type} ()
\begin{DoxyCompactList}\small\item\em Constructs empty wrapper with MPI\+\_\+\+DATATYPE\+\_\+\+NULL. \end{DoxyCompactList}\item 
\Hypertarget{classgko_1_1experimental_1_1mpi_1_1contiguous__type_ac2a5cd904702059c60596c82ab044c93}\label{classgko_1_1experimental_1_1mpi_1_1contiguous__type_ac2a5cd904702059c60596c82ab044c93} 
{\bfseries contiguous\+\_\+type} (const contiguous\+\_\+type \&)=delete
\begin{DoxyCompactList}\small\item\em Disallow copying of wrapper type. \end{DoxyCompactList}\item 
\Hypertarget{classgko_1_1experimental_1_1mpi_1_1contiguous__type_acb28f7c434042f2af1b6a15f1a88c190}\label{classgko_1_1experimental_1_1mpi_1_1contiguous__type_acb28f7c434042f2af1b6a15f1a88c190} 
\doxymbox{\hyperlink{classgko_1_1experimental_1_1mpi_1_1contiguous__type_a18c83a4574168fec000e17e092e05490}{contiguous\+\_\+type}} \& {\bfseries operator=} (const \doxymbox{\hyperlink{classgko_1_1experimental_1_1mpi_1_1contiguous__type_a18c83a4574168fec000e17e092e05490}{contiguous\+\_\+type}} \&)=delete
\begin{DoxyCompactList}\small\item\em Disallow copying of wrapper type. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{classgko_1_1experimental_1_1mpi_1_1contiguous__type_ac693fb8e2bb05d8d1a03ec52f657c06f}{contiguous\+\_\+type}} (contiguous\+\_\+type \&\&other) noexcept
\begin{DoxyCompactList}\small\item\em Move constructor, leaves other with MPI\+\_\+\+DATATYPE\+\_\+\+NULL. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{classgko_1_1experimental_1_1mpi_1_1contiguous__type_a18c83a4574168fec000e17e092e05490}{contiguous\+\_\+type}} \& \doxymbox{\hyperlink{classgko_1_1experimental_1_1mpi_1_1contiguous__type_acae1f66ab5b0fab3ff4cb8cdbf84aedf}{operator=}} (\doxymbox{\hyperlink{classgko_1_1experimental_1_1mpi_1_1contiguous__type_a18c83a4574168fec000e17e092e05490}{contiguous\+\_\+type}} \&\&other) noexcept
\begin{DoxyCompactList}\small\item\em Move assignment, leaves other with MPI\+\_\+\+DATATYPE\+\_\+\+NULL. \end{DoxyCompactList}\item 
\Hypertarget{classgko_1_1experimental_1_1mpi_1_1contiguous__type_ad1bdbefc51419efd8b43d9085f5537c4}\label{classgko_1_1experimental_1_1mpi_1_1contiguous__type_ad1bdbefc51419efd8b43d9085f5537c4} 
{\bfseries \texorpdfstring{$\sim$}{\string~}contiguous\+\_\+type} ()
\begin{DoxyCompactList}\small\item\em Destructs object by freeing wrapped MPI\+\_\+\+Datatype. \end{DoxyCompactList}\item 
MPI\+\_\+\+Datatype \doxymbox{\hyperlink{classgko_1_1experimental_1_1mpi_1_1contiguous__type_a02b9d8d759957adf68a3159ac561f668}{get}} () const
\begin{DoxyCompactList}\small\item\em Access the underlying MPI\+\_\+\+Datatype. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
A move-\/only wrapper for a contiguous MPI\+\_\+\+Datatype. 

The underlying MPI\+\_\+\+Datatype is automatically created and committed when an object of this type is constructed, and freed when it is destructed. 

\label{doc-constructors}
\Hypertarget{classgko_1_1experimental_1_1mpi_1_1contiguous__type_doc-constructors}
\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{classgko_1_1experimental_1_1mpi_1_1contiguous__type_a18c83a4574168fec000e17e092e05490}\index{gko::experimental::mpi::contiguous\_type@{gko::experimental::mpi::contiguous\_type}!contiguous\_type@{contiguous\_type}}
\index{contiguous\_type@{contiguous\_type}!gko::experimental::mpi::contiguous\_type@{gko::experimental::mpi::contiguous\_type}}
\doxysubsubsection{\texorpdfstring{contiguous\_type()}{contiguous\_type()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \label{classgko_1_1experimental_1_1mpi_1_1contiguous__type_a18c83a4574168fec000e17e092e05490} 
gko::\+experimental::\+mpi::\+contiguous\+\_\+type::\+contiguous\+\_\+type (\begin{DoxyParamCaption}\item[{int}]{count}{, }\item[{MPI\+\_\+\+Datatype}]{old\+\_\+type}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Constructs a wrapper for a contiguous MPI\+\_\+\+Datatype. 


\begin{DoxyParams}{Parameters}
{\em count} & the number of old\+\_\+type elements the new datatype contains. \\
\hline
{\em old\+\_\+type} & the MPI\+\_\+\+Datatype that is contained. \\
\hline
\end{DoxyParams}


Referenced by \doxymbox{\hyperlink{classgko_1_1experimental_1_1mpi_1_1contiguous__type_ac2a5cd904702059c60596c82ab044c93}{contiguous\+\_\+type()}}, \doxymbox{\hyperlink{classgko_1_1experimental_1_1mpi_1_1contiguous__type_ac693fb8e2bb05d8d1a03ec52f657c06f}{contiguous\+\_\+type()}}, \doxymbox{\hyperlink{classgko_1_1experimental_1_1mpi_1_1contiguous__type_acb28f7c434042f2af1b6a15f1a88c190}{operator=()}}, and \doxymbox{\hyperlink{classgko_1_1experimental_1_1mpi_1_1contiguous__type_acae1f66ab5b0fab3ff4cb8cdbf84aedf}{operator=()}}.

\Hypertarget{classgko_1_1experimental_1_1mpi_1_1contiguous__type_ac693fb8e2bb05d8d1a03ec52f657c06f}\index{gko::experimental::mpi::contiguous\_type@{gko::experimental::mpi::contiguous\_type}!contiguous\_type@{contiguous\_type}}
\index{contiguous\_type@{contiguous\_type}!gko::experimental::mpi::contiguous\_type@{gko::experimental::mpi::contiguous\_type}}
\doxysubsubsection{\texorpdfstring{contiguous\_type()}{contiguous\_type()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \label{classgko_1_1experimental_1_1mpi_1_1contiguous__type_ac693fb8e2bb05d8d1a03ec52f657c06f} 
gko::\+experimental::\+mpi::\+contiguous\+\_\+type::\+contiguous\+\_\+type (\begin{DoxyParamCaption}\item[{contiguous\+\_\+type \&\&}]{other}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Move constructor, leaves other with MPI\+\_\+\+DATATYPE\+\_\+\+NULL. 


\begin{DoxyParams}{Parameters}
{\em other} & to be moved from object. \\
\hline
\end{DoxyParams}


References \doxymbox{\hyperlink{classgko_1_1experimental_1_1mpi_1_1contiguous__type_a18c83a4574168fec000e17e092e05490}{contiguous\+\_\+type()}}.



\label{doc-func-members}
\Hypertarget{classgko_1_1experimental_1_1mpi_1_1contiguous__type_doc-func-members}
\doxysubsection{Member Function Documentation}
\Hypertarget{classgko_1_1experimental_1_1mpi_1_1contiguous__type_a02b9d8d759957adf68a3159ac561f668}\index{gko::experimental::mpi::contiguous\_type@{gko::experimental::mpi::contiguous\_type}!get@{get}}
\index{get@{get}!gko::experimental::mpi::contiguous\_type@{gko::experimental::mpi::contiguous\_type}}
\doxysubsubsection{\texorpdfstring{get()}{get()}}
{\footnotesize\ttfamily \label{classgko_1_1experimental_1_1mpi_1_1contiguous__type_a02b9d8d759957adf68a3159ac561f668} 
MPI\+\_\+\+Datatype gko::\+experimental::\+mpi::\+contiguous\+\_\+type::\+get (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Access the underlying MPI\+\_\+\+Datatype. 

\begin{DoxyReturn}{Returns}
the underlying MPI\+\_\+\+Datatype. 
\end{DoxyReturn}
\Hypertarget{classgko_1_1experimental_1_1mpi_1_1contiguous__type_acae1f66ab5b0fab3ff4cb8cdbf84aedf}\index{gko::experimental::mpi::contiguous\_type@{gko::experimental::mpi::contiguous\_type}!operator=@{operator=}}
\index{operator=@{operator=}!gko::experimental::mpi::contiguous\_type@{gko::experimental::mpi::contiguous\_type}}
\doxysubsubsection{\texorpdfstring{operator=()}{operator=()}}
{\footnotesize\ttfamily \label{classgko_1_1experimental_1_1mpi_1_1contiguous__type_acae1f66ab5b0fab3ff4cb8cdbf84aedf} 
\doxymbox{\hyperlink{classgko_1_1experimental_1_1mpi_1_1contiguous__type_a18c83a4574168fec000e17e092e05490}{contiguous\+\_\+type}} \& gko::\+experimental::\+mpi::\+contiguous\+\_\+type::\+operator= (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{classgko_1_1experimental_1_1mpi_1_1contiguous__type_a18c83a4574168fec000e17e092e05490}{contiguous\+\_\+type}} \&\&}]{other}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Move assignment, leaves other with MPI\+\_\+\+DATATYPE\+\_\+\+NULL. 


\begin{DoxyParams}{Parameters}
{\em other} & to be moved from object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
this object. 
\end{DoxyReturn}


References \doxymbox{\hyperlink{classgko_1_1experimental_1_1mpi_1_1contiguous__type_a18c83a4574168fec000e17e092e05490}{contiguous\+\_\+type()}}.



The documentation for this class was generated from the following file:\+\begin{DoxyCompactItemize}
\item 
ginkgo/\+core/\+base/\+mpi.\+hpp\end{DoxyCompactItemize}
