55 if (!isType<emptyFaPatch>(this->
patch()))
58 <<
"Field type does not correspond to patch type for patch " 61 <<
"Patch type: " << this->
patch().type()
71 const DimensionedField<Type, edgeMesh>& iF,
72 const dictionary&
dict 75 faePatchField<Type>(
p, iF, Field<Type>())
80 if (!isType<emptyFaPatch>(
p))
83 <<
"patch " << this->
patch().
index() <<
" not empty type. " 84 <<
"Patch type = " << p.type()
93 const emptyFaePatchField<Type>& ptf,
94 const DimensionedField<Type, edgeMesh>& iF
virtual void write(Ostream &os) const
Write.
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...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
static const char *const typeName
Typename for Field.
Generic templated field type.
const faPatch & patch() const noexcept
Return the patch.
virtual void write(Ostream &) const
Write without "value" entry!
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
Finite area patch class. Used for 2-D non-Euclidian finite area method.
#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.
faePatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cove...
label index() const noexcept
The index of this patch in the boundaryMesh.
emptyFaePatchField(const faPatch &, const DimensionedField< Type, edgeMesh > &)
Construct from patch and internal field.
A FieldMapper for finite-area patch fields.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...