38 #ifndef AssemblyFvPatch_H 39 #define AssemblyFvPatch_H 54 template<
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); \ void size(const label n)
Older name for setAddressableSize.
virtual ~AssemblyFvPatch()=default
Destructor.
AssemblyFvPatch(const polyPatch &patch, const fvBoundaryMesh &bm, const labelList &nrbFaceCells, const labelList &faceCells, const label nbrPatchID, const label nonOverPatchID=-1)
Construct from components.
virtual label nonOverlapPatchID() const
Return non-overlap patch ID for ACMI.
commsTypes
Communications types.
const labelList & faceCells_
Local faceCells.
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.
label nbrPatchID_
Nbr patch ID.
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &internalData) const
Return neighbour field.
const labelList & nrbFaceCells_
Nbr faceCell.
#define forAll(list, i)
Loop across all elements in list.
virtual const CyclicType & neighbPatch() const
Return nbr patch.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
TypeName(CyclicType::typeName_())
Runtime type information.
virtual label neighbPatchID() const
Return neighbour.
virtual const fvPatch & nonOverlapPatch() const
Return non-overlapping fvPatch for ACMI.
An assembly of lduMatrix that is specific inter-region coupling through mapped patches.
virtual const labelUList & faceCells() const
Return faceCells.
const std::string patch
OpenFOAM patch number as a std::string.
label nonOverlapPatchID_
Non-overlap patch ID.
A class for managing temporary objects.
A patch is a list of labels that address the faces in the global face list.