Xyce
6.1
|
#include <N_NLS_MatrixFreeEpetraOperator.h>
Public Member Functions | |
MatrixFreeEpetraOperator () | |
virtual | ~MatrixFreeEpetraOperator () |
void | initialize (RefCountPtr< 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 < NonLinearSolver > | nonlinearSolverRCPtr_ |
Teuchos::RefCountPtr< const Epetra_Map > | solutionMap_ |
Definition at line 82 of file N_NLS_MatrixFreeEpetraOperator.h.
Xyce::Nonlinear::MatrixFreeEpetraOperator::MatrixFreeEpetraOperator | ( | ) |
Definition at line 94 of file N_NLS_MatrixFreeEpetraOperator.C.
|
virtual |
Definition at line 107 of file N_NLS_MatrixFreeEpetraOperator.C.
int Xyce::Nonlinear::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 155 of file N_NLS_MatrixFreeEpetraOperator.C.
int Xyce::Nonlinear::MatrixFreeEpetraOperator::Apply | ( | const N_LAS_MultiVector & | X, |
N_LAS_MultiVector & | Y | ||
) | const |
Definition at line 187 of file N_NLS_MatrixFreeEpetraOperator.C.
int Xyce::Nonlinear::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 222 of file N_NLS_MatrixFreeEpetraOperator.C.
int Xyce::Nonlinear::MatrixFreeEpetraOperator::ApplyInverse | ( | const N_LAS_MultiVector & | X, |
N_LAS_MultiVector & | Y | ||
) | const |
Definition at line 240 of file N_NLS_MatrixFreeEpetraOperator.C.
const Epetra_Comm & Xyce::Nonlinear::MatrixFreeEpetraOperator::Comm | ( | ) | const |
Returns a pointer to the Epetra_Comm communicator associated with this operator.
Definition at line 314 of file N_NLS_MatrixFreeEpetraOperator.C.
bool Xyce::Nonlinear::MatrixFreeEpetraOperator::HasNormInf | ( | ) | const |
Returns true if the this object can provide an approximate Inf-norm, false otherwise.
Definition at line 300 of file N_NLS_MatrixFreeEpetraOperator.C.
void Xyce::Nonlinear::MatrixFreeEpetraOperator::initialize | ( | RefCountPtr< NonLinearSolver > | nonlinearSolver, |
RefCountPtr< N_LAS_Vector > | solVector, | ||
RefCountPtr< N_LAS_Vector > | rhsVector, | ||
RefCountPtr< const Epetra_Map > | solutionMap | ||
) |
Definition at line 119 of file N_NLS_MatrixFreeEpetraOperator.C.
const char * Xyce::Nonlinear::MatrixFreeEpetraOperator::Label | ( | ) | const |
Returns a character string describing the operator.
Definition at line 273 of file N_NLS_MatrixFreeEpetraOperator.C.
double Xyce::Nonlinear::MatrixFreeEpetraOperator::NormInf | ( | ) | const |
Returns the infinity norm of the global matrix.
Definition at line 258 of file N_NLS_MatrixFreeEpetraOperator.C.
const Epetra_Map & Xyce::Nonlinear::MatrixFreeEpetraOperator::OperatorDomainMap | ( | ) | const |
Returns the Epetra_Map object associated with the domain of this operator.
Definition at line 332 of file N_NLS_MatrixFreeEpetraOperator.C.
const Epetra_Map & Xyce::Nonlinear::MatrixFreeEpetraOperator::OperatorRangeMap | ( | ) | const |
Returns the Epetra_Map object associated with the range of this operator.
Definition at line 350 of file N_NLS_MatrixFreeEpetraOperator.C.
int Xyce::Nonlinear::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.
[in] | UseTranspose | -If true, multiply by the transpose of operator, otherwise just use operator. |
Definition at line 141 of file N_NLS_MatrixFreeEpetraOperator.C.
bool Xyce::Nonlinear::MatrixFreeEpetraOperator::UseTranspose | ( | ) | const |
Returns the current UseTranspose setting.
Definition at line 286 of file N_NLS_MatrixFreeEpetraOperator.C.
|
private |
Definition at line 164 of file N_NLS_MatrixFreeEpetraOperator.h.
|
private |
Definition at line 167 of file N_NLS_MatrixFreeEpetraOperator.h.
|
private |
Definition at line 166 of file N_NLS_MatrixFreeEpetraOperator.h.
|
private |
Definition at line 168 of file N_NLS_MatrixFreeEpetraOperator.h.
|
private |
Definition at line 165 of file N_NLS_MatrixFreeEpetraOperator.h.