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.

Referenced by nonConformalPolyPatch::nonConformalPolyPatch().

Here is the caller graph for this function:

◆ nonConformalPolyPatch() [2/4]

nonConformalPolyPatch ( const polyPatch patch,
const word origPatchName 
)

Construct from a patch and an original patch name.

Definition at line 91 of file nonConformalPolyPatch.C.

References nonConformalPolyPatch::nonConformalPolyPatch().

Here is the call graph for this function:

◆ nonConformalPolyPatch() [3/4]

nonConformalPolyPatch ( const polyPatch patch,
const dictionary dict 
)

Construct from a patch and a dictionary.

Definition at line 105 of file nonConformalPolyPatch.C.

References nonConformalPolyPatch::nonConformalPolyPatch().

Here is the call graph for this function:

◆ nonConformalPolyPatch() [4/4]

nonConformalPolyPatch ( const polyPatch patch,
const nonConformalPolyPatch ncPatch 
)

Construct from a patch and a non-conformal patch.

Definition at line 119 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 nonConformalCyclicPolyPatch, nonConformalCoupledPolyPatch, nonConformalErrorPolyPatch, and nonConformalProcessorCyclicPolyPatch.

Definition at line 53 of file nonConformalPolyPatch.C.

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

Referenced by nonConformalErrorPolyPatch::rename(), and nonConformalCoupledPolyPatch::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 nonConformalCyclicPolyPatch, nonConformalCoupledPolyPatch, nonConformalErrorPolyPatch, and nonConformalProcessorCyclicPolyPatch.

Definition at line 69 of file nonConformalPolyPatch.C.

References Foam::findIndex().

Referenced by nonConformalErrorPolyPatch::reorder(), and nonConformalCoupledPolyPatch::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.

Referenced by nonConformalErrorPolyPatch::clone(), nonConformalCyclicPolyPatch::clone(), and nonConformalPolyPatch::origPatchID().

Here is the caller graph for this function:

◆ origPatchID()

◆ origPatch()

const Foam::polyPatch & origPatch ( ) const

Original patch.

Definition at line 180 of file nonConformalPolyPatch.C.

References polyPatch::boundaryMesh(), and nonConformalPolyPatch::origPatchID().

Referenced by particle::correctAfterNonConformalCyclicTransfer(), domainDecomposition::decompose(), 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 nonConformalCyclicPolyPatch, nonConformalProcessorCyclicPolyPatch, nonConformalErrorPolyPatch, 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: