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 wordorigPatchName () const
 Original patch name. More...
 
label origPatchID () 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

Reset the patch name.

Reimplemented in nonConformalProcessorCyclicPolyPatch, nonConformalErrorPolyPatch, nonConformalCyclicPolyPatch, and nonConformalCoupledPolyPatch.

Definition at line 53 of file nonConformalPolyPatch.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Referenced by nonConformalCoupledPolyPatch::rename(), and nonConformalErrorPolyPatch::rename().

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

◆ reorder()

void reorder ( const labelUList newToOldIndex)
protectedvirtual

Reset the patch index.

Reimplemented in nonConformalProcessorCyclicPolyPatch, nonConformalErrorPolyPatch, nonConformalCyclicPolyPatch, and nonConformalCoupledPolyPatch.

Definition at line 69 of file nonConformalPolyPatch.C.

References Foam::findIndex().

Referenced by 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.

◆ origPatchName()

const Foam::word & origPatchName ( ) const

Original patch name.

Definition at line 140 of file nonConformalPolyPatch.C.

◆ origPatchID()

Foam::label origPatchID ( ) const

Original patchID.

Definition at line 146 of file nonConformalPolyPatch.C.

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

Referenced by nonConformalBoundary::allOrigPatchIDs(), nonConformalBoundary::nonConformalNonCoupledPatchIDs(), and nonConformalBoundary::ownerOrigPatchIDs().

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

◆ origPatch()

const Foam::polyPatch & origPatch ( ) const

Original patch.

Definition at line 180 of file nonConformalPolyPatch.C.

References polyPatch::boundaryMesh().

Referenced by 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, and nonConformalCoupledPolyPatch.

Definition at line 186 of file nonConformalPolyPatch.C.

References Foam::writeEntry().

Referenced by 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: