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

diagonalSolver Class Reference

Foam::diagonalSolver. More...

Inheritance diagram for diagonalSolver:
Collaboration diagram for diagonalSolver:

List of all members.


Public Member Functions

 TypeName ("diagonal")
 Runtime type information.
 diagonalSolver (const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, const dictionary &solverControls)
 Construct from matrix and solver controls.
void read (const dictionary &)
 Read and reset the solver parameters from the given stream.
lduMatrix::solverPerformance solve (scalarField &psi, const scalarField &source, const direction cmpt=0) const
 Solve the matrix with this solver.

Detailed Description

Foam::diagonalSolver.

Source files

Definition at line 44 of file diagonalSolver.H.


Constructor & Destructor Documentation

diagonalSolver ( const word &  fieldName,
const lduMatrix &  matrix,
const FieldField< Field, scalar > &  interfaceBouCoeffs,
const FieldField< Field, scalar > &  interfaceIntCoeffs,
const lduInterfaceFieldPtrsList &  interfaces,
const dictionary &  solverControls 
)

Construct from matrix and solver controls.

Definition at line 31 of file diagonalSolver.C.

References Foam::defineTypeNameAndDebug().

Here is the call graph for this function:


Member Function Documentation

TypeName ( "diagonal"   ) 

Runtime type information.

void read ( const dictionary &   )  [inline, virtual]

Read and reset the solver parameters from the given stream.

Reimplemented from solver.

Definition at line 80 of file diagonalSolver.H.

Foam::lduMatrix::solverPerformance solve ( scalarField &  psi,
const scalarField &  source,
const direction  cmpt = 0 
) const [virtual]

Solve the matrix with this solver.

Implements solver.

Definition at line 55 of file diagonalSolver.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd