Go to the documentation of this file.
41 #ifndef fvMeshPrimitiveLduAddressing_H
42 #define fvMeshPrimitiveLduAddressing_H
128 return *patchAddr_[i];
134 return patchSchedule_;
The class contains the addressing required by the lduMatrix: upper, lower and losort.
virtual const labelUList & patchAddr(const label i) const
Return patch addressing.
virtual const lduSchedule & patchSchedule() const
virtual ~fvMeshPrimitiveLduAddressing()=default
Destructor.
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)
Given additional addressing (in the form of additional neighbour.
string lower(const std::string &s)
Return string copy transformed with std::tolower on each character.
Variant of fvMeshLduAddressing that contains addressing instead of slices.
virtual const labelUList & upperAddr() const
Return upper addressing (i.e. upper label)
Mesh data needed to do the Finite Volume discretisation.
virtual const labelUList & lowerAddr() const
Return lower addressing (i.e. lower label = upper triangle)
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
string upper(const std::string &s)
Return string copy transformed with std::toupper on each character.
static label triIndex(const lduAddressing &, const label, const label)
Return off-diagonal index given owner and neighbour label. Return.