NOX::Belos::JacobianOperator Class Reference

Implementation of Belos::Operator for the Jacobian matrix-vector product defined by a NOX::Abstract::Group. More...

#include <NOX_Belos_JacobianOperator.H>

Collaboration diagram for NOX::Belos::JacobianOperator:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 JacobianOperator (NOX::Abstract::Group &g)
 Constructor.
virtual ~JacobianOperator ()
 Destructor.
virtual ::Belos::ReturnType Apply (const ::Belos::MultiVec< double > &x,::Belos::MultiVec< double > &y,::Belos::ETrans trans=::Belos::NOTRANS) const
 Apply operator.
virtual ::Belos::ReturnType ApplyInverse (const ::Belos::MultiVec< double > &x,::Belos::MultiVec< double > &y,::Belos::ETrans trans=::Belos::NOTRANS) const
 ApplyInverse operator.

Protected Member Functions

::Belos::ReturnType noxReturnTypeToBelos (NOX::Abstract::Group::ReturnType noxStatus) const
 Converts NOX::Abstract::Group::ReturnType to the corresponding Belos type.

Protected Attributes

NOX::Abstract::Groupgrp
 Underlying group.


Detailed Description

Implementation of Belos::Operator for the Jacobian matrix-vector product defined by a NOX::Abstract::Group.

This class implements the Belos::Operator interface representing a Jacobian matrix using the NOX::Abstract::Group. It implements the operator Apply() method via applyJacobianMultiVector or applyJacobianTransposeMultiVector.

Definition at line 62 of file NOX_Belos_JacobianOperator.H.


Constructor & Destructor Documentation

NOX::Belos::JacobianOperator::JacobianOperator ( NOX::Abstract::Group g  ) 

Constructor.

Definition at line 46 of file NOX_Belos_JacobianOperator.C.

NOX::Belos::JacobianOperator::~JacobianOperator (  )  [virtual]

Destructor.

Definition at line 52 of file NOX_Belos_JacobianOperator.C.


Member Function Documentation

Belos::ReturnType NOX::Belos::JacobianOperator::Apply ( const ::Belos::MultiVec< double > &  x,
::Belos::MultiVec< double > &  y,
::Belos::ETrans  trans = ::Belos::NOTRANS 
) const

Apply operator.

Calls underlying group's applyJacobianMultiVector or applyJacobianTransposeMultiVector depending on trans

Definition at line 57 of file NOX_Belos_JacobianOperator.C.

References NOX::Abstract::Group::applyJacobianMultiVector(), NOX::Abstract::Group::applyJacobianTransposeMultiVector(), NOX::Belos::MultiVector::getNoxMultiVector(), grp, and noxReturnTypeToBelos().

Belos::ReturnType NOX::Belos::JacobianOperator::ApplyInverse ( const ::Belos::MultiVec< double > &  x,
::Belos::MultiVec< double > &  y,
::Belos::ETrans  trans = ::Belos::NOTRANS 
) const

ApplyInverse operator.

Returns Belos::Undefined

Definition at line 84 of file NOX_Belos_JacobianOperator.C.

Belos::ReturnType NOX::Belos::JacobianOperator::noxReturnTypeToBelos ( NOX::Abstract::Group::ReturnType  noxStatus  )  const [protected]


Member Data Documentation

Underlying group.

Definition at line 103 of file NOX_Belos_JacobianOperator.H.

Referenced by Apply().


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

Generated on Thu Dec 17 11:03:04 2009 for Nonlinear Solver Project by  doxygen 1.5.9