Xyce  6.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
N_NLS_MatrixFreeEpetraOperator Class Reference

#include <N_NLS_MatrixFreeEpetraOperator.h>

Inheritance diagram for N_NLS_MatrixFreeEpetraOperator:
Collaboration diagram for N_NLS_MatrixFreeEpetraOperator:

Public Member Functions

 N_NLS_MatrixFreeEpetraOperator ()
 
virtual ~N_NLS_MatrixFreeEpetraOperator ()
 
void initialize (RefCountPtr< N_NLS_NonLinearSolver > nonlinearSolver, RefCountPtr< N_LAS_Vector > solVector, RefCountPtr< N_LAS_Vector > rhsVector, RefCountPtr< const Epetra_Map > solutionMap)
 
int SetUseTranspose (bool UseTranspose)
 If set true, transpose of this operator will be applied. More...
 
int Apply (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
 Returns the result of a Epetra_Operator applied to a Epetra_MultiVector X in Y. More...
 
int Apply (const N_LAS_MultiVector &X, N_LAS_MultiVector &Y) const
 
int ApplyInverse (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
 Returns the result of a Epetra_Operator inverse applied to an Epetra_MultiVector X in Y. More...
 
int ApplyInverse (const N_LAS_MultiVector &X, N_LAS_MultiVector &Y) const
 
double NormInf () const
 Returns the infinity norm of the global matrix. More...
 
const char * Label () const
 Returns a character string describing the operator. More...
 
bool UseTranspose () const
 Returns the current UseTranspose setting. More...
 
bool HasNormInf () const
 Returns true if the this object can provide an approximate Inf-norm, false otherwise. More...
 
const Epetra_Comm & Comm () const
 Returns a pointer to the Epetra_Comm communicator associated with this operator. More...
 
const Epetra_Map & OperatorDomainMap () const
 Returns the Epetra_Map object associated with the domain of this operator. More...
 
const Epetra_Map & OperatorRangeMap () const
 Returns the Epetra_Map object associated with the range of this operator. More...
 

Private Attributes

bool isInitialized_
 
Teuchos::RefCountPtr
< N_LAS_Vector > 
solVectorRCPtr_
 
Teuchos::RefCountPtr
< N_LAS_Vector > 
rhsVectorRCPtr_
 
Teuchos::RefCountPtr
< N_NLS_NonLinearSolver
nonlinearSolverRCPtr_
 
Teuchos::RefCountPtr< const
Epetra_Map > 
solutionMap_
 

Detailed Description

Definition at line 80 of file N_NLS_MatrixFreeEpetraOperator.h.

Constructor & Destructor Documentation

N_NLS_MatrixFreeEpetraOperator::N_NLS_MatrixFreeEpetraOperator ( )

Definition at line 91 of file N_NLS_MatrixFreeEpetraOperator.C.

N_NLS_MatrixFreeEpetraOperator::~N_NLS_MatrixFreeEpetraOperator ( )
virtual

Definition at line 104 of file N_NLS_MatrixFreeEpetraOperator.C.

Member Function Documentation

int N_NLS_MatrixFreeEpetraOperator::Apply ( const Epetra_MultiVector &  X,
Epetra_MultiVector &  Y 
) const

Returns the result of a Epetra_Operator applied to a Epetra_MultiVector X in Y.

Definition at line 152 of file N_NLS_MatrixFreeEpetraOperator.C.

int N_NLS_MatrixFreeEpetraOperator::Apply ( const N_LAS_MultiVector &  X,
N_LAS_MultiVector &  Y 
) const

Definition at line 184 of file N_NLS_MatrixFreeEpetraOperator.C.

int N_NLS_MatrixFreeEpetraOperator::ApplyInverse ( const Epetra_MultiVector &  X,
Epetra_MultiVector &  Y 
) const

Returns the result of a Epetra_Operator inverse applied to an Epetra_MultiVector X in Y.

Definition at line 219 of file N_NLS_MatrixFreeEpetraOperator.C.

int N_NLS_MatrixFreeEpetraOperator::ApplyInverse ( const N_LAS_MultiVector &  X,
N_LAS_MultiVector &  Y 
) const

Definition at line 237 of file N_NLS_MatrixFreeEpetraOperator.C.

const Epetra_Comm & N_NLS_MatrixFreeEpetraOperator::Comm ( ) const

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

Definition at line 311 of file N_NLS_MatrixFreeEpetraOperator.C.

bool N_NLS_MatrixFreeEpetraOperator::HasNormInf ( ) const

Returns true if the this object can provide an approximate Inf-norm, false otherwise.

Definition at line 297 of file N_NLS_MatrixFreeEpetraOperator.C.

void N_NLS_MatrixFreeEpetraOperator::initialize ( RefCountPtr< N_NLS_NonLinearSolver nonlinearSolver,
RefCountPtr< N_LAS_Vector >  solVector,
RefCountPtr< N_LAS_Vector >  rhsVector,
RefCountPtr< const Epetra_Map >  solutionMap 
)

Definition at line 116 of file N_NLS_MatrixFreeEpetraOperator.C.

const char * N_NLS_MatrixFreeEpetraOperator::Label ( ) const

Returns a character string describing the operator.

Definition at line 270 of file N_NLS_MatrixFreeEpetraOperator.C.

double N_NLS_MatrixFreeEpetraOperator::NormInf ( ) const

Returns the infinity norm of the global matrix.

Definition at line 255 of file N_NLS_MatrixFreeEpetraOperator.C.

const Epetra_Map & N_NLS_MatrixFreeEpetraOperator::OperatorDomainMap ( ) const

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

Definition at line 329 of file N_NLS_MatrixFreeEpetraOperator.C.

const Epetra_Map & N_NLS_MatrixFreeEpetraOperator::OperatorRangeMap ( ) const

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

Definition at line 347 of file N_NLS_MatrixFreeEpetraOperator.C.

int N_NLS_MatrixFreeEpetraOperator::SetUseTranspose ( bool  UseTranspose)

If set true, transpose of this operator will be applied.

This flag allows the transpose of the given operator to be used implicitly. Setting this flag affects only the Apply() and ApplyInverse() methods. If the implementation of this interface does not support transpose use, this method should return a value of -1.

Parameters
[in]UseTranspose-If true, multiply by the transpose of operator, otherwise just use operator.
Returns
Integer error code, set to 0 if successful. Set to -1 if this implementation does not support transpose.

Definition at line 138 of file N_NLS_MatrixFreeEpetraOperator.C.

bool N_NLS_MatrixFreeEpetraOperator::UseTranspose ( ) const

Returns the current UseTranspose setting.

Definition at line 283 of file N_NLS_MatrixFreeEpetraOperator.C.

Member Data Documentation

bool N_NLS_MatrixFreeEpetraOperator::isInitialized_
private

Definition at line 162 of file N_NLS_MatrixFreeEpetraOperator.h.

Teuchos::RefCountPtr<N_NLS_NonLinearSolver> N_NLS_MatrixFreeEpetraOperator::nonlinearSolverRCPtr_
private

Definition at line 165 of file N_NLS_MatrixFreeEpetraOperator.h.

Teuchos::RefCountPtr<N_LAS_Vector> N_NLS_MatrixFreeEpetraOperator::rhsVectorRCPtr_
private

Definition at line 164 of file N_NLS_MatrixFreeEpetraOperator.h.

Teuchos::RefCountPtr<const Epetra_Map> N_NLS_MatrixFreeEpetraOperator::solutionMap_
private

Definition at line 166 of file N_NLS_MatrixFreeEpetraOperator.h.

Teuchos::RefCountPtr<N_LAS_Vector> N_NLS_MatrixFreeEpetraOperator::solVectorRCPtr_
private

Definition at line 163 of file N_NLS_MatrixFreeEpetraOperator.h.


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