Piro  Development
 All Classes Namespaces Functions Variables Groups
List of all members
Piro::Epetra::MatrixFreeDecorator Class Reference

Decorator class that creates a W (Jacobian) operator using Matrix-Free directional derivatives. More...

#include <Piro_Epetra_MatrixFreeDecorator.hpp>

Inheritance diagram for Piro::Epetra::MatrixFreeDecorator:
Inheritance graph
[legend]
Collaboration diagram for Piro::Epetra::MatrixFreeDecorator:
Collaboration graph
[legend]

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
 

Detailed Description

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.


The documentation for this class was generated from the following files: