Go to the documentation of this file.
99 #ifndef lduAddressing_H
100 #define lduAddressing_H
144 void calcLosort()
const;
147 void calcOwnerStart()
const;
150 void calcLosortStart()
const;
160 ownerStartPtr_(nullptr),
161 losortStartPtr_(nullptr)
205 label
triIndex(
const label a,
const label
b)
const;
The class contains the addressing required by the lduMatrix: upper, lower and losort.
const labelUList & losortStartAddr() const
Return losort start addressing.
const labelUList & ownerStartAddr() const
Return owner start addressing.
lduAddressing(const label nEqns)
Construct with size (number of equations)
label size() const
Return number of equations.
virtual const labelUList & upperAddr() const =0
Return upper addressing.
const labelUList & losortAddr() const
Return losort addressing.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
virtual const lduSchedule & patchSchedule() const =0
void clearOut()
Clear additional addressing.
virtual const labelUList & lowerAddr() const =0
Return lower addressing.
virtual const labelUList & patchAddr(const label patchNo) const =0
Return patch to internal addressing given patch number.
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 dissimilar types. The container is similar in purpose to std::pa...
virtual ~lduAddressing()
Destructor.
Tuple2< label, scalar > band() const
Calculate bandwidth and profile of addressing.