SPMDI.H File Reference

#include "memtrack.H"
#include "parstream.H"
#include "BaseNamespaceHeader.H"
#include "BaseNamespaceFooter.H"

Include dependency graph for SPMDI.H:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class T>
int linearSize (const T &inputT)
template<class T>
void linearIn (T &a_outputT, const void *const inBuf)
template<class T>
void linearOut (void *const a_outBuf, const T &inputT)
template<class T>
void gather (Vector< T > &a_outVec, const T &a_input, int a_dest)
template<class T>
void broadcast (T &a_inAndOut, int a_src)
 broadcast to every process
void barrier (void)
 all ranks wait here to sync-up
template<class T>
void linearListIn (Vector< T > &a_outputT, const void *const a_inBuf)
template<class T>
void linearListOut (void *const a_outBuf, const Vector< T > &a_input)
template<class T>
int linearListSize (const Vector< T > &a_input)


Function Documentation

template<class T>
int linearSize ( const T &  inputT  )  [inline]

template<class T>
void linearIn ( T &  a_outputT,
const void *const   inBuf 
) [inline]

template<class T>
void linearOut ( void *const   a_outBuf,
const T &  inputT 
) [inline]

template<class T>
void gather ( Vector< T > &  a_outVec,
const T &  a_input,
int  a_dest 
) [inline]

template<class T>
void broadcast ( T &  a_inAndOut,
int  a_src 
) [inline]

broadcast to every process

Broadcasts a_inAndOut to every process from process number a_src. It is an error if a_src < 0 or a_src >= numProc(). \

T must have have the following functions: \

int linearSize<T>(const T& inputT); \ void linearIn<T>(T& a_outputT, const void* const inBuf); \ void linearOut<T>(void* a_outBuf, const T& inputT); \

Referenced by gatherBoxesAndOffsets(), and getOffsets().

void barrier ( void   )  [inline]

all ranks wait here to sync-up

All MPI ranks wait here to sync-up. Calls MPI_Barrier(comm)

template<class T>
void linearListIn ( Vector< T > &  a_outputT,
const void *const   a_inBuf 
) [inline]

template<class T>
void linearListOut ( void *const   a_outBuf,
const Vector< T > &  a_input 
) [inline]

template<class T>
int linearListSize ( const Vector< T > &  a_input  )  [inline]


Generated on Fri Apr 5 04:24:18 2019 for Chombo + EB by  doxygen 1.5.5