NOX::Epetra::ModelEvaluatorInterface Class Reference

Wrapper for an EpetraExt::ModelEvaluator. More...

#include <NOX_Epetra_ModelEvaluatorInterface.H>

Inheritance diagram for NOX::Epetra::ModelEvaluatorInterface:

Collaboration diagram for NOX::Epetra::ModelEvaluatorInterface:
List of all members.

Public Member Functions

 ModelEvaluatorInterface (const Teuchos::RefCountPtr< EpetraExt::ModelEvaluator > &m)
virtual ~ModelEvaluatorInterface ()
virtual bool computeF (const Epetra_Vector &x, Epetra_Vector &F, const FillType fillFlag)
 Compute the function, F, given the specified input vector x. Returns true if computation was successful.
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.

Protected Attributes

Teuchos::RefCountPtr< EpetraExt::ModelEvaluator > model_
 RCP to the Model Evaluator.
EpetraExt::ModelEvaluator::InArgs inargs_
 Inargs object.
EpetraExt::ModelEvaluator::OutArgs outargs_
 Outargs object.
Teuchos::RefCountPtr< const
 RCP for the solution vector.
Teuchos::RefCountPtr< Epetra_Vectorf_
 RCP for the residual vector.
Teuchos::RefCountPtr< Epetra_Operatorjacobian_
 RCP for the Jacobian operator.
 RCP for the residual vector wrapper.

Detailed Description

Wrapper for an EpetraExt::ModelEvaluator.

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.

Member Function Documentation

bool NOX::Epetra::ModelEvaluatorInterface::computeJacobian const Epetra_Vector x,
Epetra_Operator Jac

Compute Jacobian given the specified input vector x. Returns true if computation was successful.

Implements NOX::Epetra::Interface::Jacobian.

The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:38:38 2008 for NOX by doxygen