69 if (!isType<processorFaPatch>(this->
patch()))
72 <<
"Field type does not correspond to patch type for patch " 75 <<
"Patch type: " << this->
patch().type()
85 const DimensionedField<Type, edgeMesh>& iF,
86 const dictionary&
dict 89 coupledFaePatchField<Type>(
p, iF,
dict, IOobjectOption::LAZY_READ),
92 if (!isType<processorFaPatch>(
p))
95 <<
"patch " << this->
patch().
index() <<
" not processor type. " 96 <<
"Patch type = " << p.type()
105 const processorFaePatchField<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...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Type & refCast(U &obj)
A dynamic_cast (for references) to Type reference.
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static const char *const typeName
Typename for Field.
Generic templated field type.
const faPatch & patch() const noexcept
Return the patch.
Finite area patch class. Used for 2-D non-Euclidian finite area method.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
processorFaePatchField(const faPatch &, const DimensionedField< Type, edgeMesh > &)
Construct from patch and internal field.
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 boundaryMesh.
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
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 ...