39 procPatch_(refCast<const processorFvPatch>(p))
52 procPatch_(refCast<const processorFvPatch>(p))
65 procPatch_(refCast<const processorFvPatch>(p))
67 if (!isA<processorFvPatch>(p))
72 ) <<
"patch " << this->patch().index() <<
" not processor type. " 73 <<
"Patch type = " << p.type()
89 procPatch_(refCast<const processorFvPatch>(p))
91 if (!isA<processorFvPatch>(this->patch()))
94 <<
"Field type does not correspond to patch type for patch " 95 << this->patch().index() <<
"." <<
endl 96 <<
"Field type: " << typeName <<
endl 97 <<
"Patch type: " << this->patch().type()
111 procPatch_(refCast<const processorFvPatch>(ptf.
patch()))
130 if (Pstream::parRun())
132 if (commsType == Pstream::commsTypes::nonBlocking)
134 receiveBuf_.setSize(this->size());
139 procPatch_.neighbProcNo(),
140 reinterpret_cast<char*
>(receiveBuf_.begin()),
141 receiveBuf_.byteSize(),
150 procPatch_.neighbProcNo(),
151 reinterpret_cast<const char*
>(this->begin()),
167 if (Pstream::parRun())
169 if (commsType != Pstream::commsTypes::nonBlocking)
171 receiveBuf_.setSize(this->size());
176 procPatch_.neighbProcNo(),
177 reinterpret_cast<char*
>(receiveBuf_.begin()),
178 receiveBuf_.byteSize(),
184 procPatch_.transform().transform(receiveBuf_, receiveBuf_);
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
commsTypes
Types of communications.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void initPatchNeighbourField(const Pstream::commsTypes commsType) const
Initialise return of the patchField on the opposite patch of a.
Foam::processorFvsPatchField.
Pre-declare SubField and related Field type.
Foam::fvPatchFieldMapper.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
virtual tmp< Field< Type > > patchNeighbourField(const Pstream::commsTypes commsType) const
Return patchField on the opposite patch of a coupled patch.
const fvPatch & patch() const
Return patch.
Foam::coupledFvsPatchField.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
processorFvsPatchField(const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
Construct from patch and internal field.
virtual ~processorFvsPatchField()
Destructor.
A class for managing temporary objects.