71 <<
"patch " << this->
patch().
index() <<
" not processor type. "
72 <<
"Patch type = " << p.type()
81 const processorCyclicFvsPatchField<Type>& ptf,
83 const DimensionedField<Type, surfaceMesh>& iF,
84 const fvPatchFieldMapper& mapper
87 coupledFvsPatchField<Type>(ptf,
p, iF, mapper),
88 procPatch_(
refCast<const processorCyclicFvPatch>(
p))
93 <<
"Field type does not correspond to patch type for patch "
96 <<
"Patch type: " << this->
patch().type()
105 const processorCyclicFvsPatchField<Type>& ptf
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
Abstract base class for coupled patches.
coupledFvsPatchField(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.
This boundary condition enables processor communication across cyclic patches.
processorCyclicFvsPatchField(const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
Construct from patch and internal field.
#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.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
bool isType(const U &obj)
Check if typeid of the object and Type are identical.
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)