Amesos
Development
|
Epetra_SLU: An object-oriented wrapper for Xiaoye Li's serial sparse solver package: Superlu. More...
#include <Epetra_SLU.h>
Public Member Functions | |
Epetra_SLU (Epetra_LinearProblem *Problem, int fill_fac=-1, int panel_size=-1, int relax=-1) | |
Epetra_SLU Constructor. More... | |
~Epetra_SLU () | |
Epetra_SLU Destructor. More... | |
int | Solve (bool Verbose=false, bool Equil=true, bool Factor=true, int perm_type=2, double pivot_thresh=-1, bool Refact=true, bool Trans=false) |
All computation is performed during the call to Solve() More... | |
Epetra_SLU: An object-oriented wrapper for Xiaoye Li's serial sparse solver package: Superlu.
Epetra_SLU will solve a linear systems of equations: , using Epetra objects and the Superludist solver library, where is an Epetra_RowMatrix and and are Epetra_MultiVector objects.
SuperLU execution can be tuned through a variety of parameters. Three parameters can be controlled within the call to the constructor: fill_fac, panel_size and relax. Seven parameters can be controlled within the call to Solve(): Verbose, Equil, Factor, perm_type, pivot_thresh, Refact, Trans
Epetra_SLU::Epetra_SLU | ( | Epetra_LinearProblem * | Problem, |
int | fill_fac = -1 , |
||
int | panel_size = -1 , |
||
int | relax = -1 |
||
) |
Epetra_SLU Constructor.
Creates an Epetra_SLU instance, using an Epetra_LinearProblem, passing in an already-defined Epetra_LinearProblem object.
References Copy, Epetra_LinearProblem::GetLHS(), Epetra_LinearProblem::GetOperator(), Epetra_LinearProblem::GetRHS(), and Epetra_CrsGraph::NumMyCols().
Epetra_SLU::~Epetra_SLU | ( | ) |
Epetra_SLU Destructor.
Completely deletes a Epetra_SLU object.
int Epetra_SLU::Solve | ( | bool | Verbose = false , |
bool | Equil = true , |
||
bool | Factor = true , |
||
int | perm_type = 2 , |
||
double | pivot_thresh = -1 , |
||
bool | Refact = true , |
||
bool | Trans = false |
||
) |
All computation is performed during the call to Solve()
Factor controls whether or not the matrix should be factored prior to the solve. Default is true.