Public Member Functions | |
Epetra_PlayaOperator (const LinearOperator< double > &A, const LinearSolver< double > &solver=LinearSolver< double >()) | |
int | SetUseTranspose (bool useTrans) |
int | Apply (const Epetra_MultiVector &in, Epetra_MultiVector &out) const |
int | ApplyInverse (const Epetra_MultiVector &in, Epetra_MultiVector &out) const |
double | NormInf () const |
const char * | Label () const |
bool | UseTranspose () const |
bool | HasNormInf () const |
const Epetra_Comm & | Comm () const |
const Epetra_Map & | OperatorDomainMap () const |
const Epetra_Map & | OperatorRangeMap () const |
Private Attributes | |
LinearOperator< double > | A_ |
LinearSolver< double > | solver_ |
bool | useTranspose_ |
RCP< Epetra_Comm > | comm_ |
RCP< const Epetra_Map > | domain_ |
RCP< const Epetra_Map > | range_ |
bool | isNativeEpetra_ |
bool | isCompoundEpetra_ |
std::string | label_ |
Definition at line 20 of file EpetraPlayaOperator.hpp.
Epetra::Epetra_PlayaOperator::Epetra_PlayaOperator | ( | const LinearOperator< double > & | A, | |
const LinearSolver< double > & | solver = LinearSolver<double>() | |||
) |
Definition at line 35 of file EpetraPlayaOperator.cpp.
References comm_, Playa::EpetraMatrix::crsMatrix(), Playa::LinearOperator< Scalar >::domain(), domain_, Playa::EpetraVectorSpace::epetraMap(), isCompoundEpetra_, isNativeEpetra_, Playa::Handle< PointerType >::ptr(), Playa::LinearOperator< Scalar >::range(), range_, and useTranspose_.
int Epetra::Epetra_PlayaOperator::Apply | ( | const Epetra_MultiVector & | in, | |
Epetra_MultiVector & | out | |||
) | const |
Definition at line 67 of file EpetraPlayaOperator.cpp.
References A_, Playa::LinearOperator< Scalar >::apply(), Playa::EpetraMatrix::crsMatrix(), Playa::LinearOperator< Scalar >::domain(), Playa::EpetraVector::getConcrete(), isCompoundEpetra_, isNativeEpetra_, Playa::Handle< PointerType >::ptr(), Playa::LinearOperator< Scalar >::range(), and useTranspose_.
int Epetra::Epetra_PlayaOperator::ApplyInverse | ( | const Epetra_MultiVector & | in, | |
Epetra_MultiVector & | out | |||
) | const |
Definition at line 103 of file EpetraPlayaOperator.cpp.
References A_, Playa::LinearOperator< Scalar >::domain(), Playa::SolverState< Scalar >::finalState(), Playa::EpetraVector::getConcrete(), isCompoundEpetra_, isNativeEpetra_, Playa::Handle< PointerType >::ptr(), Playa::LinearOperator< Scalar >::range(), Playa::LinearSolver< Scalar >::solve(), Playa::SolveCrashed, Playa::SolveFailedToConverge, and solver_.
const Epetra_Comm& Epetra::Epetra_PlayaOperator::Comm | ( | ) | const [inline] |
bool Epetra::Epetra_PlayaOperator::HasNormInf | ( | ) | const [inline] |
Definition at line 46 of file EpetraPlayaOperator.hpp.
const char * Epetra::Epetra_PlayaOperator::Label | ( | ) | const |
double Epetra::Epetra_PlayaOperator::NormInf | ( | ) | const |
Definition at line 142 of file EpetraPlayaOperator.cpp.
const Epetra_Map& Epetra::Epetra_PlayaOperator::OperatorDomainMap | ( | ) | const [inline] |
const Epetra_Map& Epetra::Epetra_PlayaOperator::OperatorRangeMap | ( | ) | const [inline] |
int Epetra::Epetra_PlayaOperator::SetUseTranspose | ( | bool | useTrans | ) | [inline] |
bool Epetra::Epetra_PlayaOperator::UseTranspose | ( | ) | const [inline] |
LinearOperator<double> Epetra::Epetra_PlayaOperator::A_ [private] |
RCP<Epetra_Comm> Epetra::Epetra_PlayaOperator::comm_ [private] |
Definition at line 63 of file EpetraPlayaOperator.hpp.
Referenced by Comm(), and Epetra_PlayaOperator().
RCP<const Epetra_Map> Epetra::Epetra_PlayaOperator::domain_ [private] |
Definition at line 64 of file EpetraPlayaOperator.hpp.
Referenced by Epetra_PlayaOperator(), and OperatorDomainMap().
bool Epetra::Epetra_PlayaOperator::isCompoundEpetra_ [private] |
Definition at line 67 of file EpetraPlayaOperator.hpp.
Referenced by Apply(), ApplyInverse(), and Epetra_PlayaOperator().
bool Epetra::Epetra_PlayaOperator::isNativeEpetra_ [private] |
Definition at line 66 of file EpetraPlayaOperator.hpp.
Referenced by Apply(), ApplyInverse(), and Epetra_PlayaOperator().
std::string Epetra::Epetra_PlayaOperator::label_ [private] |
RCP<const Epetra_Map> Epetra::Epetra_PlayaOperator::range_ [private] |
Definition at line 65 of file EpetraPlayaOperator.hpp.
Referenced by Epetra_PlayaOperator(), and OperatorRangeMap().
LinearSolver<double> Epetra::Epetra_PlayaOperator::solver_ [private] |
bool Epetra::Epetra_PlayaOperator::useTranspose_ [private] |
Definition at line 62 of file EpetraPlayaOperator.hpp.
Referenced by Apply(), Epetra_PlayaOperator(), SetUseTranspose(), and UseTranspose().