Piro Development
Piro::MatrixFreeLinearOp< Scalar > Class Template Reference

List of all members.

Public Member Functions

Constructors/initializers
 MatrixFreeLinearOp (const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &model)
 Construct a partially initialized Jacobian operator for the specified model evaluator.
Underlying model evaluator
Teuchos::RCP< const
Thyra::ModelEvaluator< Scalar > > 
model () const
 Model evaluator whose Jacobian operator is implemented by this object.
Base point at which the Jacobian operator is computed
Thyra::ModelEvaluatorBase::InArgs
< Scalar > 
basePoint () const
 Input arguments defining the base point.
Teuchos::RCP< const
Thyra::VectorBase< Scalar > > 
f_base () const
 Residual evaluated at the base point.
void setBase (const Thyra::ModelEvaluatorBase::InArgs< Scalar > &basePoint, const Teuchos::RCP< const Thyra::VectorBase< Scalar > > &f_base)
 Set the base point.

Overridden from Thyra::LinearOpBase< Scalar >

Teuchos::RCP< const
Thyra::VectorSpaceBase< Scalar > > 
range () const
 
Teuchos::RCP< const
Thyra::VectorSpaceBase< Scalar > > 
domain () const
 
bool opSupportedImpl (Thyra::EOpTransp M_trans) const
 
void applyImpl (const Thyra::EOpTransp M_trans, const Thyra::MultiVectorBase< Scalar > &X, const Teuchos::Ptr< Thyra::MultiVectorBase< Scalar > > &Y, const Scalar alpha, const Scalar beta) const
 

template<typename Scalar>
class Piro::MatrixFreeLinearOp< Scalar >


Constructor & Destructor Documentation

template<typename Scalar >
Piro::MatrixFreeLinearOp< Scalar >::MatrixFreeLinearOp ( const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &  model) [explicit]

Construct a partially initialized Jacobian operator for the specified model evaluator.

Precondition:
model != null

Member Function Documentation

template<typename Scalar >
Teuchos::RCP< const Thyra::VectorBase< Scalar > > Piro::MatrixFreeLinearOp< Scalar >::f_base ( ) const

Residual evaluated at the base point.

The object is fully initialized if and only if f_base != null.

template<typename Scalar >
void Piro::MatrixFreeLinearOp< Scalar >::setBase ( const Thyra::ModelEvaluatorBase::InArgs< Scalar > &  basePoint,
const Teuchos::RCP< const Thyra::VectorBase< Scalar > > &  f_base 
)

Set the base point.

This function must be called after construction to fully initialize the object.

The object makes shallow copies of its arguments. The user is responsible for avoiding unwanted aliasing. Also, if the passed pointers do not have (possibly shared) ownership of the references objects, the user must ensure that they are kept alive until this function is called again, or the object is destroyed.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations