59 if (!isType<emptyFvPatch>(
p))
62 <<
"patch " << this->
patch().
index() <<
" not empty type. " 63 <<
"Patch type = " << p.type()
72 const emptyFvsPatchField<Type>&,
74 const DimensionedField<Type, surfaceMesh>& iF,
75 const fvPatchFieldMapper&
78 fvsPatchField<Type>(
p, iF, Field<Type>())
80 if (!isType<emptyFvPatch>(this->
patch()))
83 <<
"Field type does not correspond to patch type for patch " 86 <<
"Patch type: " << this->
patch().type()
95 const emptyFvsPatchField<Type>& ptf,
96 const DimensionedField<Type, surfaceMesh>& iF
virtual void write(Ostream &) const
Write without "value" entry!
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.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
virtual void write(Ostream &os) const
Write the patch "type".
This boundary condition provides an 'empty' condition for reduced dimensions cases.
#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 ...