Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Ma27Solver Class Reference
[LinearSolvers]

#include <Ma27Solver.h>

Inheritance diagram for Ma27Solver:

Ma27SolverBase DoubleLinearSolver List of all members.

Public Methods

 Ma27Solver (SparseSymMatrix *sgm)
virtual void copyMatrixElements (double fact[], int lfact)
virtual void getIndices (int irowM[], int jcolM[])
virtual void solve (OoqpVector &rhs)

Protected Attributes

SparseSymMatrixHandle mMat

Detailed Description

implements the linear solver class using the HSL MA27 solver


Constructor & Destructor Documentation

Ma27Solver::Ma27Solver SparseSymMatrix   sgm
 

sets mMat to refer to the argument sgm


Member Function Documentation

virtual void Ma27Solver::copyMatrixElements double    fact[],
int    lfact
[virtual]
 

copy the contents of the matrix into fact

Parameters:
fact  on exit, contains the nonzero elements of the original matrix, stored as an array of doubles

Implements Ma27SolverBase.

virtual void Ma27Solver::getIndices int    irowM[],
int    jcolM[]
[virtual]
 

change format for row/column index matrices, in preparation for call to MA27 FORTRAN routines

Parameters:
irowM  array of nnz elements indicating row index (in range 1..n) of the corresponding matrix element
jcolM  array of nnz elements indicating col index (in range 1..n) of the corresponding matrix element

Implements Ma27SolverBase.

virtual void Ma27Solver::solve OoqpVector   rhs [virtual]
 

version of the main solve routine that takes argument as an OoqpVector

Parameters:
drhs  on input contains the right-hand side; on output contains the solution
n  dimension of the system

Implements Ma27SolverBase.


Member Data Documentation

SparseSymMatrixHandle Ma27Solver::mMat [protected]
 

store as a sparse symmetric matrix


The documentation for this class was generated from the following file:
Generated on Mon May 24 17:40:46 2004 for OOQP by doxygen1.2.18