20 #ifndef FoamCompat_PstreamCombineReduceOps_H 21 #define FoamCompat_PstreamCombineReduceOps_H 23 #warning Deprecated header 36 template<
class T,
class CombineOp>
42 const
int tag = UPstream::msgType(),
void combineReduce(T &value, const CombineOp &cop, const int tag=UPstream::msgType(), const int comm=UPstream::worldComm)
Compatibility wrapper for Pstream::combineReduce.
Various functors for unary and binary operations. Can be used for parallel combine-reduce operations ...
class FOAM_DEPRECATED_FOR(2017-05, "Foam::Enum") NamedEnum
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
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.