public class PnPreconditionerILU extends PnPreconditioner
m_smat
Constructor and Description |
---|
PnPreconditionerILU(PnSparseMatrix A) |
PnPreconditionerILU(PnSparseMatrix A,
double initShift) |
Modifier and Type | Method and Description |
---|---|
PdVector |
apply(PdVector b,
PdVector x,
int dim)
Apply the preconditioner to a given vector b storing the result in x
using given dimension of vectors
This method has to be implemented
|
PdVector |
applyTransposed(PdVector b,
PdVector x,
int dim)
Apply the preconditioner transposed to a given vector b storing the result in x
This method has to be implemented
|
void |
setSparseMatrix(PnSparseMatrix A)
Set the matrix to use in the preconditionert.
|
void |
updateDiag()
Update the index of diagonal elements of the matrix
|
apply, applyTransposed
public PnPreconditionerILU(PnSparseMatrix A)
public PnPreconditionerILU(PnSparseMatrix A, double initShift)
public void setSparseMatrix(PnSparseMatrix A)
PnPreconditioner
This method has to be implemented
setSparseMatrix
in class PnPreconditioner
public PdVector apply(PdVector b, PdVector x, int dim)
PnPreconditioner
This method has to be implemented
apply
in class PnPreconditioner
public PdVector applyTransposed(PdVector b, PdVector x, int dim)
PnPreconditioner
This method has to be implemented
applyTransposed
in class PnPreconditioner
public void updateDiag()
"