46#ifndef Foam_processorPointPatch_H
47#define Foam_processorPointPatch_H
61class processorPointPatch
97 void operator=(
const processorPointPatch&) =
delete;
102 TypeName(processorPolyPatch::typeName_());
117 const processorPointPatch&
patch,
152 virtual int tag()
const
154 return procPolyPatch_.tag();
158 virtual label
comm()
const
160 return procPolyPatch_.
comm();
178 return procPolyPatch_.neighbProcNo();
184 return procPolyPatch_.owner();
196 return procPolyPatch_;
202 return reverseMeshPoints_;
Buffers for inter-processor communications streams (UOPstream, UIPstream).
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static autoPtr< T > NewFrom(Args &&... args)
Construct autoPtr from derived type with forwarding arguments.
coupledFacePointPatch(const coupledFacePointPatch &)=delete
No copy construct.
friend class processorPointPatch
virtual label index() const
Return the index of this patch in the pointBoundaryMesh.
virtual const polyPatch & patch() const
Return the polyPatch.
A pointBoundaryMesh is a pointPatch list with registered IO, a reference to the associated pointMesh,...
A patch is a list of labels that address the faces in the global face list.
bool owner() const
Does the processor own the patch ?
const processorPolyPatch & procPolyPatch() const noexcept
Return the underlying processorPolyPatch.
virtual ~processorPointPatch()=default
Destructor.
virtual const word & constraintType() const
Return the constraint type this pointPatch implements.
int neighbProcNo() const noexcept
Return neighbour processor number.
virtual autoPtr< pointPatch > clone(const pointBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const labelUList &reversePointMap) const
Construct and return a subset clone, resetting the point list and boundary mesh.
virtual label comm() const
Return communicator used for communication.
TypeName(processorPolyPatch::typeName_())
Runtime type information.
int myProcNo() const noexcept
Return processor number.
bool neighbour() const
Is the processor the patch neighbour ?
const labelList & reverseMeshPoints() const noexcept
Return mesh points in the correct order for the receiving side.
virtual int tag() const
Return message tag to use for communication.
Neighbour processor patch.
virtual label comm() const
Return communicator used for communication.
int myProcNo() const noexcept
Return processor number.
A class for handling words, derived from Foam::string.
List< label > labelList
A List of labels.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
vectorField pointField
pointField is a vectorField.
UList< label > labelUList
A UList of labels.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.