basso::SuperLUSolverCSR Class Reference

Class for solving using SuperLU with DynamicCSRMatrix. More...

#include <SuperLUSolverCSR.h>

Inheritance diagram for basso::SuperLUSolverCSR:

basso::Solver< DynamicCSRMatrix > List of all members.

Public Member Functions

 SuperLUSolverCSR (DynamicCSRMatrix &K, nArray &f)
virtual int Solve (nArray &d)
void SetOrdering (int ord)
Numeric ConditionEstimate () const

Protected Attributes

int ordering
Numeric condest

Detailed Description

Class for solving using SuperLU with DynamicCSRMatrix.

Used the SuperLU library to solve the system formed with a DynamicCSRMatrix. This solver works for symetric and nonsymmetric systems.

Definition at line 28 of file SuperLUSolverCSR.h.


Member Function Documentation

int basso::SuperLUSolverCSR::Solve ( nArray &  d  )  [virtual]

solves the system. The solution is returned in

Parameters:
d if the solution is succesful zero is returned, if not the unity is returned.

Implements basso::Solver< DynamicCSRMatrix >.

Definition at line 59 of file SuperLUSolverCSR.h.

References condest, CSRMatrix, basso::Solver< DynamicCSRMatrix >::fptr, basso::Solver< DynamicCSRMatrix >::Kptr, basso::Solver< DynamicCSRMatrix >::NumEquations(), ordering, and basso::Solver< DynamicCSRMatrix >::solved.

void basso::SuperLUSolverCSR::SetOrdering ( int  ord  )  [inline]

Sets the equation ordering for the SuperLU solver

Parameters:
ord=0,: natural ordering
ord=1,: minimum degree ordering on structure of a'*a (default)
ord=2,: minimum degree ordering on structure of a'+a

Definition at line 41 of file SuperLUSolverCSR.h.

References ordering.

Numeric basso::SuperLUSolverCSR::ConditionEstimate (  )  const [inline]

Returns the estimate of the condition of the system (system must be solved)

Definition at line 44 of file SuperLUSolverCSR.h.

References condest, and basso::Solver< DynamicCSRMatrix >::Solved().


The documentation for this class was generated from the following file:
Generated on Sat Jan 19 09:03:59 2008 for Basso by  doxygen 1.5.2