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 nonConformalPolyPatch & | nonConformalPatch () const |
Return the reference to the polyPatch. More... | |
const word & | origPatchName () const |
Original patch name. More... | |
label | origPatchID () const |
Original patch ID. More... | |
const fvPatch & | origPatch () const |
Original patch. More... | |
const labelList & | polyFaces () const |
Return face face-poly-faces. 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 40 of file nonConformalFvPatch.C.
|
virtual |
Destructor.
Definition at line 52 of file nonConformalFvPatch.C.
TypeName | ( | nonConformalPolyPatch::typeName_() | ) |
Runtime type information.
const Foam::nonConformalPolyPatch & nonConformalPatch | ( | ) | const |
Return the reference to the polyPatch.
Definition at line 59 of file nonConformalFvPatch.C.
const Foam::word & origPatchName | ( | ) | const |
Original patch name.
Definition at line 65 of file nonConformalFvPatch.C.
Foam::label origPatchID | ( | ) | const |
Original patch ID.
Definition at line 71 of file nonConformalFvPatch.C.
Referenced by fvMeshStitcher::conformalNccBoundaryField(), fvMeshStitcher::getOrigNccMagSfb(), Foam::meshEdge(), Foam::min(), and fvMeshStitcher::nonConformalBoundaryField().
const Foam::fvPatch & origPatch | ( | ) | const |
Original patch.
Definition at line 77 of file nonConformalFvPatch.C.
References fvPatch::boundaryMesh().
Referenced by fvMeshStitcher::conformalNccBoundaryField(), fvMeshStitcher::getOrigNccMagSfb(), Foam::meshEdge(), Foam::min(), and fvMeshStitcher::nonConformalBoundaryField().
const Foam::labelList & polyFaces | ( | ) | const |
Return face face-poly-faces.
Definition at line 83 of file nonConformalFvPatch.C.
References polyMesh::boundaryMesh(), fvMesh::conformal(), mesh, polyBoundaryMesh::mesh(), List< label >::null(), and fvMesh::polyFacesBf().
Referenced by fvMeshStitcher::conformalNccBoundaryField(), fvMeshStitcher::getOrigNccMagSfb(), Foam::min(), fvMeshStitcher::nonConformalBoundaryField(), and nonConformalErrorFvPatch::polyFaces().
|
virtual |
Return the start label of this patch in the polyMesh face list.
Raises an error unless the patch is empty.
Reimplemented in nonConformalCyclicFvPatch, nonConformalProcessorCyclicFvPatch, and nonConformalErrorFvPatch.
Definition at line 94 of file nonConformalFvPatch.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
Referenced by nonConformalErrorFvPatch::start(), nonConformalProcessorCyclicFvPatch::start(), and nonConformalCyclicFvPatch::start().
|
virtual |
Return the size.
Reimplemented in nonConformalCyclicFvPatch, nonConformalProcessorCyclicFvPatch, and nonConformalErrorFvPatch.
Definition at line 108 of file nonConformalFvPatch.C.
Referenced by nonConformalErrorFvPatch::size(), nonConformalProcessorCyclicFvPatch::size(), and nonConformalCyclicFvPatch::size().
|
virtual |
Return the face-cells.
Reimplemented in nonConformalCyclicFvPatch, nonConformalProcessorCyclicFvPatch, and nonConformalErrorFvPatch.
Definition at line 114 of file nonConformalFvPatch.C.
References polyMesh::boundaryMesh(), polyMesh::faceOwner(), mesh, and polyBoundaryMesh::mesh().
Referenced by nonConformalErrorFvPatch::faceCells(), nonConformalProcessorCyclicFvPatch::faceCells(), and nonConformalCyclicFvPatch::faceCells().