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();
148 return refCast<const CyclicType>
167#define makeAssemblyFvPatch(Type) \
169 defineNamedTemplateTypeNameAndDebug(AssemblyFvPatch<Type>, 0); \
An assembly of lduMatrix that is specific inter-region coupling through mapped patches.
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.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
void size(const label n)
Older name for setAddressableSize.
commsTypes
Types of communications.
Addressing for all faces on surface of mesh. Can either be read from polyMesh or from triSurface....
Smooth ATC in cells next to a set of patches supplied by type.
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.
#define forAll(list, i)
Loop across all elements in list.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.