Loading...
Searching...
No Matches
faMeshLduAddressing Class Reference

lduAddressing wrapper for faMesh More...

#include <faMeshLduAddressing.H>

Inheritance diagram for faMeshLduAddressing:
Collaboration diagram for faMeshLduAddressing:

Public Member Functions

 faMeshLduAddressing (const faMeshLduAddressing &)=delete
 No copy construct.
void operator= (const faMeshLduAddressing &)=delete
 No copy assignment.
 faMeshLduAddressing (const faMesh &mesh)
 Construct from components.
virtual ~faMeshLduAddressing ()=default
 Destructor.
virtual label nPatches () const noexcept
 Return number of interfaces.
virtual const labelUListlowerAddr () const noexcept
 Return lower addressing (i.e. lower label = upper triangle).
virtual const labelUListupperAddr () const noexcept
 Return upper addressing (i.e. upper label).
virtual const labelUListpatchAddr (const label patchi) const
 Return patch addressing.
virtual const lduSchedulepatchSchedule () const noexcept
 Return patch field evaluation schedule.
Public Member Functions inherited from lduAddressing
 lduAddressing (const lduAddressing &)=delete
 No copy construct.
void operator= (const lduAddressing &)=delete
 No copy assignment.
 lduAddressing (const label nEqns) noexcept
 Construct with size (number of equations).
virtual ~lduAddressing ()=default
 Destructor.
label size () const noexcept
 Return number of equations.
void clearOut ()
 Clear additional addressing.
const labelUListlosortAddr () const
 Return losort addressing.
const labelUListownerStartAddr () const
 Return owner start addressing.
const labelUListlosortStartAddr () const
 Return losort start addressing.
const labelUListlowerCSRAddr () const
 Return CSR addressing.
label triIndex (const label a, const label b) const
 Return off-diagonal index given owner and neighbour label.
Tuple2< label, scalar > band () const
 Calculate bandwidth and profile of addressing.
template<class Type>
void map (const UList< Type > &faceVals, List< Type > &vals) const
 Helper to convert lower addressing & data into CSR format.

Detailed Description

lduAddressing wrapper for faMesh

Source files
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.

Definition at line 52 of file faMeshLduAddressing.H.

Constructor & Destructor Documentation

◆ faMeshLduAddressing() [1/2]

faMeshLduAddressing ( const faMeshLduAddressing & )
delete

No copy construct.

References faMeshLduAddressing().

Referenced by faMeshLduAddressing(), and operator=().

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

◆ faMeshLduAddressing() [2/2]

faMeshLduAddressing ( const faMesh & mesh)
inline

Construct from components.

Definition at line 99 of file faMeshLduAddressing.H.

References boundary, lduAddressing::lduAddressing(), mesh, and patchSchedule().

Here is the call graph for this function:

◆ ~faMeshLduAddressing()

virtual ~faMeshLduAddressing ( )
virtualdefault

Destructor.

Member Function Documentation

◆ operator=()

void operator= ( const faMeshLduAddressing & )
delete

No copy assignment.

References faMeshLduAddressing().

Here is the call graph for this function:

◆ nPatches()

virtual label nPatches ( ) const
inlinevirtualnoexcept

Return number of interfaces.

Definition at line 127 of file faMeshLduAddressing.H.

References Foam::noexcept.

◆ lowerAddr()

virtual const labelUList & lowerAddr ( ) const
inlinevirtualnoexcept

Return lower addressing (i.e. lower label = upper triangle).

Implements lduAddressing.

Definition at line 135 of file faMeshLduAddressing.H.

References Foam::noexcept.

◆ upperAddr()

virtual const labelUList & upperAddr ( ) const
inlinevirtualnoexcept

Return upper addressing (i.e. upper label).

Implements lduAddressing.

Definition at line 143 of file faMeshLduAddressing.H.

References Foam::noexcept.

◆ patchAddr()

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

Return patch addressing.

Implements lduAddressing.

Definition at line 151 of file faMeshLduAddressing.H.

◆ patchSchedule()

virtual const lduSchedule & patchSchedule ( ) const
inlinevirtualnoexcept

Return patch field evaluation schedule.

Implements lduAddressing.

Definition at line 159 of file faMeshLduAddressing.H.

References Foam::noexcept.

Referenced by faMeshLduAddressing().

Here is the caller graph for this function:

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