Go to the documentation of this file.
43 procPatch_(refCast<const processorCyclicPointPatch>(
p)),
57 procPatch_(refCast<const processorCyclicPointPatch>(
p,
dict)),
72 procPatch_(refCast<const processorCyclicPointPatch>(ptf.
patch())),
85 procPatch_(refCast<const processorCyclicPointPatch>(ptf.
patch())),
106 if (Pstream::parRun())
111 this->patchInternalField
114 procPatch_.reverseMeshPoints()
118 if (commsType == Pstream::commsTypes::nonBlocking)
120 receiveBuf_.setSize(pf.size());
124 procPatch_.neighbProcNo(),
125 reinterpret_cast<char*
>(receiveBuf_.begin()),
126 receiveBuf_.byteSize(),
134 procPatch_.neighbProcNo(),
135 reinterpret_cast<const char*
>(pf.begin()),
151 if (Pstream::parRun())
154 if (commsType != Pstream::commsTypes::nonBlocking)
156 receiveBuf_.setSize(this->size());
160 procPatch_.neighbProcNo(),
161 reinterpret_cast<char*
>(receiveBuf_.begin()),
162 receiveBuf_.byteSize(),
171 procPatch_.procCyclicPolyPatch();
174 transform(receiveBuf_, forwardT, receiveBuf_);
178 this->addToInternalField(pField, receiveBuf_);
virtual void swapAddSeparated(const Pstream::commsTypes commsType, Field< Type > &) const
Complete swap of patch point values and add to local values.
A Coupled boundary condition for pointField.
Neighbour processor patch.
virtual void initSwapAddSeparated(const Pstream::commsTypes commsType, Field< Type > &) const
Initialise swap of non-collocated patch point values.
Foam::processorCyclicPointPatchField.
Basic pointPatch represents a set of points from the mesh.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
const pointPatch & patch() const
Return patch.
Foam::pointPatchFieldMapper.
Generic templated field type.
virtual ~processorCyclicPointPatchField()
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
commsTypes
Types of communications.
processorCyclicPointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
virtual const tensorField & forwardT() const
Return face transformation tensor.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...