Go to the documentation of this file.
35 #ifndef LUscalarMatrix_H
36 #define LUscalarMatrix_H
labelList pivotIndices_
The pivot indices used in the LU decomposition.
lduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
const label comm_
Communicator to use.
void solve(Field< T > &source) const
Solve the matrix using the LU decomposition with pivoting.
ClassName("LUscalarMatrix")
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
void convert(const lduMatrix &ldum, const FieldField< Field, scalar > &interfaceCoeffs, const lduInterfaceFieldPtrsList &interfaces)
Convert the given lduMatrix into this LUscalarMatrix.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void printDiagonalDominance() const
Print the ratio of the mag-sum of the off-diagonal coefficients.
labelList procOffsets_
Processor matrix offsets.
LUscalarMatrix(const scalarSquareMatrix &)
Construct from scalarSquareMatrix and perform LU decomposition.