40 #ifndef scalarMatrices_H 41 #define scalarMatrices_H 71 const scalarSquareMatrix& matrix,
78 scalarSquareMatrix& matrix,
86 scalarSquareMatrix& matrix,
92 void LUDecompose(scalarSymmetricSquareMatrix& matrix);
99 const scalarSquareMatrix& luMmatrix,
110 const scalarSymmetricSquareMatrix& luMmatrix,
124 template<
class Form,
class Type>
134 scalarRectangularMatrix& answer,
135 const scalarRectangularMatrix& A,
136 const scalarRectangularMatrix& B,
137 const scalarRectangularMatrix&
C 142 scalarRectangularMatrix& answer,
143 const scalarRectangularMatrix& A,
145 const scalarRectangularMatrix&
C 150 scalarSquareMatrix& answer,
151 const scalarSquareMatrix& A,
153 const scalarSquareMatrix&
C 157 scalarRectangularMatrix
SVDinv 159 const scalarRectangularMatrix& A,
160 scalar minCondition = 0
dimensionedScalar sign(const dimensionedScalar &ds)
scalarRectangularMatrix SVDinv(const scalarRectangularMatrix &A, scalar minCondition=0)
Return the inverse of matrix A using SVD.
Graphite solid properties.
DiagonalMatrix< scalar > scalarDiagonalMatrix
void multiply(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void LUDecompose(scalarSquareMatrix &matrix, labelList &pivotIndices)
LU decompose the matrix with pivoting.
SolverPerformance< Type > solve(fvMatrix< Type > &, const dictionary &)
Solve returning the solution statistics given convergence tolerance.
A templated (m x n) matrix of objects of <T>.
SymmetricSquareMatrix< scalar > scalarSymmetricSquareMatrix
A templated 2D square symmetric matrix of objects of <T>, where the n x n matrix dimension is known a...
const volScalarField & psi
SquareMatrix< scalar > scalarSquareMatrix
void LUsolve(scalarSquareMatrix &matrix, List< Type > &source)
Solve the matrix using LU decomposition with pivoting.
void LUBacksubstitute(const scalarSquareMatrix &luMmatrix, const labelList &pivotIndices, List< Type > &source)
LU back-substitution with given source, returning the solution.
RectangularMatrix< scalar > scalarRectangularMatrix