20#ifndef FoamCompat_PstreamCombineReduceOps_H
21#define FoamCompat_PstreamCombineReduceOps_H
23#warning Deprecated header
36template<
class T,
class CombineOp>
static void combineReduce(T &value, CombineOp cop, const int tag=UPstream::msgType(), const int communicator=UPstream::worldComm)
Reduce inplace (cf. MPI Allreduce) applying cop to inplace combine value from different processors.
Inter-processor communications stream.
void combineReduce(T &value, const CombineOp &cop, const int tag=UPstream::msgType(), const int comm=UPstream::worldComm)
Compatibility wrapper for Pstream::combineReduce.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Various functors for unary and binary operations. Can be used for parallel combine-reduce operations ...
#define FOAM_DEPRECATED_FOR(since, replacement)