55 if (!isA<cyclicFvPatch>(
p))
58 <<
"patch " << this->
patch().
index() <<
" not cyclic type. " 59 <<
"Patch type = " << p.type()
68 const cyclicFvsPatchField<Type>& ptf,
70 const DimensionedField<Type, surfaceMesh>& iF,
71 const fvPatchFieldMapper& mapper
74 coupledFvsPatchField<Type>(ptf,
p, iF, mapper),
75 cyclicPatch_(
refCast<const cyclicFvPatch>(
p))
77 if (!isA<cyclicFvPatch>(this->
patch()))
80 <<
"Field type does not correspond to patch type for patch " 83 <<
"Patch type: " << this->
patch().type()
92 const cyclicFvsPatchField<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...
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.
Type & refCast(U &obj)
A dynamic_cast (for references) that generates FatalError on failed casts, uses the virtual type() me...
Foam::cyclicFvsPatchField.
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.
Foam::coupledFvsPatchField.
#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...
label index() const noexcept
Return the index of this patch in the fvBoundaryMesh.
cyclicFvsPatchField(const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
Construct from patch and internal field.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...