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))
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_)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Abstract base class for coupled patches.
coupledFvsPatchField(const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
Construct from patch and internal field.
This boundary condition enforces a cyclic condition between a pair of boundaries.
cyclicFvsPatchField(const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
Construct from patch and internal field.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A FieldMapper for finite-volume patch fields.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
label index() const noexcept
The index of this patch in the boundary mesh.
const fvPatch & patch() const noexcept
Return the patch.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Type & refCast(U &obj)
A dynamic_cast (for references) to Type reference.
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Type * isA(const U &obj)
Attempt dynamic_cast to Type.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
errorManipArg< error, int > exit(error &err, const int errNo=1)