NOX
Development
|
Model Evaluator Decorator class that adds support for the evaluation of a matrix-free W_op. More...
#include <NOX_MatrixFree_ModelEvaluatorDecorator.hpp>
Public Member Functions | |
MatrixFreeModelEvaluatorDecorator (const Teuchos::RCP< ::Thyra::ModelEvaluator< ScalarT > > &model) | |
::Thyra::ModelEvaluatorBase::OutArgs < ScalarT > | createOutArgsImpl () const |
void | evalModelImpl (const ::Thyra::ModelEvaluatorBase::InArgs< ScalarT > &inArgs, const ::Thyra::ModelEvaluatorBase::OutArgs< ScalarT > &outArgs) const |
Model Evaluator Decorator class that adds support for the evaluation of a matrix-free W_op.
The NOX solvers evaluate W_op as part of a Newton-based solve. In terms of a Jacobian-free Newton-Krylov method, we need to wrap the incoming model evaluator to say that it supports a ficticous W_op (otherwise all solvers would require built-in knowledge of the Matrix-Free algorithm). This wrapper adds support for that.