55 if (!isType<emptyFvPatch>(
p))
58 <<
"patch " << this->
patch().
index() <<
" not empty type. " 59 <<
"Patch type = " << p.type()
68 const emptyFvsPatchField<Type>&,
70 const DimensionedField<Type, surfaceMesh>& iF,
71 const fvPatchFieldMapper&
74 fvsPatchField<Type>(
p, iF, Field<Type>(0))
76 if (!isType<emptyFvPatch>(this->
patch()))
79 <<
"Field type does not correspond to patch type for patch " 82 <<
"Patch type: " << this->
patch().type()
91 const emptyFvsPatchField<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.
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.
emptyFvsPatchField(const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
Construct from patch and internal field.
Generic templated field type.
Foam::emptyFvsPatchField.
#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.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...