Non-conformal coupled poly patch. As nonConformalPolyPatch, but this patch is coupled to another non-conformal patch. Information about the owner/neighbour relationship and transformation are made available by this class. Also, this patch allows access to the error patch. More...
Public Member Functions | |
TypeName ("nonConformalCoupled") | |
Runtime type information. More... | |
nonConformalCoupledPolyPatch (const polyPatch &patch) | |
Construct from a patch. More... | |
nonConformalCoupledPolyPatch (const polyPatch &patch, const word &origPatchName) | |
Construct from a patch and an original patch name. More... | |
nonConformalCoupledPolyPatch (const polyPatch &patch, const dictionary &dict) | |
Construct from a patch and a dictionary. More... | |
nonConformalCoupledPolyPatch (const polyPatch &patch, const nonConformalCoupledPolyPatch &nccPatch) | |
Construct from a patch and a non-conformal coupled patch. More... | |
virtual | ~nonConformalCoupledPolyPatch () |
Destructor. More... | |
bool | owner () const |
Does this side own the patch? More... | |
bool | neighbour () const |
Does the coupled side own the patch? More... | |
const transformer & | transform () const |
Return transformation between the coupled patches. More... | |
const word & | errorPatchName () const |
Error patch name. More... | |
label | errorPatchID () const |
Error patchID. More... | |
const nonConformalErrorPolyPatch & | errorPatch () const |
Error patch. More... | |
virtual void | write (Ostream &) const |
Write the polyPatch data as a dictionary. More... | |
![]() | |
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... | |
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 coupled poly patch. As nonConformalPolyPatch, but this patch is coupled to another non-conformal patch. Information about the owner/neighbour relationship and transformation are made available by this class. Also, this patch allows access to the error patch.
Definition at line 58 of file nonConformalCoupledPolyPatch.H.
nonConformalCoupledPolyPatch | ( | const polyPatch & | patch | ) |
Construct from a patch.
Definition at line 64 of file nonConformalCoupledPolyPatch.C.
Referenced by nonConformalCoupledPolyPatch::nonConformalCoupledPolyPatch(), and nonConformalCoupledPolyPatch::reorder().
nonConformalCoupledPolyPatch | ( | const polyPatch & | patch, |
const word & | origPatchName | ||
) |
Construct from a patch and an original patch name.
Definition at line 76 of file nonConformalCoupledPolyPatch.C.
References nonConformalCoupledPolyPatch::nonConformalCoupledPolyPatch().
nonConformalCoupledPolyPatch | ( | const polyPatch & | patch, |
const dictionary & | dict | ||
) |
Construct from a patch and a dictionary.
Definition at line 89 of file nonConformalCoupledPolyPatch.C.
References nonConformalCoupledPolyPatch::nonConformalCoupledPolyPatch().
nonConformalCoupledPolyPatch | ( | const polyPatch & | patch, |
const nonConformalCoupledPolyPatch & | nccPatch | ||
) |
Construct from a patch and a non-conformal coupled patch.
Definition at line 102 of file nonConformalCoupledPolyPatch.C.
|
virtual |
Destructor.
Definition at line 116 of file nonConformalCoupledPolyPatch.C.
|
protectedvirtual |
Reset the patch name.
Reimplemented from nonConformalPolyPatch.
Reimplemented in nonConformalCyclicPolyPatch, and nonConformalProcessorCyclicPolyPatch.
Definition at line 40 of file nonConformalCoupledPolyPatch.C.
References word::null, nonConformalPolyPatch::rename(), and nonConformalCoupledPolyPatch::reorder().
Referenced by nonConformalProcessorCyclicPolyPatch::rename(), and nonConformalCyclicPolyPatch::rename().
|
protectedvirtual |
Reset the patch index.
Reimplemented from nonConformalPolyPatch.
Reimplemented in nonConformalCyclicPolyPatch, and nonConformalProcessorCyclicPolyPatch.
Definition at line 50 of file nonConformalCoupledPolyPatch.C.
References nonConformalCoupledPolyPatch::nonConformalCoupledPolyPatch(), word::null, and nonConformalPolyPatch::reorder().
Referenced by nonConformalCoupledPolyPatch::rename(), nonConformalProcessorCyclicPolyPatch::reorder(), and nonConformalCyclicPolyPatch::reorder().
TypeName | ( | "nonConformalCoupled" | ) |
Runtime type information.
bool owner | ( | ) | const |
Does this side own the patch?
Definition at line 122 of file nonConformalCoupledPolyPatch.C.
Referenced by nonConformalBoundary::nonConformalNonCoupledPatchIDs().
bool neighbour | ( | ) | const |
Does the coupled side own the patch?
Definition at line 128 of file nonConformalCoupledPolyPatch.C.
Referenced by nonConformalBoundary::nonConformalNonCoupledPatchIDs().
const Foam::transformer & transform | ( | ) | const |
Return transformation between the coupled patches.
Definition at line 134 of file nonConformalCoupledPolyPatch.C.
References transformer::transform().
const Foam::word & errorPatchName | ( | ) | const |
Error patch name.
Definition at line 140 of file nonConformalCoupledPolyPatch.C.
Foam::label errorPatchID | ( | ) | const |
Error patchID.
Definition at line 146 of file nonConformalCoupledPolyPatch.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, p, and patchi.
Referenced by nonConformalBoundary::allErrorPatchIDs(), and nonConformalBoundary::ownerErrorPatchIDs().
const Foam::nonConformalErrorPolyPatch & errorPatch | ( | ) | const |
Error patch.
Definition at line 181 of file nonConformalCoupledPolyPatch.C.
|
virtual |
Write the polyPatch data as a dictionary.
Reimplemented from nonConformalPolyPatch.
Reimplemented in nonConformalCyclicPolyPatch, and nonConformalProcessorCyclicPolyPatch.
Definition at line 191 of file nonConformalCoupledPolyPatch.C.
References nonConformalPolyPatch::write().
Referenced by nonConformalProcessorCyclicPolyPatch::write(), and nonConformalCyclicPolyPatch::write().