Public Member Functions | Friends | List of all members
simpleMatrix Class Reference

A simple square matrix solver with scalar coefficients. More...

Inheritance diagram for simpleMatrix:
Inheritance graph
[legend]

Public Member Functions

 simpleMatrix (const label)
 
 simpleMatrix (const label, const scalar, const Type &)
 
 simpleMatrix (const scalarSquareMatrix &, const Field< Type > &)
 
 simpleMatrix (Istream &)
 
 simpleMatrix (const simpleMatrix< Type > &)
 
Field< Type > & source ()
 
const Field< Type > & source () const
 
Field< Type > solve () const
 
Field< Type > LUsolve () const
 
void operator= (const simpleMatrix< Type > &)
 

Friends

Ostreamoperator (Ostream &, const simpleMatrix< Type > &)
 

Detailed Description

A simple square matrix solver with scalar coefficients.

Source files

Definition at line 45 of file simpleMatrix.H.

Constructor & Destructor Documentation

◆ simpleMatrix() [1/5]

simpleMatrix ( const  label)

◆ simpleMatrix() [2/5]

simpleMatrix ( const  label,
const  scalar,
const Type &   
)

◆ simpleMatrix() [3/5]

simpleMatrix ( const scalarSquareMatrix ,
const Field< Type > &   
)

◆ simpleMatrix() [4/5]

◆ simpleMatrix() [5/5]

simpleMatrix ( const simpleMatrix< Type > &  )

Member Function Documentation

◆ source() [1/2]

Field<Type>& source ( )
inline

Definition at line 95 of file simpleMatrix.H.

◆ source() [2/2]

const Field<Type>& source ( ) const
inline

Definition at line 101 of file simpleMatrix.H.

◆ solve()

Foam::Field< Type > solve ( ) const

Definition at line 70 of file simpleMatrix.C.

◆ LUsolve()

Foam::Field< Type > LUsolve ( ) const

Definition at line 82 of file simpleMatrix.C.

◆ operator=()

void operator= ( const simpleMatrix< Type > &  m)

Definition at line 96 of file simpleMatrix.C.

Friends And Related Function Documentation

◆ operator

Ostream& operator ( Ostream ,
const simpleMatrix< Type > &   
)
friend

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