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 polyPatch & | patch () const |
| Reference to the polyPatch. More... | |
| const word & | origPatchName () const |
| Original patch name. More... | |
| label | origPatchIndex () 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.
| nonConformalPolyPatch | ( | const polyPatch & | patch, |
| const word & | origPatchName | ||
| ) |
Construct from a patch and an original patch name.
Definition at line 90 of file nonConformalPolyPatch.C.
| nonConformalPolyPatch | ( | const polyPatch & | patch, |
| const dictionary & | dict | ||
| ) |
Construct from a patch and a dictionary.
Definition at line 104 of file nonConformalPolyPatch.C.
| nonConformalPolyPatch | ( | const polyPatch & | patch, |
| const nonConformalPolyPatch & | ncPatch | ||
| ) |
Construct from a patch and a non-conformal patch.
Definition at line 118 of file nonConformalPolyPatch.C.
|
virtual |
Destructor.
Definition at line 134 of file nonConformalPolyPatch.C.
|
protectedvirtual |
Reset the patch name.
Reimplemented in nonConformalProcessorCyclicPolyPatch, nonConformalErrorPolyPatch, nonConformalCyclicPolyPatch, nonConformalCoupledPolyPatch, and nonConformalMappedWallPolyPatch.
Definition at line 53 of file nonConformalPolyPatch.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
Referenced by nonConformalMappedWallPolyPatch::rename(), nonConformalCoupledPolyPatch::rename(), and nonConformalErrorPolyPatch::rename().


|
protectedvirtual |
Reset the patch index.
Reimplemented in nonConformalProcessorCyclicPolyPatch, nonConformalErrorPolyPatch, nonConformalCyclicPolyPatch, nonConformalCoupledPolyPatch, and nonConformalMappedWallPolyPatch.
Definition at line 69 of file nonConformalPolyPatch.C.
References Foam::findIndex().
Referenced by nonConformalMappedWallPolyPatch::reorder(), nonConformalCoupledPolyPatch::reorder(), and nonConformalErrorPolyPatch::reorder().


| TypeName | ( | "nonConformal" | ) |
Runtime type information.
| const Foam::polyPatch & patch | ( | ) | const |
Reference to the polyPatch.
Definition at line 140 of file nonConformalPolyPatch.C.
Referenced by nonConformalMappedPatchBase::calcOwner().

| const Foam::word & origPatchName | ( | ) | const |
Original patch name.
Definition at line 146 of file nonConformalPolyPatch.C.
| Foam::label origPatchIndex | ( | ) | const |
Original patchID.
Definition at line 152 of file nonConformalPolyPatch.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, IOobject::name(), and p.
Referenced by Cloud< ParcelType >::Cloud().


| const Foam::polyPatch & origPatch | ( | ) | const |
Original patch.
Definition at line 186 of file nonConformalPolyPatch.C.
References polyPatch::boundaryMesh().
Referenced by Foam::meshCheck::checkGeometry(), particle::correctAfterNonConformalCyclicTransfer(), particle::hitNonConformalCyclicPatch(), and LagrangianMesh::track().


|
virtual |
Write the polyPatch data as a dictionary.
Reimplemented in nonConformalProcessorCyclicPolyPatch, nonConformalErrorPolyPatch, nonConformalCyclicPolyPatch, nonConformalCoupledPolyPatch, and nonConformalMappedWallPolyPatch.
Definition at line 192 of file nonConformalPolyPatch.C.
References Foam::writeEntry().
Referenced by nonConformalMappedWallPolyPatch::write(), nonConformalCoupledPolyPatch::write(), and nonConformalErrorPolyPatch::write().

