NOX  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
LOCA::Epetra::xyztPrec Class Reference

Preconditioner operator class for solving space-time (XYZT) systems. More...

#include <LOCA_Epetra_xyztPrec.H>

Inheritance diagram for LOCA::Epetra::xyztPrec:
Inheritance graph
[legend]
Collaboration diagram for LOCA::Epetra::xyztPrec:
Collaboration graph
[legend]

Public Member Functions

 xyztPrec (EpetraExt::BlockCrsMatrix &jacobian, Epetra_CrsMatrix &splitJac, EpetraExt::BlockVector &solution, EpetraExt::BlockVector &solutionOverlap, Epetra_Import &overlapImporter, Teuchos::ParameterList &precPrintParams, Teuchos::ParameterList &precLSParams, const Teuchos::RCP< EpetraExt::MultiComm > globalComm_)
 Constructor. More...
 
virtual ~xyztPrec ()
 Destructor.
 
virtual int SetUseTranspose (bool UseTranspose)
 Set transpose.
 
virtual int Apply (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
 Apply XYZT preconditioner operator.
 
virtual int ApplyInverse (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
 Apply XYZT preconditioner 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_CommComm () const
 Returns a pointer to the Epetra_Comm communicator associated with this operator.
 
virtual const Epetra_MapOperatorDomainMap () const
 Returns the Epetra_Map object associated with the domain of this operator.
 
virtual const Epetra_MapOperatorRangeMap () const
 Returns the Epetra_Map object associated with the range of this operator.
 
virtual bool computeF (const Epetra_Vector &, Epetra_Vector &, const NOX::Epetra::Interface::Required::FillType)
 Compute residual $F$.
 
virtual bool computeJacobian (const Epetra_Vector &, Epetra_Operator &)
 Compute Jacobian $J$.
 
virtual bool computePreconditioner (const Epetra_Vector &x, Epetra_Operator &Prec, Teuchos::ParameterList *p=0)
 Compute preconditioner $M$.
 
virtual void throwError (const std::string &functionName, const std::string &errorMsg) const
 Exception handler for the XYZT preconditioner class.
 
- Public Member Functions inherited from NOX::Epetra::Interface::Required
 Required ()
 Constructor.
 
virtual ~Required ()
 Destructor.
 
- Public Member Functions inherited from NOX::Epetra::Interface::Jacobian
 Jacobian ()
 Constructor.
 
virtual ~Jacobian ()
 Destructor.
 
- Public Member Functions inherited from NOX::Epetra::Interface::Preconditioner
 Preconditioner ()
 Constructor.
 
virtual ~Preconditioner ()
 Destructor.
 

Additional Inherited Members

- Public Types inherited from NOX::Epetra::Interface::Required
enum  FillType {
  Residual, Jac, Prec, FD_Res,
  MF_Res, MF_Jac, User
}
 Type of fill that a computeF() method is used for. More...
 

Detailed Description

Preconditioner operator class for solving space-time (XYZT) systems.

Implements right preconditioning operators for use in global XYZT Jacobian matrix solves.

Constructor & Destructor Documentation

LOCA::Epetra::xyztPrec::xyztPrec ( EpetraExt::BlockCrsMatrix &  jacobian,
Epetra_CrsMatrix splitJac,
EpetraExt::BlockVector &  solution,
EpetraExt::BlockVector &  solutionOverlap,
Epetra_Import overlapImporter,
Teuchos::ParameterList precPrintParams,
Teuchos::ParameterList precLSParams,
const Teuchos::RCP< EpetraExt::MultiComm >  globalComm_ 
)

Constructor.

Builds a preconditioner operator for a full XYZT Jacobian

matrix jacobian. Right preconditioner applies are controlled using the parameters in precLSParams.

References NOX::Epetra::Vector::CreateView, Teuchos::ParameterList::get(), Teuchos::rcp(), Epetra_CrsMatrix::RowMap(), and throwError().


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