LOCA::Epetra::ShiftInvertOperator Class Reference

Epetra operator for $(J-\sigma M)^{-1}$. More...

#include <LOCA_Epetra_ShiftInvertOperator.H>

List of all members.

Public Member Functions

 ShiftInvertOperator (const Teuchos::RCP< LOCA::GlobalData > &global_data, const Teuchos::RCP< LOCA::Epetra::Group > &grp, const Teuchos::RCP< const Epetra_Operator > &jac, double shift)
 Constructor.
virtual ~ShiftInvertOperator ()
 Destructor.
virtual int SetUseTranspose (bool UseTranspose)
 Set transpose.
virtual int Apply (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
 Apply shifted operator.
virtual int ApplyInverse (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
 Apply shifted operator inverse.
virtual double NormInf () const
 Computing infinity norm.
virtual const char * Label () const
 Label.
virtual bool UseTranspose () const
 Transpose.
virtual bool HasNormInf () const
 Have norm-inf.
virtual const Epetra_Comm & Comm () const
 Returns a pointer to the Epetra_Comm communicator associated with this operator.
virtual const Epetra_Map & OperatorDomainMap () const
 Returns the Epetra_Map object associated with the domain of this operator.
virtual const Epetra_Map & OperatorRangeMap () const
 Returns the Epetra_Map object associated with the range of this operator.

Protected Attributes

Teuchos::RCP< LOCA::GlobalDataglobalData
 Global data object.
Teuchos::RCP< const
LOCA::Epetra::Group
locagrp
 LOCA group.
Teuchos::RCP< const
Epetra_Operator > 
jacOper
 Jacobian operator.
double shift_
 Shift value.
const char * Label_
 Label.

Private Member Functions

 ShiftInvertOperator (const ShiftInvertOperator &)
 Private to prohibit copying.
ShiftInvertOperatoroperator= (const ShiftInvertOperator &)
 Private to prohibit copying.


Detailed Description

Epetra operator for $(J-\sigma M)^{-1}$.

Definition at line 77 of file LOCA_Epetra_ShiftInvertOperator.H.


Constructor & Destructor Documentation

LOCA::Epetra::ShiftInvertOperator::ShiftInvertOperator ( const Teuchos::RCP< LOCA::GlobalData > &  global_data,
const Teuchos::RCP< LOCA::Epetra::Group > &  grp,
const Teuchos::RCP< const Epetra_Operator > &  jac,
double  shift 
)

Constructor.

Definition at line 47 of file LOCA_Epetra_ShiftInvertOperator.C.

References Label_, and shift_.

LOCA::Epetra::ShiftInvertOperator::~ShiftInvertOperator (  )  [virtual]

Destructor.

Definition at line 64 of file LOCA_Epetra_ShiftInvertOperator.C.

LOCA::Epetra::ShiftInvertOperator::ShiftInvertOperator ( const ShiftInvertOperator  )  [private]

Private to prohibit copying.


Member Function Documentation

int LOCA::Epetra::ShiftInvertOperator::SetUseTranspose ( bool  UseTranspose  )  [virtual]

Set transpose.

Definition at line 69 of file LOCA_Epetra_ShiftInvertOperator.C.

References globalData.

int LOCA::Epetra::ShiftInvertOperator::Apply ( const Epetra_MultiVector &  X,
Epetra_MultiVector &  Y 
) const [virtual]

Apply shifted operator.

Definition at line 82 of file LOCA_Epetra_ShiftInvertOperator.C.

References NOX::Epetra::MultiVector::CreateView, NOX::DeepCopy, locagrp, and NOX::Abstract::Group::Ok.

int LOCA::Epetra::ShiftInvertOperator::ApplyInverse ( const Epetra_MultiVector &  X,
Epetra_MultiVector &  Y 
) const [virtual]

Apply shifted operator inverse.

Definition at line 105 of file LOCA_Epetra_ShiftInvertOperator.C.

References globalData.

double LOCA::Epetra::ShiftInvertOperator::NormInf (  )  const [virtual]

Computing infinity norm.

Definition at line 115 of file LOCA_Epetra_ShiftInvertOperator.C.

References globalData.

const char * LOCA::Epetra::ShiftInvertOperator::Label (  )  const [virtual]

Label.

Definition at line 124 of file LOCA_Epetra_ShiftInvertOperator.C.

References Label_.

bool LOCA::Epetra::ShiftInvertOperator::UseTranspose (  )  const [virtual]

Transpose.

Definition at line 130 of file LOCA_Epetra_ShiftInvertOperator.C.

bool LOCA::Epetra::ShiftInvertOperator::HasNormInf (  )  const [virtual]

Have norm-inf.

Definition at line 136 of file LOCA_Epetra_ShiftInvertOperator.C.

const Epetra_Comm & LOCA::Epetra::ShiftInvertOperator::Comm (  )  const [virtual]

Returns a pointer to the Epetra_Comm communicator associated with this operator.

Definition at line 142 of file LOCA_Epetra_ShiftInvertOperator.C.

References jacOper.

const Epetra_Map & LOCA::Epetra::ShiftInvertOperator::OperatorDomainMap (  )  const [virtual]

Returns the Epetra_Map object associated with the domain of this operator.

Definition at line 148 of file LOCA_Epetra_ShiftInvertOperator.C.

References jacOper.

const Epetra_Map & LOCA::Epetra::ShiftInvertOperator::OperatorRangeMap (  )  const [virtual]

Returns the Epetra_Map object associated with the range of this operator.

Definition at line 154 of file LOCA_Epetra_ShiftInvertOperator.C.

References jacOper.

ShiftInvertOperator& LOCA::Epetra::ShiftInvertOperator::operator= ( const ShiftInvertOperator  )  [private]

Private to prohibit copying.


Member Data Documentation

Global data object.

Definition at line 143 of file LOCA_Epetra_ShiftInvertOperator.H.

Referenced by ApplyInverse(), NormInf(), and SetUseTranspose().

LOCA group.

Definition at line 146 of file LOCA_Epetra_ShiftInvertOperator.H.

Referenced by Apply().

Teuchos::RCP<const Epetra_Operator> LOCA::Epetra::ShiftInvertOperator::jacOper [protected]

Jacobian operator.

Definition at line 149 of file LOCA_Epetra_ShiftInvertOperator.H.

Referenced by Comm(), OperatorDomainMap(), and OperatorRangeMap().

Shift value.

Definition at line 152 of file LOCA_Epetra_ShiftInvertOperator.H.

Referenced by ShiftInvertOperator().

Label.

Definition at line 155 of file LOCA_Epetra_ShiftInvertOperator.H.

Referenced by Label(), and ShiftInvertOperator().


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

Generated on Wed Oct 21 14:28:31 2009 for Nonlinear Solver Project by  doxygen 1.5.9