Go to the documentation of this file.
44 template<
class Type,
class CombineOp>
53 case NEARESTPATCHFACEAMI:
55 lst = AMI().interpolateToSource
68 map().constructSize(),
88 case NEARESTPATCHFACEAMI:
95 map().reverseDistribute(sampleSize(), lst);
102 template<
class Type,
class CombineOp>
111 case NEARESTPATCHFACEAMI:
113 lst = AMI().interpolateToTarget
122 label cSize = sampleSize();
128 map().constructMap(),
const mapDistribute & map() const
Return reference to the parallel distribution map.
static void distribute(const Pstream::commsTypes commsType, const List< labelPair > &schedule, const label constructSize, const labelListList &subMap, const bool subHasFlip, const labelListList &constructMap, const bool constructHasFlip, List< T > &, const negateOp &negOp, const int tag=UPstream::msgType())
Distribute data. Note:schedule only used for Pstream::scheduled.
Xfer< List< T > > xfer()
Transfer contents to the Xfer container.
Class containing functor to negate primitives. Dummy for all other types.
const sampleMode mode_
What to sample.
static commsTypes defaultCommsType
Default commsType.
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 interpolateToSource(const UList< Type > &fld, const CombineOp &cop, List< Type > &result, const UList< Type > &defaultValues=UList< Type >::null()) const
Interpolate from target to source with supplied op.
void distribute(List< Type > &lst) const
Wrapper around map/interpolate data distribution.
void distribute(List< T > &fld, const bool dummyTransform=true, const int tag=UPstream::msgType()) const
Distribute data using default commsType.
Traits class for primitives.
const AMIPatchToPatchInterpolation & AMI(const bool forceUpdate=false) const
Return reference to the AMI interpolator.
void reverseDistribute(List< Type > &lst) const
Wrapper around map/interpolate data distribution.