78 const label bufSize = 0
95 template<
class T,
class BinaryOp>
106 template<
class T,
class BinaryOp>
137 template<
class T,
class CombineOp>
142 const CombineOp& cop,
148 template<
class T,
class CombineOp>
152 const CombineOp& cop,
178 template<
class T,
class CombineOp>
183 const CombineOp& cop,
189 template<
class T,
class CombineOp>
193 const CombineOp& cop,
220 template<
class Container,
class CombineOp>
225 const CombineOp& cop,
231 template<
class Container,
class CombineOp>
235 const CombineOp& cop,
241 template<
class Container>
251 template<
class Container>
308 template<
class Container,
class T>
316 const bool block =
true
322 template<
class Container>
325 const Container& sendData,
333 template<
class Container,
class T>
340 const bool block =
true
void setCapacity(const label)
Alter the size of the underlying storage.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Inter-processor communications stream.
static void scatter(const List< commsStruct > &comms, T &Value, const int tag, const label comm)
Scatter data. Distribute without modification. Reverse of gather.
static void exchangeSizes(const Container &sendData, labelList &sizes, const label comm=UPstream::worldComm)
Helper: exchange sizes of sendData. sendData is the data per.
static void scatterList(const List< commsStruct > &comms, List< T > &Values, const int tag, const label comm)
Scatter data. Reverse of gatherList.
Pstream(const commsTypes commsType, const label bufSize=0)
Construct given optional buffer size.
static void combineScatter(const List< commsStruct > &comms, T &Value, const int tag, const label comm)
Scatter data. Reverse of combineGather.
static void mapCombineScatter(const List< commsStruct > &comms, Container &Values, const int tag, const label comm)
Scatter data. Reverse of combineGather.
static void listCombineGather(const List< commsStruct > &comms, List< T > &Value, const CombineOp &cop, const int tag, const label comm)
static void exchange(const UList< Container > &sendData, const labelUList &recvSizes, List< Container > &recvData, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm, const bool block=true)
Helper: exchange contiguous data. Sends sendData, receives into.
static void mapCombineGather(const List< commsStruct > &comms, Container &Values, const CombineOp &cop, const int tag, const label comm)
static void gather(const List< commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
Gather data. Apply bop to combine Value.
DynamicList< char > buf_
Transfer buffer.
static void listCombineScatter(const List< commsStruct > &comms, List< T > &Value, const int tag, const label comm)
Scatter data. Reverse of combineGather.
static void combineGather(const List< commsStruct > &comms, T &Value, const CombineOp &cop, const int tag, const label comm)
static void gatherList(const List< commsStruct > &comms, List< T > &Values, const int tag, const label comm)
Gather data but keep individual values separate.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Inter-processor communications stream.
commsTypes
Types of communications.
static label worldComm
Default communicator (all processors)
commsTypes commsType() const
Get the communications type of the stream.
static int & msgType()
Message tag of standard messages.
Creates a single block of cells from point coordinates, numbers of cells in each direction and an exp...
Variant of gather, scatter. Normal gather uses:
Gather data from all processors onto single processor according to some communication schedule (usual...
Gather data from all processors onto single processor according to some communication schedule (usual...
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 T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)