55 if (!isA<cyclicFvPatch>(
p))
60 ) <<
"patch " << this->
patch().
index() <<
" not cyclic type. "
61 <<
"Patch type = " << p.type()
79 if (!isA<cyclicFvPatch>(this->
patch()))
82 <<
"Field type does not correspond to patch type for patch "
85 <<
"Patch type: " << this->
patch().type()
99 cyclicPatch_(ptf.cyclicPatch_)
113 refCast<const SurfaceField<Type>>(this->internalField());
122 cp.transform().transform(tresult.
ref(), tresult.
ref());
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Pre-declare SubField and related Field type.
static const char *const typeName
Generic GeometricField class.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
commsTypes
Types of communications.
Foam::coupledFvsPatchField.
Foam::cyclicFvsPatchField.
virtual tmp< Field< Type > > patchNeighbourField(const Pstream::commsTypes commsType) const
Return patchField on the opposite patch of a coupled patch.
cyclicFvsPatchField(const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
Construct from patch and internal field.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for field mapping.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
label index() const
Return the index of this patch in the fvBoundaryMesh.
const fvPatch & patch() const
Return patch.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
To & refCast(From &r)
Reference type cast template function.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy, recursively if necessary, the source to the destination.