nonConformalPolyPatch Class Reference

Non-conformal poly patch. This patch is a placeholder and must have no faces. This patch is linked to an "original" patch. Other parts of the code (i.e., finite volume) will use this patch to create non-empty patches that do not conform to the poly mesh. More...

Inheritance diagram for nonConformalPolyPatch:

Public Member Functions

 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 polyPatchpatch () const
 Reference to the polyPatch. More...
 
const wordorigPatchName () const
 Original patch name. More...
 
label origPatchIndex () const
 Original patchID. More...
 
const polyPatchorigPatch () const
 Original patch. More...
 
virtual void write (Ostream &) const
 Write the polyPatch data as a dictionary. 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...
 

Detailed Description

Non-conformal poly patch. This patch is a placeholder and must have no faces. This patch is linked to an "original" patch. Other parts of the code (i.e., finite volume) will use this patch to create non-empty patches that do not conform to the poly mesh.

Source files

Definition at line 51 of file nonConformalPolyPatch.H.

Constructor & Destructor Documentation

◆ nonConformalPolyPatch() [1/4]

nonConformalPolyPatch ( const polyPatch patch)

Construct from a patch.

Definition at line 80 of file nonConformalPolyPatch.C.

◆ nonConformalPolyPatch() [2/4]

nonConformalPolyPatch ( const polyPatch patch,
const word origPatchName 
)

Construct from a patch and an original patch name.

Definition at line 90 of file nonConformalPolyPatch.C.

◆ nonConformalPolyPatch() [3/4]

nonConformalPolyPatch ( const polyPatch patch,
const dictionary dict 
)

Construct from a patch and a dictionary.

Definition at line 104 of file nonConformalPolyPatch.C.

◆ nonConformalPolyPatch() [4/4]

nonConformalPolyPatch ( const polyPatch patch,
const nonConformalPolyPatch ncPatch 
)

Construct from a patch and a non-conformal patch.

Definition at line 118 of file nonConformalPolyPatch.C.

◆ ~nonConformalPolyPatch()

~nonConformalPolyPatch ( )
virtual

Destructor.

Definition at line 134 of file nonConformalPolyPatch.C.

Member Function Documentation

◆ rename()

void rename ( const wordList newNames)
protectedvirtual

◆ reorder()

void reorder ( const labelUList newToOldIndex)
protectedvirtual

Reset the patch index.

Reimplemented in nonConformalProcessorCyclicPolyPatch, nonConformalErrorPolyPatch, nonConformalCyclicPolyPatch, nonConformalCoupledPolyPatch, and nonConformalMappedWallPolyPatch.

Definition at line 69 of file nonConformalPolyPatch.C.

References Foam::findIndex().

Referenced by nonConformalMappedWallPolyPatch::reorder(), nonConformalCoupledPolyPatch::reorder(), and nonConformalErrorPolyPatch::reorder().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TypeName()

TypeName ( "nonConformal"  )

Runtime type information.

◆ patch()

const Foam::polyPatch & patch ( ) const

Reference to the polyPatch.

Definition at line 140 of file nonConformalPolyPatch.C.

Referenced by nonConformalMappedPatchBase::calcOwner().

Here is the caller graph for this function:

◆ origPatchName()

const Foam::word & origPatchName ( ) const

Original patch name.

Definition at line 146 of file nonConformalPolyPatch.C.

◆ origPatchIndex()

Foam::label origPatchIndex ( ) const

Original patchID.

Definition at line 152 of file nonConformalPolyPatch.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, IOobject::name(), and p.

Here is the call graph for this function:

◆ origPatch()

const Foam::polyPatch & origPatch ( ) const

Original patch.

Definition at line 186 of file nonConformalPolyPatch.C.

References polyPatch::boundaryMesh().

Referenced by Foam::meshCheck::checkGeometry(), particle::correctAfterNonConformalCyclicTransfer(), and particle::hitNonConformalCyclicPatch().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write the polyPatch data as a dictionary.

Reimplemented in nonConformalProcessorCyclicPolyPatch, nonConformalErrorPolyPatch, nonConformalCyclicPolyPatch, nonConformalCoupledPolyPatch, and nonConformalMappedWallPolyPatch.

Definition at line 192 of file nonConformalPolyPatch.C.

References Foam::writeEntry().

Referenced by nonConformalMappedWallPolyPatch::write(), nonConformalCoupledPolyPatch::write(), and nonConformalErrorPolyPatch::write().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: