nonConformalCoupledPolyPatch Class Reference

Non-conformal coupled poly patch. As nonConformalPolyPatch, but this patch is coupled to another non-conformal patch. Information about the owner/neighbour relationship and transformation are made available by this class. Also, this patch allows access to the error patch. More...

Inheritance diagram for nonConformalCoupledPolyPatch:
Collaboration diagram for nonConformalCoupledPolyPatch:

Public Member Functions

 TypeName ("nonConformalCoupled")
 Runtime type information. More...
 
 nonConformalCoupledPolyPatch (const polyPatch &patch)
 Construct from a patch. More...
 
 nonConformalCoupledPolyPatch (const polyPatch &patch, const word &origPatchName)
 Construct from a patch and an original patch name. More...
 
 nonConformalCoupledPolyPatch (const polyPatch &patch, const dictionary &dict)
 Construct from a patch and a dictionary. More...
 
 nonConformalCoupledPolyPatch (const polyPatch &patch, const nonConformalCoupledPolyPatch &nccPatch)
 Construct from a patch and a non-conformal coupled patch. More...
 
virtual ~nonConformalCoupledPolyPatch ()
 Destructor. More...
 
bool owner () const
 Does this side own the patch? More...
 
bool neighbour () const
 Does the coupled side own the patch? More...
 
const transformertransform () const
 Return transformation between the coupled patches. More...
 
const worderrorPatchName () const
 Error patch name. More...
 
label errorPatchIndex () const
 Error patchID. More...
 
const nonConformalErrorPolyPatcherrorPatch () const
 Error patch. More...
 
virtual void write (Ostream &) const
 Write the polyPatch data as a dictionary. More...
 
- Public Member Functions inherited from nonConformalPolyPatch
 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...
 

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 coupled poly patch. As nonConformalPolyPatch, but this patch is coupled to another non-conformal patch. Information about the owner/neighbour relationship and transformation are made available by this class. Also, this patch allows access to the error patch.

See also
Foam::nonConformalPolyPatch Foam::nonConformalErrorPolyPatch
Source files

Definition at line 58 of file nonConformalCoupledPolyPatch.H.

Constructor & Destructor Documentation

◆ nonConformalCoupledPolyPatch() [1/4]

Construct from a patch.

Definition at line 63 of file nonConformalCoupledPolyPatch.C.

◆ nonConformalCoupledPolyPatch() [2/4]

nonConformalCoupledPolyPatch ( const polyPatch patch,
const word origPatchName 
)

Construct from a patch and an original patch name.

Definition at line 75 of file nonConformalCoupledPolyPatch.C.

◆ nonConformalCoupledPolyPatch() [3/4]

nonConformalCoupledPolyPatch ( const polyPatch patch,
const dictionary dict 
)

Construct from a patch and a dictionary.

Definition at line 88 of file nonConformalCoupledPolyPatch.C.

◆ nonConformalCoupledPolyPatch() [4/4]

nonConformalCoupledPolyPatch ( const polyPatch patch,
const nonConformalCoupledPolyPatch nccPatch 
)

Construct from a patch and a non-conformal coupled patch.

Definition at line 101 of file nonConformalCoupledPolyPatch.C.

◆ ~nonConformalCoupledPolyPatch()

Destructor.

Definition at line 116 of file nonConformalCoupledPolyPatch.C.

Member Function Documentation

◆ rename()

void rename ( const wordList newNames)
protectedvirtual

Reset the patch name.

Reimplemented from nonConformalPolyPatch.

Reimplemented in nonConformalProcessorCyclicPolyPatch, and nonConformalCyclicPolyPatch.

Definition at line 40 of file nonConformalCoupledPolyPatch.C.

References word::null, and nonConformalPolyPatch::rename().

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

Reimplemented in nonConformalProcessorCyclicPolyPatch, and nonConformalCyclicPolyPatch.

Definition at line 49 of file nonConformalCoupledPolyPatch.C.

References word::null, and nonConformalPolyPatch::reorder().

Referenced by nonConformalCyclicPolyPatch::reorder(), and nonConformalProcessorCyclicPolyPatch::reorder().

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

◆ TypeName()

TypeName ( "nonConformalCoupled"  )

Runtime type information.

◆ owner()

bool owner ( ) const

Does this side own the patch?

Definition at line 122 of file nonConformalCoupledPolyPatch.C.

◆ neighbour()

bool neighbour ( ) const

Does the coupled side own the patch?

Definition at line 128 of file nonConformalCoupledPolyPatch.C.

◆ transform()

const Foam::transformer & transform ( ) const

Return transformation between the coupled patches.

Definition at line 134 of file nonConformalCoupledPolyPatch.C.

References transformer::transform().

Here is the call graph for this function:

◆ errorPatchName()

const Foam::word & errorPatchName ( ) const

Error patch name.

Definition at line 140 of file nonConformalCoupledPolyPatch.C.

◆ errorPatchIndex()

Foam::label errorPatchIndex ( ) const

Error patchID.

Definition at line 146 of file nonConformalCoupledPolyPatch.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, p, and patchi.

Here is the call graph for this function:

◆ errorPatch()

const Foam::nonConformalErrorPolyPatch & errorPatch ( ) const

Error patch.

Definition at line 181 of file nonConformalCoupledPolyPatch.C.

◆ write()

void write ( Ostream os) const
virtual

Write the polyPatch data as a dictionary.

Reimplemented from nonConformalPolyPatch.

Reimplemented in nonConformalProcessorCyclicPolyPatch, and nonConformalCyclicPolyPatch.

Definition at line 191 of file nonConformalCoupledPolyPatch.C.

References nonConformalPolyPatch::write().

Referenced by nonConformalCyclicPolyPatch::write(), and nonConformalProcessorCyclicPolyPatch::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: