56 if (!isType<cyclicFaPatch>(this->
patch()))
59 <<
"Field type does not correspond to patch type for patch " 62 <<
"Patch type: " << this->
patch().type()
72 const DimensionedField<Type, edgeMesh>& iF,
73 const dictionary&
dict 76 coupledFaePatchField<Type>(
p, iF,
dict),
79 if (!isType<cyclicFaPatch>(
p))
82 <<
"patch " << this->
patch().
index() <<
" not cyclic type. " 83 <<
"Patch type = " << p.type()
92 const cyclicFaePatchField<Type>& ptf
96 cyclicPatch_(ptf.cyclicPatch_)
108 cyclicPatch_(ptf.cyclicPatch_)
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.
const faPatch & patch() const noexcept
Return the patch.
Finite area patch class. Used for 2-D non-Euclidian finite area method.
Foam::cyclicFaePatchField.
#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...
cyclicFaePatchField(const faPatch &, const DimensionedField< Type, edgeMesh > &)
Construct from patch and internal field.
label index() const noexcept
The index of this patch in the boundaryMesh.
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 ...