#include <NOX_Epetra_ModelEvaluatorInterface.H>
Inheritance diagram for NOX::Epetra::ModelEvaluatorInterface:


Public Member Functions | |
| ModelEvaluatorInterface (const Teuchos::RCP< EpetraExt::ModelEvaluator > &m) | |
| Constructor. | |
| virtual | ~ModelEvaluatorInterface () |
| Destructor. | |
| virtual bool | computeF (const Epetra_Vector &x, Epetra_Vector &F, const FillType fillFlag) |
| virtual bool | computeJacobian (const Epetra_Vector &x, Epetra_Operator &Jac) |
| virtual bool | computePreconditioner (const Epetra_Vector &x, Epetra_Operator &M, Teuchos::ParameterList *precParams=0) |
| Computes a user defined preconditioner. | |
| virtual bool | inargs_set_p (const Teuchos::RCP< const Epetra_Vector > p, const int l=0) |
| Set the parameter vector in inargs of the underlying model evaluator. | |
Protected Attributes | |
| Teuchos::RCP< EpetraExt::ModelEvaluator > | model_ |
| RCP to the Model Evaluator. | |
| EpetraExt::ModelEvaluator::InArgs | inargs_ |
| Inargs object. | |
| EpetraExt::ModelEvaluator::OutArgs | outargs_ |
| Outargs object. | |
| Teuchos::RCP< const Epetra_Vector > | x_ |
| RCP for the solution vector. | |
| Teuchos::RCP< Epetra_Vector > | f_ |
| RCP for the residual vector. | |
| Teuchos::RCP< Epetra_Operator > | jacobian_ |
| RCP for the Jacobian operator. | |
|
EpetraExt::ModelEvaluator::Evaluation< Epetra_Vector > | eval_f_ |
| RCP for the residual vector wrapper. | |
If an application interfaces their code to solvers using the EpetraExt::ModelEvaluator, this class provides a wrapper so that the model evaluator can be used instead of having the user write concrete versions of the NOX::Epetra::Interface objects.
| bool NOX::Epetra::ModelEvaluatorInterface::computeJacobian | ( | const Epetra_Vector & | x, | |
| Epetra_Operator & | Jac | |||
| ) | [virtual] |
Compute Jacobian given the specified input vector x. Returns true if computation was successful.
Implements NOX::Epetra::Interface::Jacobian.
Reimplemented in LOCA::Epetra::ModelEvaluatorInterface.
1.4.7