68 if (!isType<processorFvPatch>(
p))
71 <<
"patch " << this->
patch().
index() <<
" not processor type. " 72 <<
"Patch type = " << p.type()
81 const processorFvsPatchField<Type>& ptf,
83 const DimensionedField<Type, surfaceMesh>& iF,
84 const fvPatchFieldMapper& mapper
87 coupledFvsPatchField<Type>(ptf,
p, iF, mapper),
88 procPatch_(
refCast<const processorFvPatch>(
p))
90 if (!isType<processorFvPatch>(this->
patch()))
93 <<
"Field type does not correspond to patch type for patch " 96 <<
"Patch type: " << this->
patch().type()
105 const processorFvsPatchField<Type>& ptf
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) that generates FatalError on failed casts, uses the virtual type() me...
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.
static const char *const typeName
Typename for Field.
Foam::processorFvsPatchField.
Generic templated field type.
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.
const std::string patch
OpenFOAM patch number as a std::string.
virtual ~processorFvsPatchField()
Destructor.
label index() const noexcept
Return the index of this patch in the fvBoundaryMesh.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...