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

gather from multiple processes


Documentation

Gathers a_input of every process onto Vector<T> a_outVec on process number a_dest. It is an error if a_dest < 0 or a_dest >= numProc(). a_outVec is numProc() long with the value of a_input on every process in its elements.

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);

alphabetic index hierarchy of classes


Chombo

Copyright Notice

This software is copyright (C) by the Lawrence Berkeley National Laboratory. Permission is granted to reproduce this software for non-commercial purposes provided that this notice is left intact.

It is acknowledged that the U.S. Government has rights to this software under Contract DE-AC03-765F00098 between the U.S. Department of Energy and the University of California.

This software is provided as a professional and academic contribution for joint exchange. Thus it is experimental, is provided ``as is'', with no warranties of any kind whatsoever, no support, no promise of updates, or printed documentation. By using this software, you acknowledge that the Lawrence Berkeley National Laboratory and Regents of the University of California shall have no liability with respect to the infringement of other copyrights by any part of this software.