FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

LUscalarMatrix Class Reference

Foam::LUscalarMatrix. More...

#include <OpenFOAM/LUscalarMatrix.H>


Detailed Description

Foam::LUscalarMatrix.

Source files

Definition at line 55 of file LUscalarMatrix.H.

Inheritance diagram for LUscalarMatrix:
Collaboration diagram for LUscalarMatrix:

List of all members.

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

Constructor & Destructor Documentation

LUscalarMatrix ( const scalarSquareMatrix &   matrix  )

Construct from scalarSquareMatrix and perform LU decomposition.

Definition at line 33 of file LUscalarMatrix.C.

References Foam::LUDecompose().


Member Function Documentation

void solve ( Field< T > &   source  ) const

Solve the matrix using the LU decomposition with pivoting.

returning the solution in the source


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