57 if (!isA<cyclicACMIFvPatch>(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 cyclicACMIPatch_(
refCast<const cyclicACMIFvPatch>(
p,
dict))
80 if (!isA<cyclicACMIFvPatch>(
p))
83 <<
"patch " << this->
patch().
index() <<
" not cyclicACMI type. " 84 <<
"Patch type = " << p.type()
93 const cyclicACMIFvsPatchField<Type>& ptf
97 cyclicACMIPatch_(ptf.cyclicACMIPatch_)
109 cyclicACMIPatch_(ptf.cyclicACMIPatch_)
122 this->cyclicACMIPatch_.size()
123 && this->cyclicACMIPatch_.cyclicACMIPatch().neighbPatch().size()
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) that generates FatalError on failed casts, uses the virtual type() me...
Ostream & endl(Ostream &os)
Add newline and flush stream.
Foam::cyclicACMIFvsPatchField.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
static bool & parRun() noexcept
Test if this a parallel run.
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.
Cyclic patch for Arbitrarily Coupled Mesh Interface (ACMI)
A FieldMapper for finite-volume patch fields.
Foam::coupledFvsPatchField.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
cyclicACMIFvsPatchField(const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
Construct from patch and internal field.
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.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...