57 if (!isA<cyclicAMIFvPatch>(this->
patch()))
60 <<
"Field type does not correspond to patch type for patch " 63 <<
"Patch type: " << this->
patch().type()
73 const DimensionedField<Type, surfaceMesh>& iF,
74 const dictionary&
dict 77 coupledFvsPatchField<Type>(
p, iF,
dict),
78 cyclicAMIPatch_(
refCast<const cyclicAMIFvPatch>(
p,
dict))
80 if (!isA<cyclicAMIFvPatch>(
p))
83 <<
"patch " << this->
patch().
index() <<
" not cyclicAMI type. " 84 <<
"Patch type = " << p.type()
93 const cyclicAMIFvsPatchField<Type>& ptf
97 cyclicAMIPatch_(ptf.cyclicAMIPatch_)
109 cyclicAMIPatch_(ptf.cyclicAMIPatch_)
118 return cyclicAMIPatch_.coupled();
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.
Cyclic patch for Arbitrary Mesh Interface (AMI)
Type & refCast(U &obj)
A dynamic_cast (for references). Generates a FatalError on failed casts and uses the virtual type() m...
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.
virtual bool coupled() const
Return true if running parallel.
static const char *const typeName
Typename for Field.
cyclicAMIFvsPatchField(const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
Construct from patch and internal field.
A FieldMapper for finite-volume patch fields.
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...
Foam::cyclicAMIFvsPatchField.
label index() const noexcept
The index of this patch in the boundary mesh.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...