68 if (!isType<processorCyclicFvPatch>(
p))
71 <<
"patch " << this->
patch().
index() <<
" not processor type. " 72 <<
"Patch type = " << p.type()
81 const processorCyclicFvsPatchField<Type>& ptf,
83 const DimensionedField<Type, surfaceMesh>& iF,
84 const fvPatchFieldMapper& mapper
87 coupledFvsPatchField<Type>(ptf,
p, iF, mapper),
88 procPatch_(
refCast<const processorCyclicFvPatch>(
p))
90 if (!isType<processorCyclicFvPatch>(this->
patch()))
93 <<
"Field type does not correspond to patch type for patch " 96 <<
"Patch type: " << this->
patch().type()
105 const processorCyclicFvsPatchField<Type>& ptf
This boundary condition enables processor communication across cyclic patches.
errorManipArg< error, int > exit(error &err, const int errNo=1)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Type & refCast(U &obj)
A dynamic_cast (for references) to Type reference.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
const fvPatch & patch() const noexcept
Return the patch.
processorCyclicFvsPatchField(const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
Construct from patch and internal field.
static const char *const typeName
Typename for Field.
Generic templated field type.
Abstract base class for coupled patches.
#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...
const std::string patch
OpenFOAM patch number as a std::string.
label index() const noexcept
The index of this patch in the boundary mesh.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...