\doxysection{vcom.\+h}
\label{a00008_source}\index{vcom.h@{vcom.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ }
\DoxyCodeLine{00038\ \textcolor{preprocessor}{\#ifndef\ \_VCOM\_H\_}}
\DoxyCodeLine{00039\ \textcolor{preprocessor}{\#define\ \_VCOM\_H\_}}
\DoxyCodeLine{00040\ }
\DoxyCodeLine{00041\ \textcolor{preprocessor}{\#include\ <maloc/maloc\_base.h>}}
\DoxyCodeLine{00042\ }
\DoxyCodeLine{00043\ \textcolor{preprocessor}{\#include\ <maloc/vsys.h>}}
\DoxyCodeLine{00044\ }
\DoxyCodeLine{00046\ \textcolor{preprocessor}{\#define\ VCOM\_MPI\_TAG\ 111}}
\DoxyCodeLine{00047\ }
\DoxyCodeLine{00048\ \textcolor{comment}{/*}}
\DoxyCodeLine{00049\ \textcolor{comment}{\ *\ ***************************************************************************}}
\DoxyCodeLine{00050\ \textcolor{comment}{\ *\ Class\ Vcom:\ Parameters\ and\ datatypes}}
\DoxyCodeLine{00051\ \textcolor{comment}{\ *\ ***************************************************************************}}
\DoxyCodeLine{00052\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00053\ }
\DoxyCodeLine{00060\ \textcolor{keyword}{struct\ }sVcom\ \{}
\DoxyCodeLine{00061\ }
\DoxyCodeLine{00063\ \ \ \ \ \textcolor{keywordtype}{int}\ \ mpi\_rank;\ \ \ }
\DoxyCodeLine{00065\ \ \ \ \ \textcolor{keywordtype}{int}\ \ mpi\_size;\ \ \ }
\DoxyCodeLine{00066\ }
\DoxyCodeLine{00071\ \ \ \ \ \textcolor{keywordtype}{int}\ \ type;\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00073\ \ \ \ \ \textcolor{keywordtype}{int}\ \ error;\ }
\DoxyCodeLine{00075\ \ \ \ \ \textcolor{keywordtype}{void}\ *core;\ }
\DoxyCodeLine{00076\ }
\DoxyCodeLine{00077\ \};}
\DoxyCodeLine{00078\ }
\DoxyCodeLine{00085\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }sVcom\ Vcom;}
\DoxyCodeLine{00086\ }
\DoxyCodeLine{00087\ \textcolor{comment}{/*}}
\DoxyCodeLine{00088\ \textcolor{comment}{\ *\ ***************************************************************************}}
\DoxyCodeLine{00089\ \textcolor{comment}{\ *\ Class\ Vcom:\ Inlineable\ methods\ (vcom.c)}}
\DoxyCodeLine{00090\ \textcolor{comment}{\ *\ ***************************************************************************}}
\DoxyCodeLine{00091\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00092\ }
\DoxyCodeLine{00093\ \textcolor{preprocessor}{\#if\ !defined(VINLINE\_MALOC)}}
\DoxyCodeLine{00094\ \textcolor{preprocessor}{\#else\ }\textcolor{comment}{/*\ if\ defined(VINLINE\_MALOC)\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00095\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ if\ !defined(VINLINE\_MALOC)\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00096\ }
\DoxyCodeLine{00097\ }
\DoxyCodeLine{00107\ \textcolor{keywordtype}{int}\ Vcom\_init(\textcolor{keywordtype}{int}\ *argc,\ \textcolor{keywordtype}{char}\ ***argv);}
\DoxyCodeLine{00108\ }
\DoxyCodeLine{00116\ \textcolor{keywordtype}{int}\ Vcom\_finalize(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00117\ }
\DoxyCodeLine{00127\ Vcom*\ Vcom\_ctor(\textcolor{keywordtype}{int}\ commtype);}
\DoxyCodeLine{00128\ }
\DoxyCodeLine{00140\ \textcolor{keywordtype}{int}\ Vcom\_ctor2(Vcom*\ thee,\ \textcolor{keywordtype}{int}\ commtype);}
\DoxyCodeLine{00141\ }
\DoxyCodeLine{00150\ \textcolor{keywordtype}{void}\ Vcom\_dtor(Vcom\ **thee);}
\DoxyCodeLine{00151\ }
\DoxyCodeLine{00161\ \textcolor{keywordtype}{void}\ Vcom\_dtor2(Vcom\ *thee);}
\DoxyCodeLine{00162\ }
\DoxyCodeLine{00177\ \textcolor{keywordtype}{int}\ Vcom\_send(Vcom\ *thee,\ \textcolor{keywordtype}{int}\ des,\ \textcolor{keywordtype}{void}\ *buf,\ \textcolor{keywordtype}{int}\ len,\ \textcolor{keywordtype}{int}\ type,\ }
\DoxyCodeLine{00178\ \ \ \textcolor{keywordtype}{int}\ block);}
\DoxyCodeLine{00179\ }
\DoxyCodeLine{00197\ \textcolor{keywordtype}{int}\ Vcom\_recv(Vcom\ *thee,\ \textcolor{keywordtype}{int}\ src,\ \textcolor{keywordtype}{void}\ *buf,\ \textcolor{keywordtype}{int}\ len,\ \textcolor{keywordtype}{int}\ type,\ }
\DoxyCodeLine{00198\ \ \ \textcolor{keywordtype}{int}\ block);}
\DoxyCodeLine{00199\ }
\DoxyCodeLine{00214\ \textcolor{keywordtype}{int}\ Vcom\_getCount(Vcom\ *thee,\ \textcolor{keywordtype}{int}\ src,\ \textcolor{keywordtype}{int}\ *length,\ \textcolor{keywordtype}{int}\ type);}
\DoxyCodeLine{00215\ }
\DoxyCodeLine{00237\ \textcolor{keywordtype}{int}\ Vcom\_reduce(Vcom\ *thee,\ \textcolor{keywordtype}{void}\ *sendbuf,\ \textcolor{keywordtype}{void}\ *recvbuf,\ \textcolor{keywordtype}{int}\ length,\ }
\DoxyCodeLine{00238\ \ \ \textcolor{keywordtype}{int}\ type,\ \textcolor{keywordtype}{int}\ op);}
\DoxyCodeLine{00239\ }
\DoxyCodeLine{00248\ \textcolor{keywordtype}{int}\ Vcom\_size(Vcom\ *thee);}
\DoxyCodeLine{00249\ }
\DoxyCodeLine{00261\ \textcolor{keywordtype}{int}\ Vcom\_resize(Vcom\ *thee,\ \textcolor{keywordtype}{int}\ newsize);}
\DoxyCodeLine{00262\ }
\DoxyCodeLine{00271\ \textcolor{keywordtype}{int}\ Vcom\_rank(Vcom\ *thee);}
\DoxyCodeLine{00272\ }
\DoxyCodeLine{00281\ \textcolor{keywordtype}{int}\ Vcom\_barr(Vcom\ *thee);}
\DoxyCodeLine{00282\ }
\DoxyCodeLine{00283\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ \_VCOM\_H\_\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00284\ }

\end{DoxyCode}
