OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

scalarMatrices.H File Reference

Go to the source code of this file.


Namespaces

namespace  Foam
 Namespace for OpenFOAM.

Typedefs

typedef RectangularMatrix< scalar > scalarRectangularMatrix
typedef SquareMatrix< scalar > scalarSquareMatrix
typedef DiagonalMatrix< scalar > scalarDiagonalMatrix

Functions

template<class Type >
void solve (scalarSquareMatrix &matrix, Field< Type > &source)
 Solve the matrix using Gaussian elimination with pivoting,.
template<class Type >
void solve (Field< Type > &psi, const scalarSquareMatrix &matrix, const Field< Type > &source)
 Solve the matrix using Gaussian elimination with pivoting.
void LUDecompose (scalarSquareMatrix &matrix, labelList &pivotIndices)
 LU decompose the matrix with pivoting.
template<class Type >
void LUBacksubstitute (const scalarSquareMatrix &luMmatrix, const labelList &pivotIndices, Field< Type > &source)
 LU back-substitution with given source, returning the solution.
template<class Type >
void LUsolve (scalarSquareMatrix &matrix, Field< Type > &source)
 Solve the matrix using LU decomposition with pivoting.
void multiply (scalarRectangularMatrix &answer, const scalarRectangularMatrix &A, const scalarRectangularMatrix &B)
void multiply (scalarRectangularMatrix &answer, const scalarRectangularMatrix &A, const scalarRectangularMatrix &B, const scalarRectangularMatrix &C)
void multiply (scalarRectangularMatrix &answer, const scalarRectangularMatrix &A, const DiagonalMatrix< scalar > &B, const scalarRectangularMatrix &C)
scalarRectangularMatrix SVDinv (const scalarRectangularMatrix &A, scalar minCondition=0)
 Return the inverse of matrix A using SVD.

Detailed Description

Original source file scalarMatrices.H

Definition in file scalarMatrices.H.

Copyright © 2000-2009 OpenCFD Ltd