#include <OpenFOAM/LUscalarMatrix.H>
Definition at line 55 of file LUscalarMatrix.H.
 Inheritance diagram for LUscalarMatrix:
 Inheritance diagram for LUscalarMatrix: Collaboration diagram for LUscalarMatrix:
 Collaboration diagram for LUscalarMatrix:| Public Member Functions | |
| LUscalarMatrix (const scalarSquareMatrix &) | |
| Construct from scalarSquareMatrix and perform LU decomposition. | |
| LUscalarMatrix (const lduMatrix &, const FieldField< Field, scalar > &interfaceCoeffs, const lduInterfaceFieldPtrsList &interfaces) | |
| Construct from lduMatrix and perform LU decomposition. | |
| template<class T > | |
| void | solve (Field< T > &source) const | 
| Solve the matrix using the LU decomposition with pivoting. | |
| template<class Type > | |
| void | solve (Field< Type > &sourceSol) const | 
| LUscalarMatrix | ( | const scalarSquareMatrix & | matrix ) | 
Construct from scalarSquareMatrix and perform LU decomposition.
Definition at line 33 of file LUscalarMatrix.C.
References Foam::LUDecompose().
| LUscalarMatrix | ( | const lduMatrix & | ldum, | 
| const FieldField< Field, scalar > & | interfaceCoeffs, | ||
| const lduInterfaceFieldPtrsList & | interfaces | ||
| ) | 
Construct from lduMatrix and perform LU decomposition.
Definition at line 43 of file LUscalarMatrix.C.
References Pstream::firstSlave(), forAll, Pstream::lastSlave(), lduMatrix::lduAddr(), Foam::LUDecompose(), Pstream::master(), Pstream::masterNo(), Pstream::nProcs(), Pstream::parRun(), PstreamBase::scheduled, PtrList< T >::set(), lduAddressing::size(), and PtrList< T >::size().
| void solve | ( | Field< T > & | source ) | const | 
Solve the matrix using the LU decomposition with pivoting.
returning the solution in the source
| void solve | ( | Field< Type > & | sourceSol ) | const | 
Definition at line 31 of file LUscalarMatrixTemplates.C.
References UList< Type >::begin(), PstreamBase::blocking, UList< Type >::byteSize(), Pstream::firstSlave(), Pstream::lastSlave(), Foam::LUBacksubstitute(), Pstream::master(), Pstream::masterNo(), Matrix< SquareMatrix< scalar >, scalar >::n(), Pstream::parRun(), IPstream::read(), PstreamBase::scheduled, List< Type >::size(), and OPstream::write().