Non-conformal FV patch. Provides the necessary interface for a FV patch which does not conform to the underlying poly mesh. The non-conformal geometry and topology are held in the fvMesh, and are generated by the fvMeshStitcher. This class just provides access to this data. More...
Public Member Functions | |
TypeName (nonConformalPolyPatch::typeName_()) | |
Runtime type information. More... | |
nonConformalFvPatch (const fvPatch &patch) | |
Construct from a patch. More... | |
virtual | ~nonConformalFvPatch () |
Destructor. More... | |
const fvPatch & | patch () const |
Reference to the fvPatch. More... | |
const nonConformalPolyPatch & | nonConformalPatch () const |
Reference to the polyPatch. More... | |
const word & | origPatchName () const |
Original patch name. More... | |
label | origPatchIndex () const |
Original patch ID. More... | |
const fvPatch & | origPatch () const |
Original patch. More... | |
const labelList & | polyFaces () const |
Return face face-poly-faces. More... | |
virtual word | polyFacesType () const =0 |
Return the face-poly-faces patch field type. More... | |
virtual label | start () const |
Return the start label of this patch in the polyMesh face list. More... | |
virtual label | size () const |
Return the size. More... | |
virtual const labelUList & | faceCells () const |
Return the face-cells. More... | |
Non-conformal FV patch. Provides the necessary interface for a FV patch which does not conform to the underlying poly mesh. The non-conformal geometry and topology are held in the fvMesh, and are generated by the fvMeshStitcher. This class just provides access to this data.
Definition at line 56 of file nonConformalFvPatch.H.
nonConformalFvPatch | ( | const fvPatch & | patch | ) |
Construct from a patch.
Definition at line 39 of file nonConformalFvPatch.C.
|
virtual |
Destructor.
Definition at line 52 of file nonConformalFvPatch.C.
TypeName | ( | nonConformalPolyPatch::typeName_() | ) |
Runtime type information.
const Foam::fvPatch & patch | ( | ) | const |
Reference to the fvPatch.
Definition at line 58 of file nonConformalFvPatch.C.
Referenced by conformedFvPatchField< Type >::conform(), and fvMeshStitcher::patchCoupleds().
const Foam::nonConformalPolyPatch & nonConformalPatch | ( | ) | const |
Reference to the polyPatch.
Definition at line 65 of file nonConformalFvPatch.C.
const Foam::word & origPatchName | ( | ) | const |
Original patch name.
Definition at line 71 of file nonConformalFvPatch.C.
Foam::label origPatchIndex | ( | ) | const |
Original patch ID.
Definition at line 77 of file nonConformalFvPatch.C.
Referenced by conformedFvPatchField< Type >::conform(), Foam::fvMeshStitcherTools::origNcMagSfb(), and conformedFvPatchField< Type >::unconform().
const Foam::fvPatch & origPatch | ( | ) | const |
Original patch.
Definition at line 83 of file nonConformalFvPatch.C.
References fvPatch::boundaryMesh().
Referenced by Foam::fvMeshStitcherTools::origNcMagSfb().
const Foam::labelList & polyFaces | ( | ) | const |
Return face face-poly-faces.
Definition at line 89 of file nonConformalFvPatch.C.
References polyMesh::boundaryMesh(), fvMesh::conformal(), polyBoundaryMesh::mesh(), List< label >::null(), and fvMesh::polyFacesBf().
Referenced by conformedFvPatchField< Type >::conform(), Foam::fvMeshStitcherTools::origNcMagSfb(), nonConformalErrorFvPatch::polyFaces(), and conformedFvPatchField< Type >::unconform().
|
pure virtual |
Return the face-poly-faces patch field type.
Implemented in nonConformalMappedWallFvPatch, nonConformalErrorFvPatch, and nonConformalCoupledFvPatch.
|
virtual |
Return the start label of this patch in the polyMesh face list.
Raises an error unless the patch is empty.
Reimplemented in nonConformalMappedWallFvPatch, nonConformalProcessorCyclicFvPatch, nonConformalErrorFvPatch, and nonConformalCyclicFvPatch.
Definition at line 100 of file nonConformalFvPatch.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
Referenced by nonConformalCyclicFvPatch::start(), nonConformalErrorFvPatch::start(), nonConformalProcessorCyclicFvPatch::start(), and nonConformalMappedWallFvPatch::start().
|
virtual |
Return the size.
Reimplemented in nonConformalMappedWallFvPatch, nonConformalProcessorCyclicFvPatch, nonConformalErrorFvPatch, and nonConformalCyclicFvPatch.
Definition at line 114 of file nonConformalFvPatch.C.
Referenced by nonConformalCyclicFvPatch::size(), nonConformalErrorFvPatch::size(), nonConformalProcessorCyclicFvPatch::size(), and nonConformalMappedWallFvPatch::size().
|
virtual |
Return the face-cells.
Reimplemented in nonConformalMappedWallFvPatch, nonConformalProcessorCyclicFvPatch, nonConformalErrorFvPatch, and nonConformalCyclicFvPatch.
Definition at line 120 of file nonConformalFvPatch.C.
References polyMesh::boundaryMesh(), fvMesh::conformal(), polyBoundaryMesh::mesh(), List< label >::null(), and fvMesh::ownerBf().
Referenced by nonConformalCyclicFvPatch::faceCells(), nonConformalErrorFvPatch::faceCells(), nonConformalProcessorCyclicFvPatch::faceCells(), and nonConformalMappedWallFvPatch::faceCells().