Go to the documentation of this file.
50 const int neighbProcNo,
51 const word& referPatchName,
68 referPatchName_(referPatchName),
84 referPatchName_(
dict.lookup(
"referPatch")),
85 tag_(
dict.lookupOrDefault<
int>(
"tag", -1)),
125 const label newStart,
126 const word& referPatchName
130 referPatchName_(referPatchName),
183 <<
"Tag calculated from cyclic patch name " << tag_
184 <<
" is the same as the current message type "
186 <<
"Please set a non-conflicting, unique, tag by hand"
187 <<
" using the 'tag' entry"
192 Pout<<
"processorCyclicPolyPatch " <<
name() <<
" uses tag " << tag_
232 neighbFaceCellCentres()
235 if (isA<cyclicPolyPatch>(pp))
243 neighbFaceCellCentres(),
virtual int tag() const
Return message tag to use for communication.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
A class for handling words, derived from string.
Neighbour processor patch.
const cyclicPolyPatch & neighbPatch() const
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
virtual void initUpdateMesh(PstreamBuffers &)
Initialise the update of the patch topology.
virtual void initOrder(PstreamBuffers &, const primitivePatch &) const
Initialize ordering for primitivePatch. Does not.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
const word referPatchName_
Name of originating patch.
static bool & parRun()
Is this a parallel run?
virtual bool order(PstreamBuffers &, const primitivePatch &, labelList &faceMap, labelList &rotation) const
Return new ordering for primitivePatch.
processorCyclicPolyPatch(const word &name, 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.
Ostream & endl(Ostream &os)
Add newline and flush stream.
The coupledPolyPatch is an abstract base class for patches that couple regions of the computational d...
void calcGeometry(PstreamBuffers &)
Calculate the patch geometry.
dimensionSet transform(const dimensionSet &)
void initMovePoints(PstreamBuffers &, const pointField &)
Initialise the patches for moving points.
void movePoints(PstreamBuffers &, const pointField &)
Correct patches after moving points.
Hash function class for primitives. All non-primitives used to hash entries on hash tables likely nee...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
void initGeometry(PstreamBuffers &)
Initialise the calculation of the patch geometry.
Neighbour processor patch.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual void initUpdateMesh(PstreamBuffers &)
Initialise the update of the patch topology.
virtual void write(Ostream &) const
Write the polyPatch data as a dictionary.
static int & msgType()
Message tag of standard messages.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const word & referPatchName() const
virtual void write(Ostream &) const
Write the polyPatch data as a dictionary.
prefixOSstream Pout(cout, "Pout")
virtual void initOrder(PstreamBuffers &, const primitivePatch &) const
Initialize ordering for primitivePatch. Does not.
virtual void updateMesh(PstreamBuffers &)
Update of the patch topology.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void calcGeometry(PstreamBuffers &)
Calculate the patch geometry.
virtual ~processorCyclicPolyPatch()
virtual void updateMesh(PstreamBuffers &)
Update of the patch topology.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void calcGeometry(PstreamBuffers &)=0
Calculate the patch geometry.
defineTypeNameAndDebug(combustionModel, 0)
const word & name() const
Return name.
void initGeometry(PstreamBuffers &)
Initialise the calculation of the patch geometry.
word name(const complex &)
Return a string representation of a complex.
virtual bool order(PstreamBuffers &, const primitivePatch &, labelList &faceMap, labelList &rotation) const
Return new ordering for primitivePatch.
A list of faces which address into the list of points.