49 const int neighbProcNo,
50 const word& referPatchName,
57 newName(referPatchName, myProcNo, neighbProcNo),
67 referPatchName_(referPatchName),
83 referPatchName_(dict.
lookup(
"referPatch")),
112 referPatchName_(pp.referPatchName_),
124 const label newStart,
125 const word& referPatchName
129 referPatchName_(referPatchName),
161 const word& cyclicPolyPatchName,
162 const label myProcNo,
163 const label neighbProcNo
169 + cyclicPolyPatchName;
175 const word& cyclicPolyPatchName,
181 string(
"procBoundary.*to.*through" + cyclicPolyPatchName)
209 <<
"Tag calculated from cyclic patch name " << tag_
210 <<
" is the same as the current message type " 212 <<
"Please set a non-conflicting, unique, tag by hand" 213 <<
" using the 'tag' entry" 218 Pout<<
"processorCyclicPolyPatch " <<
name() <<
" uses tag " << tag_
258 neighbFaceCellCentres()
261 if (isA<cyclicPolyPatch>(pp))
269 neighbFaceCellCentres(),
const cyclicPolyPatch & neighbPatch() const
virtual int tag() const
Return message tag to use for communication.
Neighbour processor patch.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
virtual void write(Ostream &) const
Write the polyPatch data as a dictionary.
static word newName(const label myProcNo, const label neighbProcNo)
Return the name of a processorPolyPatch.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void calcGeometry(PstreamBuffers &)
Calculate the patch geometry.
virtual void initOrder(PstreamBuffers &, const primitivePatch &) const
Initialize ordering for primitivePatch. Does not.
void movePoints(PstreamBuffers &, const pointField &)
Correct patches after moving points.
The coupledPolyPatch is an abstract base class for patches that couple regions of the computational d...
static int & msgType()
Message tag of standard messages.
Macros for easy insertion into run-time selection tables.
Neighbour processor patch.
A list of faces which address into the list of points.
virtual bool order(PstreamBuffers &, const primitivePatch &, labelList &faceMap, labelList &rotation) const
Return new ordering for primitivePatch.
virtual void calcGeometry(PstreamBuffers &)=0
Calculate the patch geometry.
virtual void initUpdateMesh(PstreamBuffers &)
Initialise the update of the patch topology.
A class for handling words, derived from string.
virtual void updateMesh(PstreamBuffers &)
Update of the patch topology.
const word & name() const
Return name.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
virtual ~processorCyclicPolyPatch()
void initGeometry(PstreamBuffers &)
Initialise the calculation of the patch geometry.
labelList findIndices(const keyType &, const bool usePatchGroups=true) const
Return patch indices for all matches. Optionally matches patchGroups.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
prefixOSstream Pout(cout,"Pout")
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
virtual void updateMesh(PstreamBuffers &)
Update of the patch topology.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
void initGeometry(PstreamBuffers &)
Initialise the calculation of the patch geometry.
word name(const complex &)
Return a string representation of a complex.
void initMovePoints(PstreamBuffers &, const pointField &)
Initialise the patches for moving points.
static bool & parRun()
Is this a parallel run?
virtual void initOrder(PstreamBuffers &, const primitivePatch &) const
Initialize ordering for primitivePatch. Does not.
static labelList patchIDs(const word &cyclicPolyPatchName, const polyBoundaryMesh &bm)
Return the indices of a processorCyclicPolyPatchs.
Hash function class for primitives. All non-primitives used to hash entries on hash tables likely nee...
processorCyclicPolyPatch(const label size, const label start, const label index, const polyBoundaryMesh &bm, const int myProcNo, const int neighbProcNo, const word &referPatchName, const transformType transform=UNKNOWN, const word &patchType=typeName)
Construct from components.
virtual void write(Ostream &) const
Write the polyPatch data as a dictionary.
const word & referPatchName() const
Return name of originating cyclicPolyPatch patch.
void calcGeometry(PstreamBuffers &)
Calculate the patch geometry.
static word newName(const word &cyclicPolyPatchName, const label myProcNo, const label neighbProcNo)
Return the name of a processorCyclicPolyPatch.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
virtual void initUpdateMesh(PstreamBuffers &)
Initialise the update of the patch topology.
virtual bool order(PstreamBuffers &, const primitivePatch &, labelList &faceMap, labelList &rotation) const
Return new ordering for primitivePatch.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.