ML  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
List of all members
ML_Epetra::ML_RefMaxwell_11_Operator Class Reference

#include <ml_RefMaxwell_11_Operator.h>

Inheritance diagram for ML_Epetra::ML_RefMaxwell_11_Operator:
Inheritance graph
[legend]
Collaboration diagram for ML_Epetra::ML_RefMaxwell_11_Operator:
Collaboration graph
[legend]

Public Member Functions

Constructor
 ML_RefMaxwell_11_Operator (const Epetra_CrsMatrix &SM_Matrix, const Epetra_CrsMatrix &D0_Matrix, const Epetra_CrsMatrix &M0inv_Matrix, const Epetra_CrsMatrix &M1_Matrix)
 Constructor - All the matrices needed for Maxwell. OptimizeStorage must
 
Destructor
virtual ~ML_RefMaxwell_11_Operator ()
 Destructor.
 
Attribute set methods
virtual int SetUseTranspose (bool)
 Sets use transpose (not implemented).
 
Mathematical functions
virtual 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...
 
virtual int ApplyInverse (const Epetra_MultiVector &, Epetra_MultiVector &) const
 Returns the result of a Epetra_Operator inverse applied to an.
 
virtual int MatrixMatrix_Multiply (const Epetra_CrsMatrix &A, Epetra_CrsMatrix **C) const
 Computes C= <me> * A. OptimizeStorage must be called for both A and the.
 
virtual int MatrixMatrix_Multiply (const Epetra_CrsMatrix &A, ML_Comm *comm, ML_Operator **C) const
 Computes C= <me> * A. OptimizeStorage must be called for both A and the.
 
virtual int PtAP (const Epetra_CrsMatrix &A, ML_Comm *comm, ML_Operator **C) const
 Computes C= A^T * <me> * A. OptimizeStorage must be called for both A and the.
 
Attribute access functions
virtual double NormInf () const
 Returns the infinity norm (not implemented).
 
virtual bool UseTranspose () const
 Returns the current UseTranspose setting.
 
virtual bool HasNormInf () const
 Returns true if the this object can provide an approximate Inf-norm, false otherwise.
 
virtual const char * Label () const
 Prints label associated to this object.
 
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 const Epetra_CrsMatrixSM_Matrix ()
 EXPERIMENTAL: Return SM Matrix.
 

Detailed Description

ML_RefMaxwell_11_Operator encapsulates the reformulated (1,1) block operator of the system described in Bochev, Hu, Siefert and Tuminaro, 2007. It inherits from Epetra_Operator_With_MatMat, and provides encapsulation for the operator: S + M + M1 D0 M0^{-1} DO^T M1

Member Function Documentation

virtual int ML_Epetra::ML_RefMaxwell_11_Operator::Apply ( const Epetra_MultiVector X,
Epetra_MultiVector Y 
) const
virtual

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

Parameters
InX - A Epetra_MultiVector of dimension NumVectors to multiply with matrix.
OutY -A Epetra_MultiVector of dimension NumVectors containing result.
Returns
Integer error code, set to 0 if successful.

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