Go to the documentation of this file.
34 #ifndef helperFunctionsPar_H
35 #define helperFunctionsPar_H
52 template<
class sendOp,
class combineOp,
class T,
class ListType>
58 template<
class T,
class ListType,
class scatterOp,
class gatherOp>
59 void whisperReduce(
const ListType&,
const scatterOp&, gatherOp&);
63 template<
class T,
class ListType>
66 const std::map<label, ListType>&,
73 template<
class T,
class ListType>
77 template<
class RowType,
template<
class ListTypeArg>
class GraphType>
void whisperReduce(const ListType &neis, const scatterOp &sop, gatherOp &gop)
A dynamic list is a 1-D vector of objects of type T which resizes itself as necessary to accept the n...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void reverseAddressingSMP(const GraphType< RowType > &addr, GraphType< RowType > &reverseAddr)
calculates the reverse addressing of the graph by transposing the graph
commsTypes
Types of communications.
void exchangeMap(const std::map< label, ListType > &m, LongList< T > &data, const Pstream::commsTypes commsType)
void combineData(const sendOp &sop, combineOp &cop)