8 #include <ml_MultiLevelPreconditioner.h> 26 ASSERT_PRE(M_pList.isSublist(
"options"),
"RowMatrixPreconditioner::SetParameterList(): pList must have a options subList");
28 ML_Epetra::MultiLevelPreconditioner * prec;
30 prec =
new ML_Epetra::MultiLevelPreconditioner(*M_rowMatrix,
false);
31 prec->SetParameterList(M_pList.sublist(
"options"));
33 ML_CHK_ERR(prec->ComputePreconditioner());
virtual ~MLPreconditioner()
RowMatrixPreconditioner()
Empty constructor.
void updateInverseJacobian(const UInt &iQuadPt)
int myCompute()
Abstract method myCompute implemented by the derived class.
Interface to the ML preconditioners in Trilinos.
Abstract class to construct preconditioners from a matrix in Epetra_CsrFormat.