Go to the documentation of this file.
96 #ifndef lduAddressing_H
97 #define lduAddressing_H
The class contains the addressing required by the lduMatrix: upper, lower and losort.
const labelUList & losortStartAddr() const
Return losort start addressing.
labelList * losortPtr_
Demand-driven data.
void calcOwnerStart() const
Calculate owner start.
void calcLosortStart() const
Calculate losort start.
const labelUList & ownerStartAddr() const
Return owner start addressing.
lduAddressing(const label nEqns)
label size() const
Return number of equations.
virtual const labelUList & upperAddr() const =0
Return upper addressing.
lduAddressing(const lduAddressing &)
Disallow default bitwise copy construct.
void calcLosort() const
Calculate losort.
const labelUList & losortAddr() const
Return losort addressing.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
virtual const lduSchedule & patchSchedule() const =0
void operator=(const lduAddressing &)
Disallow default bitwise assignment.
labelList * ownerStartPtr_
Owner start addressing.
virtual const labelUList & lowerAddr() const =0
Return lower addressing.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
virtual const labelUList & patchAddr(const label patchNo) const =0
Return patch to internal addressing given patch number.
label size_
Number of equations.
label triIndex(const label a, const label b) const
Return off-diagonal index given owner and neighbour label.
A 2-tuple for storing two objects of different types.
labelList * losortStartPtr_
Losort start addressing.
virtual ~lduAddressing()
Destructor.
Tuple2< label, scalar > band() const
Calculate bandwidth and profile of addressing.