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 | errorPatchIndex () const |
Error patchID. More... | |
const nonConformalErrorPolyPatch & | errorPatch () const |
Error patch. More... | |
virtual void | write (Ostream &) const |
Write the polyPatch data as a dictionary. More... | |
Public Member Functions inherited from nonConformalPolyPatch | |
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... | |
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 63 of file nonConformalCoupledPolyPatch.C.
nonConformalCoupledPolyPatch | ( | const polyPatch & | patch, |
const word & | origPatchName | ||
) |
Construct from a patch and an original patch name.
Definition at line 75 of file nonConformalCoupledPolyPatch.C.
nonConformalCoupledPolyPatch | ( | const polyPatch & | patch, |
const dictionary & | dict | ||
) |
Construct from a patch and a dictionary.
Definition at line 88 of file nonConformalCoupledPolyPatch.C.
nonConformalCoupledPolyPatch | ( | const polyPatch & | patch, |
const nonConformalCoupledPolyPatch & | nccPatch | ||
) |
Construct from a patch and a non-conformal coupled patch.
Definition at line 101 of file nonConformalCoupledPolyPatch.C.
|
virtual |
Destructor.
Definition at line 116 of file nonConformalCoupledPolyPatch.C.
|
protectedvirtual |
Reset the patch name.
Reimplemented from nonConformalPolyPatch.
Reimplemented in nonConformalProcessorCyclicPolyPatch, and nonConformalCyclicPolyPatch.
Definition at line 40 of file nonConformalCoupledPolyPatch.C.
References word::null, and nonConformalPolyPatch::rename().
Referenced by nonConformalCyclicPolyPatch::rename(), and nonConformalProcessorCyclicPolyPatch::rename().
|
protectedvirtual |
Reset the patch index.
Reimplemented from nonConformalPolyPatch.
Reimplemented in nonConformalProcessorCyclicPolyPatch, and nonConformalCyclicPolyPatch.
Definition at line 49 of file nonConformalCoupledPolyPatch.C.
References word::null, and nonConformalPolyPatch::reorder().
Referenced by nonConformalCyclicPolyPatch::reorder(), and nonConformalProcessorCyclicPolyPatch::reorder().
TypeName | ( | "nonConformalCoupled" | ) |
Runtime type information.
bool owner | ( | ) | const |
Does this side own the patch?
Definition at line 122 of file nonConformalCoupledPolyPatch.C.
bool neighbour | ( | ) | const |
Does the coupled side own the patch?
Definition at line 128 of file nonConformalCoupledPolyPatch.C.
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 errorPatchIndex | ( | ) | const |
Error patchID.
Definition at line 146 of file nonConformalCoupledPolyPatch.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, p, and patchi.
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 nonConformalProcessorCyclicPolyPatch, and nonConformalCyclicPolyPatch.
Definition at line 191 of file nonConformalCoupledPolyPatch.C.
References nonConformalPolyPatch::write().
Referenced by nonConformalCyclicPolyPatch::write(), and nonConformalProcessorCyclicPolyPatch::write().