Go to the documentation of this file.
44 procPatch_(refCast<const processorCyclicPointPatch>(
p)),
58 procPatch_(refCast<const processorCyclicPointPatch>(
p,
dict)),
73 procPatch_(refCast<const processorCyclicPointPatch>(ptf.
patch())),
86 procPatch_(refCast<const processorCyclicPointPatch>(ptf.
patch())),
107 if (Pstream::parRun())
112 this->patchInternalField
115 procPatch_.reverseMeshPoints()
119 if (commsType == Pstream::commsTypes::nonBlocking)
121 receiveBuf_.setSize(pf.size());
125 procPatch_.neighbProcNo(),
126 reinterpret_cast<char*
>(receiveBuf_.data()),
127 receiveBuf_.byteSize(),
135 procPatch_.neighbProcNo(),
136 reinterpret_cast<const char*
>(pf.cdata()),
152 if (Pstream::parRun())
155 if (commsType != Pstream::commsTypes::nonBlocking)
157 receiveBuf_.setSize(this->size());
161 procPatch_.neighbProcNo(),
162 reinterpret_cast<char*
>(receiveBuf_.data()),
163 receiveBuf_.byteSize(),
172 procPatch_.procCyclicPolyPatch();
175 transform(receiveBuf_, forwardT, receiveBuf_);
179 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...