Public Member Functions | List of all members
LUscalarMatrix Class Reference

Foam::LUscalarMatrix. More...

Inheritance diagram for LUscalarMatrix:
Inheritance graph
[legend]
Collaboration diagram for LUscalarMatrix:
Collaboration graph
[legend]

Public Member Functions

 ClassName ("LUscalarMatrix")
 
 LUscalarMatrix (const scalarSquareMatrix &)
 Construct from scalarSquareMatrix and perform LU decomposition. More...
 
 LUscalarMatrix (const lduMatrix &, const FieldField< Field, scalar > &interfaceCoeffs, const lduInterfaceFieldPtrsList &interfaces)
 Construct from lduMatrix and perform LU decomposition. More...
 
template<class T >
void solve (Field< T > &source) const
 Solve the matrix using the LU decomposition with pivoting. More...
 
template<class Type >
void solve (Field< Type > &sourceSol) const
 
- Public Member Functions inherited from SquareMatrix< Type >
 SquareMatrix ()
 Null constructor. More...
 
 SquareMatrix (const label n)
 Construct given number of rows/columns. More...
 
 SquareMatrix (const label m, const label n)
 Construct given number of rows and columns,. More...
 
 SquareMatrix (const label m, const label n, const Type &)
 Construct with given number of rows and rows. More...
 
 SquareMatrix (Istream &)
 Construct from Istream. More...
 
autoPtr< SquareMatrix< Type > > clone () const
 Clone. More...
 
- Public Member Functions inherited from Matrix< SquareMatrix< Type >, Type >
 Matrix ()
 Null constructor. More...
 
 Matrix (const label n, const label m)
 Construct given number of rows and columns. More...
 
 Matrix (const label n, const label m, const Type &)
 Construct with given number of rows and columns. More...
 
 Matrix (const Matrix< SquareMatrix< Type >, Type > &)
 Copy constructor. More...
 
 Matrix (Istream &)
 Construct from Istream. More...
 
autoPtr< Matrix< SquareMatrix< Type >, Type > > clone () const
 Clone. More...
 
 ~Matrix ()
 Destructor. More...
 
label n () const
 Return the number of rows. More...
 
label m () const
 Return the number of columns. More...
 
label size () const
 Return the number of elements in matrix (n*m) More...
 
void checki (const label i) const
 Check index i is within valid range (0 ... n-1). More...
 
void checkj (const label j) const
 Check index j is within valid range (0 ... m-1). More...
 
void clear ()
 Clear the Matrix, i.e. set sizes to zero. More...
 
void transfer (Matrix< SquareMatrix< Type >, Type > &)
 Transfer the contents of the argument Matrix into this Matrix. More...
 
SquareMatrix< Type > T () const
 Return the transpose of the matrix. More...
 
Type * operator[] (const label)
 Return subscript-checked row of Matrix. More...
 
const Type * operator[] (const label) const
 Return subscript-checked row of constant Matrix. More...
 
void operator= (const Matrix< SquareMatrix< Type >, Type > &)
 Assignment operator. Takes linear time. More...
 
void operator= (const Type &)
 Assignment of all entries to the given value. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Matrix< SquareMatrix< Type >, Type >
static const Matrix< SquareMatrix< Type >, Type > & null ()
 Return a null Matrix. More...
 

Detailed Description

Foam::LUscalarMatrix.

Source files

Definition at line 54 of file LUscalarMatrix.H.

Constructor & Destructor Documentation

LUscalarMatrix ( const scalarSquareMatrix matrix)

Construct from scalarSquareMatrix and perform LU decomposition.

Definition at line 42 of file LUscalarMatrix.C.

References Foam::LUDecompose().

Here is the call graph for this function:

LUscalarMatrix ( const lduMatrix ldum,
const FieldField< Field, scalar > &  interfaceCoeffs,
const lduInterfaceFieldPtrsList interfaces 
)

Member Function Documentation

ClassName ( "LUscalarMatrix"  )
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

The documentation for this class was generated from the following files: