ml_MultiLevelOperator.h File Reference
Defines an ML preconditioner as a Epetra_Operator derived class.
More...
#include "ml_common.h"
#include "Epetra_LinearProblem.h"
#include "Epetra_Object.h"
#include "ml_include.h"
Go to the source code of this file.
Detailed Description
ML offers two preconditioners suitable for the solution of Epetra_LinearProblem objects. This file define one the two, called MultiLevelOperator (in the
ML_Epetra namespace). This preconditioner is simple wrapper of the
ML_Solve() function, so that ML can be applied to Epetra_MultiVector's.
When you should use MultiLevelOperator:
- when your code already defines the required ML objects, with the optimal choice of parameters, and you want to use ML for Epetra_LinearProblem or AztecOO problems;
When you should use MultiLevelPreconditioner:
- when you have an Epetra_RowMatrix, and you don't want to code the conversion to ML_Operator, the creation of the hierarchy and the aggregates, and/or you want to experiment various combinations of the parameters, simply changing some parameters in a Teuchos::ParameterList.
- Date:
- Last update to Doxygen: 22-Jul-04