NOX::Epetra::ModelEvaluatorInterface Class Reference

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

#include <NOX_Epetra_ModelEvaluatorInterface.H>

Inheritance diagram for NOX::Epetra::ModelEvaluatorInterface:

Inheritance graph
[legend]
Collaboration diagram for NOX::Epetra::ModelEvaluatorInterface:

Collaboration graph
[legend]
List of all members.

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.

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_Vectorx_
 RCP for the solution vector.
Teuchos::RCP< Epetra_Vectorf_
 RCP for the residual vector.
Teuchos::RCP< Epetra_Operatorjacobian_
 RCP for the Jacobian operator.
EpetraExt::ModelEvaluator::Evaluation<
Epetra_Vector
eval_f_
 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 
) [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.


The documentation for this class was generated from the following files:
Generated on Wed May 12 21:41:59 2010 for NOX by  doxygen 1.4.7