41 procPatch_(refCast<const processorCyclicPointPatch>(p)),
55 procPatch_(refCast<const processorCyclicPointPatch>(p)),
70 procPatch_(refCast<const processorCyclicPointPatch>(ptf.
patch())),
83 procPatch_(refCast<const processorCyclicPointPatch>(ptf.
patch())),
104 if (Pstream::parRun())
109 this->patchInternalField
112 procPatch_.reverseMeshPoints()
116 if (commsType == Pstream::commsTypes::nonBlocking)
118 receiveBuf_.setSize(pf.
size());
122 procPatch_.neighbProcNo(),
123 reinterpret_cast<char*
>(receiveBuf_.begin()),
124 receiveBuf_.byteSize(),
132 procPatch_.neighbProcNo(),
133 reinterpret_cast<const char*
>(pf.
begin()),
149 if (Pstream::parRun())
152 if (commsType != Pstream::commsTypes::nonBlocking)
154 receiveBuf_.setSize(this->size());
158 procPatch_.neighbProcNo(),
159 reinterpret_cast<char*
>(receiveBuf_.begin()),
160 receiveBuf_.byteSize(),
169 procPatch_.procCyclicPolyPatch();
172 transform(receiveBuf_, forwardT, receiveBuf_);
176 this->addToInternalField(pField, receiveBuf_);
Foam::processorCyclicPointPatchField.
Neighbour processor patch.
processorCyclicPointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
A list of keyword definitions, which are a keyword followed by any number of values (e...
commsTypes
Types of communications.
void size(const label)
Override size to be inconsistent with allocated storage.
Foam::pointPatchFieldMapper.
virtual void initSwapAddSeparated(const Pstream::commsTypes commsType, Field< Type > &) const
Initialise swap of non-collocated patch point values.
Pre-declare SubField and related Field type.
const pointPatch & patch() const
Return patch.
iterator begin()
Return an iterator to begin traversing the UList.
virtual const tensorField & forwardT() const
Return face transformation tensor.
Basic pointPatch represents a set of points from the mesh.
std::streamsize byteSize() const
Return the binary size in number of characters of the UList.
A Coupled boundary condition for pointField.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void swapAddSeparated(const Pstream::commsTypes commsType, Field< Type > &) const
Complete swap of patch point values and add to local values.
virtual ~processorCyclicPointPatchField()
Destructor.
dimensionSet transform(const dimensionSet &)