Decorator class that creates a W (Jacobian) operator using Matrix-Free directional derivatives. More...
#include <Piro_Epetra_MatrixFreeDecorator.hpp>
Public Member Functions | |
Constructors/initializers | |
MatrixFreeDecorator (Teuchos::RCP< EpetraExt::ModelEvaluator > &model, double lambda_=1.0e-6) | |
Takes the number of elements in the discretization . | |
Overridden from EpetraExt::ModelEvaluator . | |
Teuchos::RCP< const Epetra_Map > | get_g_map (int j) const |
Teuchos::RCP< const Epetra_Vector > | get_p_init (int l) const |
Teuchos::RCP< const Epetra_Vector > | get_p_lower_bounds (int l) const |
Teuchos::RCP< const Epetra_Vector > | get_p_upper_bounds (int l) const |
Teuchos::RCP< Epetra_Operator > | create_W () const |
Teuchos::RCP < EpetraExt::ModelEvaluator::Preconditioner > | create_WPrec () const |
EpetraExt::ModelEvaluator::InArgs | createInArgs () const |
EpetraExt::ModelEvaluator::OutArgs | createOutArgs () const |
void | evalModel (const InArgs &inArgs, const OutArgs &outArgs) const |
Decorator class that creates a W (Jacobian) operator using Matrix-Free directional derivatives.
This class takes a model evaluator that supports a residual calculation, and adds support for the W matrix as an epetra_operator.
This class is the ModelEvaluator version of NOX_Epetra_MatrixFree. One difference, is that it supports time-dependent problems when x_dot != null or x_dotdot !- null, and using alpha, beta, and omega.