53 if (!isType<emptyPointPatch>(
p))
56 <<
"patch " << this->
patch().
index() <<
" not empty type. " 57 <<
"Patch type = " << p.type()
66 const emptyPointPatchField<Type>& ptf,
68 const DimensionedField<Type, pointMesh>& iF,
69 const pointPatchFieldMapper& mapper
72 pointPatchField<Type>(ptf,
p, iF, mapper)
74 if (!isType<emptyPointPatch>(this->
patch()))
77 <<
"Field type does not correspond to patch type for patch " 79 <<
"Field type: " << typeName <<
endl 80 <<
"Patch type: " << this->
patch().type()
89 const emptyPointPatchField<Type>& ptf,
90 const DimensionedField<Type, pointMesh>& iF
93 pointPatchField<Type>(ptf, iF)
errorManipArg< error, int > exit(error &err, const int errNo=1)
const pointPatch & patch() const noexcept
Return the patch.
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.
emptyPointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Abstract base class for point-mesh patch fields.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Basic pointPatch represents a set of points from the mesh.
virtual label index() const =0
Return the index of this patch in the pointBoundaryMesh.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...