public class ILUT extends Object implements Preconditioner
| Constructor and Description |
|---|
ILUT(FlexCompRowMatrix LU)
Sets up the preconditioner for the given matrix.
|
ILUT(FlexCompRowMatrix LU,
double tau,
int p)
Sets up the preconditioner for the given matrix
|
| Modifier and Type | Method and Description |
|---|---|
Vector |
apply(Vector b,
Vector x)
Solves the approximate problem with the given right hand side.
|
void |
setMatrix(Matrix A)
Sets the operator matrix for the preconditioner.
|
Vector |
transApply(Vector b,
Vector x)
Solves the approximate transpose problem with the given right hand side.
|
public ILUT(FlexCompRowMatrix LU, double tau, int p)
LU - Matrix to use internally. For best performance, its non-zero
pattern should conform to that of the system matrixtau - Drop tolerancep - Number of entries to keep on each row in of the factored
matrix. This is in addition to the entries of the original
matrixpublic ILUT(FlexCompRowMatrix LU)
LU - Matrix to use internally. For best performance, its non-zero
pattern should conform to that of the system matrixpublic Vector apply(Vector b, Vector x)
Preconditionerapply in interface Preconditionerb - Right hand side of problemx - Result is stored herepublic Vector transApply(Vector b, Vector x)
PreconditionertransApply in interface Preconditionerb - Right hand side of problemx - Result is stored herepublic void setMatrix(Matrix A)
PreconditionersetMatrix in interface PreconditionerA - Matrix to setup the preconditioner for. Not modifiedCopyright © 2015. All Rights Reserved.