\doxysection{vcom.\+h}
\label{a00008_source}\index{vcom.h@{vcom.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{38 \textcolor{preprocessor}{\#ifndef \_VCOM\_H\_}}
\DoxyCodeLine{39 \textcolor{preprocessor}{\#define \_VCOM\_H\_}}
\DoxyCodeLine{40 }
\DoxyCodeLine{41 \textcolor{preprocessor}{\#include <maloc/maloc\_base.h>}}
\DoxyCodeLine{42 }
\DoxyCodeLine{43 \textcolor{preprocessor}{\#include <maloc/vsys.h>}}
\DoxyCodeLine{44 }
\DoxyCodeLine{46 \textcolor{preprocessor}{\#define VCOM\_MPI\_TAG 111}}
\DoxyCodeLine{47 }
\DoxyCodeLine{48 \textcolor{comment}{/*}}
\DoxyCodeLine{49 \textcolor{comment}{ * ***************************************************************************}}
\DoxyCodeLine{50 \textcolor{comment}{ * Class Vcom: Parameters and datatypes}}
\DoxyCodeLine{51 \textcolor{comment}{ * ***************************************************************************}}
\DoxyCodeLine{52 \textcolor{comment}{ */}}
\DoxyCodeLine{53 }
\DoxyCodeLine{60 \textcolor{keyword}{struct }sVcom \{}
\DoxyCodeLine{61 }
\DoxyCodeLine{63     \textcolor{keywordtype}{int}  mpi\_rank;   }
\DoxyCodeLine{65     \textcolor{keywordtype}{int}  mpi\_size;   }
\DoxyCodeLine{66 }
\DoxyCodeLine{71     \textcolor{keywordtype}{int}  type;         }
\DoxyCodeLine{73     \textcolor{keywordtype}{int}  error; }
\DoxyCodeLine{75     \textcolor{keywordtype}{void} *core; }
\DoxyCodeLine{76 }
\DoxyCodeLine{77 \};}
\DoxyCodeLine{78 }
\DoxyCodeLine{85 \textcolor{keyword}{typedef} \textcolor{keyword}{struct }sVcom Vcom;}
\DoxyCodeLine{86 }
\DoxyCodeLine{87 \textcolor{comment}{/*}}
\DoxyCodeLine{88 \textcolor{comment}{ * ***************************************************************************}}
\DoxyCodeLine{89 \textcolor{comment}{ * Class Vcom: Inlineable methods (vcom.c)}}
\DoxyCodeLine{90 \textcolor{comment}{ * ***************************************************************************}}
\DoxyCodeLine{91 \textcolor{comment}{ */}}
\DoxyCodeLine{92 }
\DoxyCodeLine{93 \textcolor{preprocessor}{\#if !defined(VINLINE\_MALOC)}}
\DoxyCodeLine{94 \textcolor{preprocessor}{\#else }\textcolor{comment}{/* if defined(VINLINE\_MALOC) */}\textcolor{preprocessor}{}}
\DoxyCodeLine{95 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* if !defined(VINLINE\_MALOC) */}\textcolor{preprocessor}{}}
\DoxyCodeLine{96 }
\DoxyCodeLine{97 }
\DoxyCodeLine{107 \textcolor{keywordtype}{int} Vcom\_init(\textcolor{keywordtype}{int} *argc, \textcolor{keywordtype}{char} ***argv);}
\DoxyCodeLine{108 }
\DoxyCodeLine{116 \textcolor{keywordtype}{int} Vcom\_finalize(\textcolor{keywordtype}{void});}
\DoxyCodeLine{117 }
\DoxyCodeLine{127 Vcom* Vcom\_ctor(\textcolor{keywordtype}{int} commtype);}
\DoxyCodeLine{128 }
\DoxyCodeLine{140 \textcolor{keywordtype}{int} Vcom\_ctor2(Vcom* thee, \textcolor{keywordtype}{int} commtype);}
\DoxyCodeLine{141 }
\DoxyCodeLine{150 \textcolor{keywordtype}{void} Vcom\_dtor(Vcom **thee);}
\DoxyCodeLine{151 }
\DoxyCodeLine{161 \textcolor{keywordtype}{void} Vcom\_dtor2(Vcom *thee);}
\DoxyCodeLine{162 }
\DoxyCodeLine{177 \textcolor{keywordtype}{int} Vcom\_send(Vcom *thee, \textcolor{keywordtype}{int} des, \textcolor{keywordtype}{void} *buf, \textcolor{keywordtype}{int} len, \textcolor{keywordtype}{int} type, }
\DoxyCodeLine{178   \textcolor{keywordtype}{int} block);}
\DoxyCodeLine{179 }
\DoxyCodeLine{197 \textcolor{keywordtype}{int} Vcom\_recv(Vcom *thee, \textcolor{keywordtype}{int} src, \textcolor{keywordtype}{void} *buf, \textcolor{keywordtype}{int} len, \textcolor{keywordtype}{int} type, }
\DoxyCodeLine{198   \textcolor{keywordtype}{int} block);}
\DoxyCodeLine{199 }
\DoxyCodeLine{214 \textcolor{keywordtype}{int} Vcom\_getCount(Vcom *thee, \textcolor{keywordtype}{int} src, \textcolor{keywordtype}{int} *length, \textcolor{keywordtype}{int} type);}
\DoxyCodeLine{215 }
\DoxyCodeLine{237 \textcolor{keywordtype}{int} Vcom\_reduce(Vcom *thee, \textcolor{keywordtype}{void} *sendbuf, \textcolor{keywordtype}{void} *recvbuf, \textcolor{keywordtype}{int} length, }
\DoxyCodeLine{238   \textcolor{keywordtype}{int} type, \textcolor{keywordtype}{int} op);}
\DoxyCodeLine{239 }
\DoxyCodeLine{248 \textcolor{keywordtype}{int} Vcom\_size(Vcom *thee);}
\DoxyCodeLine{249 }
\DoxyCodeLine{261 \textcolor{keywordtype}{int} Vcom\_resize(Vcom *thee, \textcolor{keywordtype}{int} newsize);}
\DoxyCodeLine{262 }
\DoxyCodeLine{271 \textcolor{keywordtype}{int} Vcom\_rank(Vcom *thee);}
\DoxyCodeLine{272 }
\DoxyCodeLine{281 \textcolor{keywordtype}{int} Vcom\_barr(Vcom *thee);}
\DoxyCodeLine{282 }
\DoxyCodeLine{283 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* \_VCOM\_H\_ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{284 }

\end{DoxyCode}
