Base class for poly patches which provides non-conformal mapping between two potentially non-globally conforming poly patches. More...


Public Member Functions | |
| TypeName ("nonConformalMappedPatchBase") | |
| Runtime type information. More... | |
| nonConformalMappedPatchBase (const nonConformalPolyPatch &ncPp) | |
| Construct from non-conformal patch. More... | |
| nonConformalMappedPatchBase (const nonConformalPolyPatch &ncPp, const word &nbrRegionName, const word &nbrPatchName, const cyclicTransform &transform) | |
| Construct from components. More... | |
| nonConformalMappedPatchBase (const nonConformalPolyPatch &ncPp, const dictionary &dict, const bool defaultTransformIsNone) | |
| Construct from dictionary. More... | |
| nonConformalMappedPatchBase (const nonConformalPolyPatch &ncPp, const nonConformalMappedPatchBase &) | |
| Construct as copy, resetting patch. More... | |
| virtual | ~nonConformalMappedPatchBase () |
| Destructor. More... | |
| bool | owner () const |
| Does this side own the patch? More... | |
| const patchToPatches::intersection & | intersection () const |
| Access the intersection engine. More... | |
| void | clearOut () |
| Clear out data on mesh change. More... | |
| virtual void | write (Ostream &) const |
| Write as a dictionary. More... | |
Public Member Functions inherited from mappedPatchBaseBase | |
| TypeName ("mappedPatchBaseBase") | |
| Runtime type information. More... | |
| mappedPatchBaseBase (const polyPatch &) | |
| Construct from patch. More... | |
| mappedPatchBaseBase (const polyPatch &pp, const word &nbrRegionName, const word &nbrPatchName, const cyclicTransform &transform) | |
| Construct from components. More... | |
| mappedPatchBaseBase (const polyPatch &pp, const dictionary &dict, const bool transformisNone) | |
| Construct from dictionary. More... | |
| mappedPatchBaseBase (const polyPatch &, const mappedPatchBaseBase &) | |
| Construct as copy, resetting patch. More... | |
| virtual | ~mappedPatchBaseBase () |
| Destructor. More... | |
| const word & | nbrRegionName () const |
| Name of the region to map from. More... | |
| const word & | nbrPatchName () const |
| Name of the patch to map from. More... | |
| const transformer & | transform () const |
| The transformation between the patches. More... | |
| bool | sameRegion () const |
| Is the neighbour region the same as for this patch? More... | |
| bool | samePatch () const |
| Is the neighbour patch the same as this patch? More... | |
| bool | sameUntransformedPatch () const |
| Is the neighbour patch the same as this patch with no transform? More... | |
| bool | haveNbr () const |
| Is the neighbour available? More... | |
| const polyMesh & | nbrMesh () const |
| Get the mesh for the region to map from. More... | |
| const polyPatch & | nbrPolyPatch () const |
| Get the patch to map from. More... | |
| template<class PatchField , class FieldType > | |
| void | validateForField (const PatchField &field, const FieldType &iF, const dictionary &context, const label froms=from::any) const |
| Validate that the map is appropriate for the given. More... | |
| template<class PatchFieldType , class FieldType > | |
| void | validateMapForField (const PatchFieldType &field, const FieldType &iF, const dictionary &context, const label froms) |
| template<class PatchFieldType , class FieldType > | |
| void | validateForField (const PatchFieldType &field, const FieldType &iF, const dictionary &context, const label froms) const |
Protected Member Functions | |
| bool | calcOwner () const |
| Constructor helper for owner. More... | |
| const nonConformalMappedPatchBase & | nbrMappedPatch () const |
| Neighbour patch. More... | |
Protected Attributes | |
| const nonConformalPolyPatch & | patch_ |
| Non-conformal patch to map to. More... | |
| const bool | owner_ |
| Does this side own the patch? More... | |
| bool | intersectionIsValid_ |
| Is the intersection engine up to date? More... | |
| patchToPatches::intersection | intersection_ |
| Patch-to-patch intersection engine. More... | |
Protected Attributes inherited from mappedPatchBaseBase | |
| const polyPatch & | patch_ |
| Patch to map to. More... | |
| const coupleGroupIdentifier | coupleGroup_ |
| Couple group for the region/patch to map from. More... | |
| word | nbrRegionName_ |
| Name of the region to map from. More... | |
| word | nbrPatchName_ |
| Name of the patch to map from. More... | |
| cyclicTransform | transform_ |
| The transformation between the patches. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from mappedPatchBaseBase | |
| template<class PatchField , class FieldType > | |
| static void | validateMapForField (const PatchField &field, const FieldType &iF, const dictionary &context, const label froms=from::any) |
| Validate that the map exists and is appropriate for the given. More... | |
| static bool | specified (const dictionary &dict) |
| Return whether or not the given dictionary contains a. More... | |
Base class for poly patches which provides non-conformal mapping between two potentially non-globally conforming poly patches.
Definition at line 51 of file nonConformalMappedPatchBase.H.
| nonConformalMappedPatchBase | ( | const nonConformalPolyPatch & | ncPp | ) |
Construct from non-conformal patch.
Definition at line 67 of file nonConformalMappedPatchBase.C.
| nonConformalMappedPatchBase | ( | const nonConformalPolyPatch & | ncPp, |
| const word & | nbrRegionName, | ||
| const word & | nbrPatchName, | ||
| const cyclicTransform & | transform | ||
| ) |
Construct from components.
Definition at line 80 of file nonConformalMappedPatchBase.C.
| nonConformalMappedPatchBase | ( | const nonConformalPolyPatch & | ncPp, |
| const dictionary & | dict, | ||
| const bool | defaultTransformIsNone | ||
| ) |
Construct from dictionary.
Definition at line 96 of file nonConformalMappedPatchBase.C.
| nonConformalMappedPatchBase | ( | const nonConformalPolyPatch & | ncPp, |
| const nonConformalMappedPatchBase & | mpb | ||
| ) |
Construct as copy, resetting patch.
Definition at line 111 of file nonConformalMappedPatchBase.C.
|
virtual |
Destructor.
Definition at line 127 of file nonConformalMappedPatchBase.C.
|
protected |
Constructor helper for owner.
Definition at line 39 of file nonConformalMappedPatchBase.C.
References polyPatch::boundaryMesh(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, polyBoundaryMesh::mesh(), IOobject::name(), patchIdentifier::name(), mappedPatchBaseBase::nbrPatchName(), mappedPatchBaseBase::nbrRegionName(), nonConformalPolyPatch::patch(), nonConformalMappedPatchBase::patch_, and Foam::regionName().

|
inlineprotected |
Neighbour patch.
Definition at line 31 of file nonConformalMappedPatchBaseI.H.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, patchIdentifier::name(), mappedPatchBaseBase::nbrPatchName_, mappedPatchBaseBase::nbrPolyPatch(), mappedPatchBaseBase::nbrRegionName_, and mappedPatchBaseBase::patch_.

| TypeName | ( | "nonConformalMappedPatchBase" | ) |
Runtime type information.
| bool owner | ( | ) | const |
Does this side own the patch?
Definition at line 133 of file nonConformalMappedPatchBase.C.
| const Foam::patchToPatches::intersection & intersection | ( | ) | const |
Access the intersection engine.
Definition at line 140 of file nonConformalMappedPatchBase.C.
References Foam::abort(), polyPatch::boundaryMesh(), Foam::FatalError, FatalErrorInFunction, polyBoundaryMesh::mesh(), DemandDrivenMeshObject< polyMesh, MoveableMeshObject, nonConformalBoundary >::New(), mappedPatchBaseBase::patch_, and nonConformalBoundary::patchPointNormals().

| void clearOut | ( | ) |
Clear out data on mesh change.
Definition at line 172 of file nonConformalMappedPatchBase.C.
Referenced by nonConformalMappedWallPolyPatch::clearGeom(), nonConformalMappedWallPolyPatch::initCalcGeometry(), nonConformalMappedWallPolyPatch::initMovePoints(), and nonConformalMappedWallPolyPatch::initTopoChange().

|
virtual |
Write as a dictionary.
Reimplemented from mappedPatchBaseBase.
Reimplemented in nonConformalMappedWallPolyPatch.
Definition at line 178 of file nonConformalMappedPatchBase.C.
References mappedPatchBaseBase::write().
Referenced by nonConformalMappedWallPolyPatch::write().


|
protected |
Non-conformal patch to map to.
Definition at line 60 of file nonConformalMappedPatchBase.H.
Referenced by nonConformalMappedPatchBase::calcOwner().
|
protected |
Does this side own the patch?
Definition at line 63 of file nonConformalMappedPatchBase.H.
|
mutableprotected |
Is the intersection engine up to date?
Definition at line 66 of file nonConformalMappedPatchBase.H.
|
mutableprotected |
Patch-to-patch intersection engine.
Definition at line 69 of file nonConformalMappedPatchBase.H.