38#ifndef AssemblyFvPatch_H
39#define AssemblyFvPatch_H
54template<
class CyclicType>
91 const label nbrPatchID,
92 const label nonOverPatchID = -1
95 CyclicType(patch, bm),
117 auto& pif = tpif.ref();
167#define makeAssemblyFvPatch(Type) \
169 defineNamedTemplateTypeNameAndDebug(AssemblyFvPatch<Type>, 0); \
virtual ~AssemblyFvPatch()=default
Destructor.
virtual const CyclicType & neighbPatch() const
Return nbr patch.
const labelList & nrbFaceCells_
Nbr faceCell.
virtual label neighbPatchID() const
Return neighbour.
virtual const labelUList & faceCells() const
Return faceCells.
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &internalData) const
Return neighbour field.
AssemblyFvPatch(const polyPatch &patch, const fvBoundaryMesh &bm, const labelList &nrbFaceCells, const labelList &faceCells, const label nbrPatchID, const label nonOverPatchID=-1)
Construct from components.
label nbrPatchID_
Nbr patch ID.
virtual const fvPatch & nonOverlapPatch() const
Return non-overlapping fvPatch for ACMI.
TypeName(CyclicType::typeName_())
Runtime type information.
virtual label nonOverlapPatchID() const
Return non-overlap patch ID for ACMI.
const labelList & faceCells_
Local faceCells.
label nonOverlapPatchID_
Non-overlap patch ID.
commsTypes
Communications types.
Addressing for all faces on surface of mesh. Can either be read from polyMesh or from triSurface....
A fvBoundaryMesh is a fvPatch list with a reference to the associated fvMesh, with additional search ...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A patch is a list of labels that address the faces in the global face list.
A class for managing temporary objects.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
Type & refCast(U &obj)
A dynamic_cast (for references) to Type reference.
List< label > labelList
A List of labels.
UList< label > labelUList
A UList of labels.
#define forAll(list, i)
Loop across all elements in list.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.