40 procPatch_(refCast<const processorCyclicPointPatch>(p)),
54 procPatch_(refCast<const processorCyclicPointPatch>(p)),
69 procPatch_(refCast<const processorCyclicPointPatch>(ptf.
patch())),
82 procPatch_(refCast<const processorCyclicPointPatch>(ptf.
patch())),
103 if (Pstream::parRun())
108 this->patchInternalField
111 procPatch_.reverseMeshPoints()
115 if (commsType == Pstream::commsTypes::nonBlocking)
117 receiveBuf_.setSize(pf.
size());
121 procPatch_.neighbProcNo(),
122 reinterpret_cast<char*
>(receiveBuf_.begin()),
123 receiveBuf_.byteSize(),
131 procPatch_.neighbProcNo(),
132 reinterpret_cast<const char*
>(pf.
begin()),
148 if (Pstream::parRun())
151 if (commsType != Pstream::commsTypes::nonBlocking)
153 receiveBuf_.setSize(this->size());
157 procPatch_.neighbProcNo(),
158 reinterpret_cast<char*
>(receiveBuf_.begin()),
159 receiveBuf_.byteSize(),
165 procPatch_.procCyclicPolyPatch().transform().transform
172 this->addToInternalField(pField, receiveBuf_);
Foam::processorCyclicPointPatchField.
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.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
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.