AssemblyFvPatch< CyclicType > Class Template Reference

An assembly of lduMatrix that is specific inter-region coupling through mapped patches. More...

Inheritance diagram for AssemblyFvPatch< CyclicType >:
[legend]
Collaboration diagram for AssemblyFvPatch< CyclicType >:
[legend]

Public Member Functions

 TypeName (CyclicType::typeName_())
 Runtime type information. More...
 
 AssemblyFvPatch (const polyPatch &patch, const fvBoundaryMesh &bm, const labelList &nrbFaceCells, const labelList &faceCells, const label nbrPatchID, const label nonOverPatchID=-1)
 Construct from components. More...
 
virtual ~AssemblyFvPatch ()=default
 Destructor. More...
 
virtual tmp< labelFieldinternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &internalData) const
 Return neighbour field. More...
 
virtual label neighbPatchID () const
 Return neighbour. More...
 
virtual label nonOverlapPatchID () const
 Return non-overlap patch ID for ACMI. More...
 
virtual const fvPatchnonOverlapPatch () const
 Return non-overlapping fvPatch for ACMI. More...
 
virtual const CyclicType & neighbPatch () const
 Return nbr patch. More...
 
virtual const labelUListfaceCells () const
 Return faceCells. More...
 

Protected Attributes

const labelListnrbFaceCells_
 Nbr faceCell. More...
 
const labelListfaceCells_
 Local faceCells. More...
 
label nbrPatchID_
 Nbr patch ID. More...
 
label nonOverlapPatchID_
 Non-overlap patch ID. More...
 

Detailed Description

template<class CyclicType>
class Foam::AssemblyFvPatch< CyclicType >

An assembly of lduMatrix that is specific inter-region coupling through mapped patches.

Source files

Definition at line 54 of file AssemblyFvPatch.H.

Constructor & Destructor Documentation

◆ AssemblyFvPatch()

AssemblyFvPatch ( const polyPatch patch,
const fvBoundaryMesh bm,
const labelList nrbFaceCells,
const labelList faceCells,
const label  nbrPatchID,
const label  nonOverPatchID = -1 
)
inline

Construct from components.

Definition at line 84 of file AssemblyFvPatch.H.

◆ ~AssemblyFvPatch()

virtual ~AssemblyFvPatch ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( CyclicType::typeName_()  )

Runtime type information.

◆ internalFieldTransfer()

virtual tmp< labelField > internalFieldTransfer ( const Pstream::commsTypes  commsType,
const labelUList internalData 
) const
inlinevirtual

Return neighbour field.

Definition at line 109 of file AssemblyFvPatch.H.

References forAll, Time::New(), AssemblyFvPatch< CyclicType >::nrbFaceCells_, and UList< T >::size().

Here is the call graph for this function:

◆ neighbPatchID()

virtual label neighbPatchID ( ) const
inlinevirtual

Return neighbour.

Definition at line 127 of file AssemblyFvPatch.H.

References AssemblyFvPatch< CyclicType >::nbrPatchID_.

◆ nonOverlapPatchID()

virtual label nonOverlapPatchID ( ) const
inlinevirtual

Return non-overlap patch ID for ACMI.

Definition at line 133 of file AssemblyFvPatch.H.

References AssemblyFvPatch< CyclicType >::nonOverlapPatchID_.

◆ nonOverlapPatch()

virtual const fvPatch & nonOverlapPatch ( ) const
inlinevirtual

Return non-overlapping fvPatch for ACMI.

Definition at line 139 of file AssemblyFvPatch.H.

References AssemblyFvPatch< CyclicType >::nonOverlapPatchID_.

◆ neighbPatch()

virtual const CyclicType & neighbPatch ( ) const
inlinevirtual

Return nbr patch.

Definition at line 145 of file AssemblyFvPatch.H.

References AssemblyFvPatch< CyclicType >::nbrPatchID_.

◆ faceCells()

virtual const labelUList & faceCells ( ) const
inlinevirtual

Return faceCells.

Definition at line 154 of file AssemblyFvPatch.H.

References AssemblyFvPatch< CyclicType >::faceCells_.

Member Data Documentation

◆ nrbFaceCells_

const labelList& nrbFaceCells_
protected

Nbr faceCell.

Definition at line 63 of file AssemblyFvPatch.H.

Referenced by AssemblyFvPatch< CyclicType >::internalFieldTransfer().

◆ faceCells_

const labelList& faceCells_
protected

Local faceCells.

Definition at line 66 of file AssemblyFvPatch.H.

Referenced by AssemblyFvPatch< CyclicType >::faceCells().

◆ nbrPatchID_

label nbrPatchID_
protected

◆ nonOverlapPatchID_

label nonOverlapPatchID_
protected

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