#include <LOCA_Epetra_ShiftInvertOperator.H>
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::GlobalData > | globalData |
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. | |
ShiftInvertOperator & | operator= (const ShiftInvertOperator &) |
Private to prohibit copying. |
Definition at line 77 of file LOCA_Epetra_ShiftInvertOperator.H.
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 | |||
) |
LOCA::Epetra::ShiftInvertOperator::~ShiftInvertOperator | ( | ) | [virtual] |
LOCA::Epetra::ShiftInvertOperator::ShiftInvertOperator | ( | const ShiftInvertOperator & | ) | [private] |
Private to prohibit copying.
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] |
bool LOCA::Epetra::ShiftInvertOperator::UseTranspose | ( | ) | const [virtual] |
bool LOCA::Epetra::ShiftInvertOperator::HasNormInf | ( | ) | const [virtual] |
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.
Teuchos::RCP<LOCA::GlobalData> LOCA::Epetra::ShiftInvertOperator::globalData [protected] |
Global data object.
Definition at line 143 of file LOCA_Epetra_ShiftInvertOperator.H.
Referenced by ApplyInverse(), NormInf(), and SetUseTranspose().
Teuchos::RCP<const LOCA::Epetra::Group> LOCA::Epetra::ShiftInvertOperator::locagrp [protected] |
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().
double LOCA::Epetra::ShiftInvertOperator::shift_ [protected] |
Shift value.
Definition at line 152 of file LOCA_Epetra_ShiftInvertOperator.H.
Referenced by ShiftInvertOperator().
const char* LOCA::Epetra::ShiftInvertOperator::Label_ [protected] |
Label.
Definition at line 155 of file LOCA_Epetra_ShiftInvertOperator.H.
Referenced by Label(), and ShiftInvertOperator().