Public Member Functions | Static Public Member Functions | List of all members
fvMeshPrimitiveLduAddressing Class Reference

Variant of fvMeshLduAddressing that contains addressing instead of slices. More...

Inheritance diagram for fvMeshPrimitiveLduAddressing:
Inheritance graph
[legend]
Collaboration diagram for fvMeshPrimitiveLduAddressing:
Collaboration graph
[legend]

Public Member Functions

 fvMeshPrimitiveLduAddressing (const fvMesh &mesh)
 
 fvMeshPrimitiveLduAddressing (const label nCells, labelList &&lowerAddr, labelList &&upperAddr, const UPtrList< const labelUList > &patchAddr, const lduSchedule &ps)
 
virtual ~fvMeshPrimitiveLduAddressing ()=default
 
virtual const labelUListlowerAddr () const noexcept
 
virtual const labelUListupperAddr () const noexcept
 
virtual const labelUListpatchAddr (const label patchi) const
 
virtual const lduSchedulepatchSchedule () const noexcept
 
- Public Member Functions inherited from lduAddressing
 lduAddressing (const label nEqns)
 
virtual ~lduAddressing ()
 
label size () const
 
void clearOut ()
 
const labelUListlosortAddr () const
 
const labelUListownerStartAddr () const
 
const labelUListlosortStartAddr () const
 
label triIndex (const label a, const label b) const
 
Tuple2< label, scalar > band () const
 

Static Public Member Functions

static labelList addAddressing (const lduAddressing &addr, const labelListList &nbrCells, label &nExtraFaces, labelList &lower, labelList &upper, labelListList &nbrCellFaces, const globalIndex &, const labelList &globalCellIDs, labelListList &localFaceCells, labelListList &remoteFaceCells)
 
static label triIndex (const lduAddressing &, const label, const label)
 

Detailed Description

Variant of fvMeshLduAddressing that contains addressing instead of slices.

Alternatively use lduPrimitiveMesh but that assumes there are only lduInterfaces and not also generic patches.

Source files

Definition at line 53 of file fvMeshPrimitiveLduAddressing.H.

Constructor & Destructor Documentation

◆ fvMeshPrimitiveLduAddressing() [1/2]

fvMeshPrimitiveLduAddressing ( const fvMesh mesh)
explicit

Definition at line 29 of file fvMeshPrimitiveLduAddressing.C.

◆ fvMeshPrimitiveLduAddressing() [2/2]

fvMeshPrimitiveLduAddressing ( const label  nCells,
labelList &&  lowerAddr,
labelList &&  upperAddr,
const UPtrList< const labelUList > &  patchAddr,
const lduSchedule ps 
)

Definition at line 49 of file fvMeshPrimitiveLduAddressing.C.

◆ ~fvMeshPrimitiveLduAddressing()

virtual ~fvMeshPrimitiveLduAddressing ( )
virtualdefault

Member Function Documentation

◆ lowerAddr()

virtual const labelUList& lowerAddr ( ) const
inlinevirtualnoexcept

Implements lduAddressing.

Definition at line 109 of file fvMeshPrimitiveLduAddressing.H.

Referenced by dynamicOversetFvMesh::active().

Here is the caller graph for this function:

◆ upperAddr()

virtual const labelUList& upperAddr ( ) const
inlinevirtualnoexcept

Implements lduAddressing.

Definition at line 115 of file fvMeshPrimitiveLduAddressing.H.

◆ patchAddr()

virtual const labelUList& patchAddr ( const label  patchi) const
inlinevirtual

Implements lduAddressing.

Definition at line 121 of file fvMeshPrimitiveLduAddressing.H.

◆ patchSchedule()

virtual const lduSchedule& patchSchedule ( ) const
inlinevirtualnoexcept

Implements lduAddressing.

Definition at line 127 of file fvMeshPrimitiveLduAddressing.H.

◆ addAddressing()

Foam::labelList addAddressing ( const lduAddressing addr,
const labelListList nbrCells,
label &  nExtraFaces,
labelList lower,
labelList upper,
labelListList nbrCellFaces,
const globalIndex globalNumbering,
const labelList globalCellIDs,
labelListList localFaceCells,
labelListList remoteFaceCells 
)
static

◆ triIndex()

Foam::label triIndex ( const lduAddressing addr,
const label  a,
const label  b 
)
static

Definition at line 68 of file fvMeshPrimitiveLduAddressing.C.

References Foam::constant::physicoChemical::b, Foam::max(), Foam::min(), lduAddressing::ownerStartAddr(), and lduAddressing::upperAddr().

Here is the call graph for this function:

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