#include <SuperLUSolverCSR.h>
Inheritance diagram for basso::SuperLUSolverCSR:

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 |
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.
| int basso::SuperLUSolverCSR::Solve | ( | nArray & | d | ) | [virtual] |
solves the system. The solution is returned in
| 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
| 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().
1.5.2