Non-conformal poly patch. This patch is a placeholder and must have no faces. This patch is linked to an "original" patch. Other parts of the code (i.e., finite volume) will use this patch to create non-empty patches that do not conform to the poly mesh. More...
Public Member Functions | |
TypeName ("nonConformal") | |
Runtime type information. More... | |
nonConformalPolyPatch (const polyPatch &patch) | |
Construct from a patch. More... | |
nonConformalPolyPatch (const polyPatch &patch, const word &origPatchName) | |
Construct from a patch and an original patch name. More... | |
nonConformalPolyPatch (const polyPatch &patch, const dictionary &dict) | |
Construct from a patch and a dictionary. More... | |
nonConformalPolyPatch (const polyPatch &patch, const nonConformalPolyPatch &ncPatch) | |
Construct from a patch and a non-conformal patch. More... | |
virtual | ~nonConformalPolyPatch () |
Destructor. More... | |
const word & | origPatchName () const |
Original patch name. More... | |
label | origPatchID () const |
Original patchID. More... | |
const polyPatch & | origPatch () const |
Original patch. More... | |
virtual void | write (Ostream &) const |
Write the polyPatch data as a dictionary. More... | |
Protected Member Functions | |
virtual void | rename (const wordList &newNames) |
Reset the patch name. More... | |
virtual void | reorder (const labelUList &newToOldIndex) |
Reset the patch index. More... | |
Non-conformal poly patch. This patch is a placeholder and must have no faces. This patch is linked to an "original" patch. Other parts of the code (i.e., finite volume) will use this patch to create non-empty patches that do not conform to the poly mesh.
Definition at line 51 of file nonConformalPolyPatch.H.
nonConformalPolyPatch | ( | const polyPatch & | patch | ) |
Construct from a patch.
Definition at line 80 of file nonConformalPolyPatch.C.
Referenced by nonConformalPolyPatch::nonConformalPolyPatch().
nonConformalPolyPatch | ( | const polyPatch & | patch, |
const word & | origPatchName | ||
) |
Construct from a patch and an original patch name.
Definition at line 91 of file nonConformalPolyPatch.C.
References nonConformalPolyPatch::nonConformalPolyPatch().
nonConformalPolyPatch | ( | const polyPatch & | patch, |
const dictionary & | dict | ||
) |
Construct from a patch and a dictionary.
Definition at line 105 of file nonConformalPolyPatch.C.
References nonConformalPolyPatch::nonConformalPolyPatch().
nonConformalPolyPatch | ( | const polyPatch & | patch, |
const nonConformalPolyPatch & | ncPatch | ||
) |
Construct from a patch and a non-conformal patch.
Definition at line 119 of file nonConformalPolyPatch.C.
|
virtual |
Destructor.
Definition at line 134 of file nonConformalPolyPatch.C.
|
protectedvirtual |
Reset the patch name.
Reimplemented in nonConformalCyclicPolyPatch, nonConformalCoupledPolyPatch, nonConformalErrorPolyPatch, and nonConformalProcessorCyclicPolyPatch.
Definition at line 53 of file nonConformalPolyPatch.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
Referenced by nonConformalErrorPolyPatch::rename(), and nonConformalCoupledPolyPatch::rename().
|
protectedvirtual |
Reset the patch index.
Reimplemented in nonConformalCyclicPolyPatch, nonConformalCoupledPolyPatch, nonConformalErrorPolyPatch, and nonConformalProcessorCyclicPolyPatch.
Definition at line 69 of file nonConformalPolyPatch.C.
References Foam::findIndex().
Referenced by nonConformalErrorPolyPatch::reorder(), and nonConformalCoupledPolyPatch::reorder().
TypeName | ( | "nonConformal" | ) |
Runtime type information.
const Foam::word & origPatchName | ( | ) | const |
Original patch name.
Definition at line 140 of file nonConformalPolyPatch.C.
Referenced by nonConformalErrorPolyPatch::clone(), nonConformalCyclicPolyPatch::clone(), and nonConformalPolyPatch::origPatchID().
Foam::label origPatchID | ( | ) | const |
Original patchID.
Definition at line 146 of file nonConformalPolyPatch.C.
References polyPatch::boundaryMesh(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, polyBoundaryMesh::findPatchID(), patchIdentifier::name(), polyBoundaryMesh::names(), nonConformalPolyPatch::origPatchName(), and p.
Referenced by nonConformalBoundary::allOrigPatchIDs(), nonConformalBoundary::nonConformalNonCoupledPatchIDs(), nonConformalPolyPatch::origPatch(), and nonConformalBoundary::ownerOrigPatchIDs().
const Foam::polyPatch & origPatch | ( | ) | const |
Original patch.
Definition at line 180 of file nonConformalPolyPatch.C.
References polyPatch::boundaryMesh(), and nonConformalPolyPatch::origPatchID().
Referenced by particle::correctAfterNonConformalCyclicTransfer(), domainDecomposition::decompose(), and particle::hitNonConformalCyclicPatch().
|
virtual |
Write the polyPatch data as a dictionary.
Reimplemented in nonConformalCyclicPolyPatch, nonConformalProcessorCyclicPolyPatch, nonConformalErrorPolyPatch, and nonConformalCoupledPolyPatch.
Definition at line 186 of file nonConformalPolyPatch.C.
References Foam::writeEntry().
Referenced by nonConformalCoupledPolyPatch::write(), and nonConformalErrorPolyPatch::write().