Ifpack_SingletonFilter Class Reference

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

#include <Ifpack_SingletonFilter.h>

Inheritance diagram for Ifpack_SingletonFilter:

[legend]
List of all members.

Public Member Functions

 Ifpack_SingletonFilter (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)
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

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

Detailed Description

Ifpack_SingletonFilter: Filter based on matrix entries.

Definition at line 14 of file Ifpack_SingletonFilter.h.


Constructor & Destructor Documentation

Ifpack_SingletonFilter::Ifpack_SingletonFilter Epetra_RowMatrix Matrix  ) 
 

Constructor.

Definition at line 12 of file Ifpack_SingletonFilter.cpp.

Ifpack_SingletonFilter::~Ifpack_SingletonFilter  )  [virtual]
 

Destructor.

Definition at line 105 of file Ifpack_SingletonFilter.cpp.


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 24 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 30 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 116 of file Ifpack_SingletonFilter.cpp.

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

Implements Epetra_RowMatrix.

Definition at line 141 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 149 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 196 of file Ifpack_SingletonFilter.cpp.

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

Implements Epetra_Operator.

Definition at line 204 of file Ifpack_SingletonFilter.cpp.

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

Implements Epetra_Operator.

Definition at line 212 of file Ifpack_SingletonFilter.cpp.

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

Implements Epetra_RowMatrix.

Definition at line 52 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_RowMatrix.

Definition at line 57 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_RowMatrix.

Definition at line 62 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_RowMatrix.

Definition at line 67 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_RowMatrix.

Definition at line 72 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_RowMatrix.

Definition at line 77 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_RowMatrix.

Definition at line 82 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_RowMatrix.

Definition at line 87 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_RowMatrix.

Definition at line 92 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_RowMatrix.

Definition at line 97 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_RowMatrix.

Definition at line 102 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_RowMatrix.

Definition at line 107 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_RowMatrix.

Definition at line 112 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_RowMatrix.

Definition at line 117 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_RowMatrix.

Definition at line 122 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_RowMatrix.

Definition at line 127 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_RowMatrix.

Definition at line 132 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_RowMatrix.

Definition at line 137 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_RowMatrix.

Definition at line 142 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_RowMatrix.

Definition at line 147 of file Ifpack_SingletonFilter.h.

int Ifpack_SingletonFilter::SetUseTranspose bool  UseTranspose  )  [inline, virtual]
 

Implements Epetra_Operator.

Definition at line 152 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_Operator.

Definition at line 157 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_Operator.

Definition at line 162 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_Operator.

Definition at line 167 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_Operator.

Definition at line 172 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_Operator.

Definition at line 177 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_SrcDistObject.

Definition at line 182 of file Ifpack_SingletonFilter.h.

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

Implements Epetra_Operator.

Definition at line 187 of file Ifpack_SingletonFilter.h.

int Ifpack_SingletonFilter::SolveSingletons const Epetra_MultiVector RHS,
Epetra_MultiVector LHS
 

Definition at line 219 of file Ifpack_SingletonFilter.cpp.

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

Definition at line 241 of file Ifpack_SingletonFilter.cpp.

int Ifpack_SingletonFilter::UpdateLHS const Epetra_MultiVector ReducedLHS,
Epetra_MultiVector LHS
 

Definition at line 269 of file Ifpack_SingletonFilter.cpp.


Member Data Documentation

Epetra_RowMatrix& Ifpack_SingletonFilter::A_ [private]
 

Pointer to the matrix to be preconditioned.

Definition at line 204 of file Ifpack_SingletonFilter.h.

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

Used in ExtractMyRowCopy, to avoid allocation each time.

Definition at line 207 of file Ifpack_SingletonFilter.h.

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

Used in ExtractMyRowCopy, to avoid allocation each time.

Definition at line 209 of file Ifpack_SingletonFilter.h.

char Ifpack_SingletonFilter::Label_[80] [private]
 

Label for this object.

Definition at line 211 of file Ifpack_SingletonFilter.h.

int Ifpack_SingletonFilter::NumSingletons_ [private]
 

Definition at line 213 of file Ifpack_SingletonFilter.h.

vector<int> Ifpack_SingletonFilter::SingletonIndex_ [private]
 

Definition at line 214 of file Ifpack_SingletonFilter.h.

vector<int> Ifpack_SingletonFilter::Reorder_ [private]
 

Definition at line 216 of file Ifpack_SingletonFilter.h.

vector<int> Ifpack_SingletonFilter::InvReorder_ [private]
 

Definition at line 217 of file Ifpack_SingletonFilter.h.

vector<int> Ifpack_SingletonFilter::NumEntries_ [private]
 

Definition at line 219 of file Ifpack_SingletonFilter.h.

int Ifpack_SingletonFilter::NumRows_ [private]
 

Definition at line 221 of file Ifpack_SingletonFilter.h.

int Ifpack_SingletonFilter::NumRowsA_ [private]
 

Definition at line 222 of file Ifpack_SingletonFilter.h.

int Ifpack_SingletonFilter::MaxNumEntries_ [private]
 

Definition at line 223 of file Ifpack_SingletonFilter.h.

int Ifpack_SingletonFilter::MaxNumEntriesA_ [private]
 

Definition at line 224 of file Ifpack_SingletonFilter.h.

int Ifpack_SingletonFilter::NumNonzeros_ [private]
 

Definition at line 225 of file Ifpack_SingletonFilter.h.

Epetra_Map* Ifpack_SingletonFilter::Map_ [private]
 

Definition at line 226 of file Ifpack_SingletonFilter.h.

Epetra_Vector* Ifpack_SingletonFilter::Diagonal_ [private]
 

Definition at line 228 of file Ifpack_SingletonFilter.h.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:37:31 2008 for Ifpack Package Browser (Single Doxygen Collection) by doxygen 1.3.9.1