Ifpack_SingletonFilter Class Reference

Ifpack_SingletonFilter: Filter based on matrix entries. More...

#include <Ifpack_SingletonFilter.h>

Inheritance diagram for Ifpack_SingletonFilter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Ifpack_SingletonFilter (const Teuchos::RefCountPtr< Epetra_RowMatrix > &Matrix)
 Constructor.
virtual ~Ifpack_SingletonFilter ()
 Destructor.
virtual int NumMyRowEntries (int MyRow, int &NumEntries) const
 Returns the number of entries in MyRow.
virtual int MaxNumEntries () const
 Returns the maximum number of entries.
virtual int ExtractMyRowCopy (int MyRow, int Length, int &NumEntries, double *Values, int *Indices) const
virtual int ExtractDiagonalCopy (Epetra_Vector &Diagonal) const
virtual int Multiply (bool TransA, const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
virtual int Solve (bool Upper, bool Trans, bool UnitDiagonal, const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
virtual int Apply (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
virtual int ApplyInverse (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
virtual int InvRowSums (Epetra_Vector &x) const
virtual int LeftScale (const Epetra_Vector &x)
virtual int InvColSums (Epetra_Vector &x) const
virtual int RightScale (const Epetra_Vector &x)
virtual bool Filled () const
virtual double NormInf () const
virtual double NormOne () const
virtual int NumGlobalNonzeros () const
virtual int NumGlobalRows () const
virtual int NumGlobalCols () const
virtual int NumGlobalDiagonals () const
virtual int NumMyNonzeros () const
virtual int NumMyRows () const
virtual int NumMyCols () const
virtual int NumMyDiagonals () const
virtual bool LowerTriangular () const
virtual bool UpperTriangular () const
virtual const Epetra_MapRowMatrixRowMap () const
virtual const Epetra_MapRowMatrixColMap () const
virtual const Epetra_ImportRowMatrixImporter () const
int SetUseTranspose (bool UseTranspose_in)
bool UseTranspose () const
bool HasNormInf () const
const Epetra_CommComm () const
const Epetra_MapOperatorDomainMap () const
const Epetra_MapOperatorRangeMap () const
const Epetra_BlockMapMap () const
const char * Label () const
int SolveSingletons (const Epetra_MultiVector &RHS, Epetra_MultiVector &LHS)
int CreateReducedRHS (const Epetra_MultiVector &LHS, const Epetra_MultiVector &RHS, Epetra_MultiVector &ReducedRHS)
int UpdateLHS (const Epetra_MultiVector &ReducedLHS, Epetra_MultiVector &LHS)

Private Attributes

Teuchos::RefCountPtr
< Epetra_RowMatrix
A_
 Pointer to the matrix to be preconditioned.
std::vector< int > Indices_
 Used in ExtractMyRowCopy, to avoid allocation each time.
std::vector< double > Values_
 Used in ExtractMyRowCopy, to avoid allocation each time.
char Label_ [80]
 Label for this object.
int NumSingletons_
std::vector< int > SingletonIndex_
std::vector< int > Reorder_
std::vector< int > InvReorder_
std::vector< int > NumEntries_
int NumRows_
int NumRowsA_
int MaxNumEntries_
int MaxNumEntriesA_
int NumNonzeros_
Teuchos::RefCountPtr< Epetra_MapMap_
Teuchos::RefCountPtr
< Epetra_Vector
Diagonal_

Detailed Description

Ifpack_SingletonFilter: Filter based on matrix entries.

Definition at line 45 of file Ifpack_SingletonFilter.h.


Constructor & Destructor Documentation

Ifpack_SingletonFilter::Ifpack_SingletonFilter ( const Teuchos::RefCountPtr< Epetra_RowMatrix > &  Matrix  ) 

Constructor.

Definition at line 41 of file Ifpack_SingletonFilter.cpp.

virtual Ifpack_SingletonFilter::~Ifpack_SingletonFilter (  )  [inline, virtual]

Destructor.

Definition at line 52 of file Ifpack_SingletonFilter.h.


Member Function Documentation

virtual int Ifpack_SingletonFilter::NumMyRowEntries ( int  MyRow,
int &  NumEntries 
) const [inline, virtual]

Returns the number of entries in MyRow.

Implements Epetra_RowMatrix.

Definition at line 55 of file Ifpack_SingletonFilter.h.

virtual int Ifpack_SingletonFilter::MaxNumEntries (  )  const [inline, virtual]

Returns the maximum number of entries.

Implements Epetra_RowMatrix.

Definition at line 61 of file Ifpack_SingletonFilter.h.

int Ifpack_SingletonFilter::ExtractMyRowCopy ( int  MyRow,
int  Length,
int &  NumEntries,
double *  Values,
int *  Indices 
) const [virtual]

Implements Epetra_RowMatrix.

Definition at line 133 of file Ifpack_SingletonFilter.cpp.

int Ifpack_SingletonFilter::ExtractDiagonalCopy ( Epetra_Vector Diagonal  )  const [virtual]

Implements Epetra_RowMatrix.

Definition at line 158 of file Ifpack_SingletonFilter.cpp.

int Ifpack_SingletonFilter::Multiply ( bool  TransA,
const Epetra_MultiVector X,
Epetra_MultiVector Y 
) const [virtual]

Implements Epetra_RowMatrix.

Definition at line 166 of file Ifpack_SingletonFilter.cpp.

int Ifpack_SingletonFilter::Solve ( bool  Upper,
bool  Trans,
bool  UnitDiagonal,
const Epetra_MultiVector X,
Epetra_MultiVector Y 
) const [virtual]

Implements Epetra_RowMatrix.

Definition at line 213 of file Ifpack_SingletonFilter.cpp.

int Ifpack_SingletonFilter::Apply ( const Epetra_MultiVector X,
Epetra_MultiVector Y 
) const [virtual]

Implements Epetra_Operator.

Definition at line 221 of file Ifpack_SingletonFilter.cpp.

int Ifpack_SingletonFilter::ApplyInverse ( const Epetra_MultiVector X,
Epetra_MultiVector Y 
) const [virtual]

Implements Epetra_Operator.

Definition at line 229 of file Ifpack_SingletonFilter.cpp.

virtual int Ifpack_SingletonFilter::InvRowSums ( Epetra_Vector x  )  const [inline, virtual]

Implements Epetra_RowMatrix.

Definition at line 83 of file Ifpack_SingletonFilter.h.

virtual int Ifpack_SingletonFilter::LeftScale ( const Epetra_Vector x  )  [inline, virtual]

Implements Epetra_RowMatrix.

Definition at line 88 of file Ifpack_SingletonFilter.h.

virtual int Ifpack_SingletonFilter::InvColSums ( Epetra_Vector x  )  const [inline, virtual]

Implements Epetra_RowMatrix.

Definition at line 93 of file Ifpack_SingletonFilter.h.

virtual int Ifpack_SingletonFilter::RightScale ( const Epetra_Vector x  )  [inline, virtual]

Implements Epetra_RowMatrix.

Definition at line 98 of file Ifpack_SingletonFilter.h.

virtual bool Ifpack_SingletonFilter::Filled (  )  const [inline, virtual]

Implements Epetra_RowMatrix.

Definition at line 103 of file Ifpack_SingletonFilter.h.

virtual double Ifpack_SingletonFilter::NormInf (  )  const [inline, virtual]

Implements Epetra_RowMatrix.

Definition at line 108 of file Ifpack_SingletonFilter.h.

virtual double Ifpack_SingletonFilter::NormOne (  )  const [inline, virtual]

Implements Epetra_RowMatrix.

Definition at line 113 of file Ifpack_SingletonFilter.h.

virtual int Ifpack_SingletonFilter::NumGlobalNonzeros (  )  const [inline, virtual]

Implements Epetra_RowMatrix.

Definition at line 118 of file Ifpack_SingletonFilter.h.

virtual int Ifpack_SingletonFilter::NumGlobalRows (  )  const [inline, virtual]

Implements Epetra_RowMatrix.

Definition at line 123 of file Ifpack_SingletonFilter.h.

virtual int Ifpack_SingletonFilter::NumGlobalCols (  )  const [inline, virtual]

Implements Epetra_RowMatrix.

Definition at line 128 of file Ifpack_SingletonFilter.h.

virtual int Ifpack_SingletonFilter::NumGlobalDiagonals (  )  const [inline, virtual]

Implements Epetra_RowMatrix.

Definition at line 133 of file Ifpack_SingletonFilter.h.

virtual int Ifpack_SingletonFilter::NumMyNonzeros (  )  const [inline, virtual]

Implements Epetra_RowMatrix.

Definition at line 138 of file Ifpack_SingletonFilter.h.

virtual int Ifpack_SingletonFilter::NumMyRows (  )  const [inline, virtual]

Implements Epetra_RowMatrix.

Definition at line 143 of file Ifpack_SingletonFilter.h.

virtual int Ifpack_SingletonFilter::NumMyCols (  )  const [inline, virtual]

Implements Epetra_RowMatrix.

Definition at line 148 of file Ifpack_SingletonFilter.h.

virtual int Ifpack_SingletonFilter::NumMyDiagonals (  )  const [inline, virtual]

Implements Epetra_RowMatrix.

Definition at line 153 of file Ifpack_SingletonFilter.h.

virtual bool Ifpack_SingletonFilter::LowerTriangular (  )  const [inline, virtual]

Implements Epetra_RowMatrix.

Definition at line 158 of file Ifpack_SingletonFilter.h.

virtual bool Ifpack_SingletonFilter::UpperTriangular (  )  const [inline, virtual]

Implements Epetra_RowMatrix.

Definition at line 163 of file Ifpack_SingletonFilter.h.

virtual const Epetra_Map& Ifpack_SingletonFilter::RowMatrixRowMap (  )  const [inline, virtual]

Implements Epetra_RowMatrix.

Definition at line 168 of file Ifpack_SingletonFilter.h.

virtual const Epetra_Map& Ifpack_SingletonFilter::RowMatrixColMap (  )  const [inline, virtual]

Implements Epetra_RowMatrix.

Definition at line 173 of file Ifpack_SingletonFilter.h.

virtual const Epetra_Import* Ifpack_SingletonFilter::RowMatrixImporter (  )  const [inline, virtual]

Implements Epetra_RowMatrix.

Definition at line 178 of file Ifpack_SingletonFilter.h.

int Ifpack_SingletonFilter::SetUseTranspose ( bool  UseTranspose_in  )  [inline, virtual]

Implements Epetra_Operator.

Definition at line 183 of file Ifpack_SingletonFilter.h.

bool Ifpack_SingletonFilter::UseTranspose (  )  const [inline, virtual]

Implements Epetra_Operator.

Definition at line 188 of file Ifpack_SingletonFilter.h.

bool Ifpack_SingletonFilter::HasNormInf (  )  const [inline, virtual]

Implements Epetra_Operator.

Definition at line 193 of file Ifpack_SingletonFilter.h.

const Epetra_Comm& Ifpack_SingletonFilter::Comm (  )  const [inline, virtual]

Implements Epetra_Operator.

Definition at line 198 of file Ifpack_SingletonFilter.h.

const Epetra_Map& Ifpack_SingletonFilter::OperatorDomainMap (  )  const [inline, virtual]

Implements Epetra_Operator.

Definition at line 203 of file Ifpack_SingletonFilter.h.

const Epetra_Map& Ifpack_SingletonFilter::OperatorRangeMap (  )  const [inline, virtual]

Implements Epetra_Operator.

Definition at line 208 of file Ifpack_SingletonFilter.h.

const Epetra_BlockMap& Ifpack_SingletonFilter::Map (  )  const [inline, virtual]

Implements Epetra_SrcDistObject.

Definition at line 213 of file Ifpack_SingletonFilter.h.

const char* Ifpack_SingletonFilter::Label (  )  const [inline, virtual]

Implements Epetra_Operator.

Definition at line 218 of file Ifpack_SingletonFilter.h.

int Ifpack_SingletonFilter::SolveSingletons ( const Epetra_MultiVector RHS,
Epetra_MultiVector LHS 
)

Definition at line 236 of file Ifpack_SingletonFilter.cpp.

int Ifpack_SingletonFilter::CreateReducedRHS ( const Epetra_MultiVector LHS,
const Epetra_MultiVector RHS,
Epetra_MultiVector ReducedRHS 
)

Definition at line 258 of file Ifpack_SingletonFilter.cpp.

int Ifpack_SingletonFilter::UpdateLHS ( const Epetra_MultiVector ReducedLHS,
Epetra_MultiVector LHS 
)

Definition at line 286 of file Ifpack_SingletonFilter.cpp.


Member Data Documentation

Pointer to the matrix to be preconditioned.

Definition at line 235 of file Ifpack_SingletonFilter.h.

std::vector<int> Ifpack_SingletonFilter::Indices_ [mutable, private]

Used in ExtractMyRowCopy, to avoid allocation each time.

Definition at line 238 of file Ifpack_SingletonFilter.h.

std::vector<double> Ifpack_SingletonFilter::Values_ [mutable, private]

Used in ExtractMyRowCopy, to avoid allocation each time.

Definition at line 240 of file Ifpack_SingletonFilter.h.

char Ifpack_SingletonFilter::Label_[80] [private]

Label for this object.

Definition at line 242 of file Ifpack_SingletonFilter.h.

Definition at line 244 of file Ifpack_SingletonFilter.h.

std::vector<int> Ifpack_SingletonFilter::SingletonIndex_ [private]

Definition at line 245 of file Ifpack_SingletonFilter.h.

std::vector<int> Ifpack_SingletonFilter::Reorder_ [private]

Definition at line 247 of file Ifpack_SingletonFilter.h.

std::vector<int> Ifpack_SingletonFilter::InvReorder_ [private]

Definition at line 248 of file Ifpack_SingletonFilter.h.

std::vector<int> Ifpack_SingletonFilter::NumEntries_ [private]

Definition at line 250 of file Ifpack_SingletonFilter.h.

Definition at line 252 of file Ifpack_SingletonFilter.h.

Definition at line 253 of file Ifpack_SingletonFilter.h.

Definition at line 254 of file Ifpack_SingletonFilter.h.

Definition at line 255 of file Ifpack_SingletonFilter.h.

Definition at line 256 of file Ifpack_SingletonFilter.h.

Definition at line 257 of file Ifpack_SingletonFilter.h.

Definition at line 259 of file Ifpack_SingletonFilter.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:05:41 2011 for Ifpack Package Browser (Single Doxygen Collection) by  doxygen 1.6.3