Decorator class that creates a Jacobian (W) operator using matrix-free directional derivatives. More...
#include <Piro_MatrixFreeDecorator.hpp>
Public Member Functions | |
Constructors/initializers | |
MatrixFreeDecorator (Teuchos::RCP< Thyra::ModelEvaluator< Scalar > > model, double lambda_=1.0e-6) | |
Overridden from Thyra::ModelEvaluatorDelegatorBase . | |
Teuchos::RCP < Thyra::LinearOpBase< Scalar > > | create_W_op () const |
Decorator class that creates a Jacobian (W) operator using matrix-free directional derivatives.
This class wraps a model evaluator supporting residual calculation and adds support for the W matrix that implements a Thyra-based version of NOX_Epetra_MatrixFree conforming to the Thyra::LinerarOp interface.
This class supports time-dependent problems (characterized by x_dot != null) and uses the input values of the alpha and beta coefficients.