Ifpack Package Browser (Single Doxygen Collection)
Development
|
Ifpack_DiagonalFilter: Filter to modify the diagonal entries of a given Epetra_RowMatrix. More...
#include <Ifpack_DiagonalFilter.h>
Public Member Functions | |
Ifpack_DiagonalFilter (const Teuchos::RefCountPtr< Epetra_RowMatrix > &Matrix, double AbsoluteThreshold, double RelativeThreshold) | |
Constructor. More... | |
virtual | ~Ifpack_DiagonalFilter () |
Destructor. More... | |
virtual int | NumMyRowEntries (int MyRow, int &NumEntries) const |
Returns the number of entries in MyRow. More... | |
virtual int | MaxNumEntries () const |
Returns the maximum number of entries. More... | |
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, bool, bool, const Epetra_MultiVector &, Epetra_MultiVector &) const |
virtual int | Apply (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const |
virtual int | ApplyInverse (const Epetra_MultiVector &, Epetra_MultiVector &) const |
virtual int | InvRowSums (Epetra_Vector &) const |
virtual int | LeftScale (const Epetra_Vector &x) |
virtual int | InvColSums (Epetra_Vector &) const |
virtual int | RightScale (const Epetra_Vector &x) |
virtual bool | Filled () const |
virtual double | NormInf () const |
Not implemented for efficiency reasons. More... | |
virtual double | NormOne () const |
Not implemented for efficiency reasons. More... | |
virtual int | NumGlobalNonzeros () const |
virtual int | NumGlobalRows () const |
virtual int | NumGlobalCols () const |
virtual int | NumGlobalDiagonals () const |
virtual long long | NumGlobalNonzeros64 () const |
virtual long long | NumGlobalRows64 () const |
virtual long long | NumGlobalCols64 () const |
virtual long long | NumGlobalDiagonals64 () 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_Map & | RowMatrixRowMap () const |
virtual const Epetra_Map & | RowMatrixColMap () const |
virtual const Epetra_Import * | RowMatrixImporter () const |
int | SetUseTranspose (bool UseTranspose_in) |
bool | UseTranspose () const |
bool | HasNormInf () const |
Not implemented for efficiency reasons. More... | |
const Epetra_Comm & | Comm () const |
const Epetra_Map & | OperatorDomainMap () const |
const Epetra_Map & | OperatorRangeMap () const |
const Epetra_BlockMap & | Map () const |
const char * | Label () const |
Private Attributes | |
Teuchos::RefCountPtr < Epetra_RowMatrix > | A_ |
Pointer to the matrix to be filtered. More... | |
double | AbsoluteThreshold_ |
This value (times the sgn(A(i,i)) is added to the diagonal elements. More... | |
double | RelativeThreshold_ |
Multiplies A(i,i) by this value. More... | |
std::vector< int > | pos_ |
Stores the position of the diagonal element, or -1 if not present. More... | |
std::vector< double > | val_ |
Stores as additional diagonal contribution due to the filter. More... | |
Ifpack_DiagonalFilter: Filter to modify the diagonal entries of a given Epetra_RowMatrix.
Ifpack_DiagonalFilter modifies the elements on the diagonal.
A typical use is as follows:
Last modified on 24-Jan-05.
Definition at line 86 of file Ifpack_DiagonalFilter.h.
Ifpack_DiagonalFilter::Ifpack_DiagonalFilter | ( | const Teuchos::RefCountPtr< Epetra_RowMatrix > & | Matrix, |
double | AbsoluteThreshold, | ||
double | RelativeThreshold | ||
) |
Constructor.
Definition at line 53 of file Ifpack_DiagonalFilter.cpp.
|
inlinevirtual |
Destructor.
Definition at line 95 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Returns the number of entries in MyRow.
Implements Epetra_RowMatrix.
Definition at line 98 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Returns the maximum number of entries.
Implements Epetra_RowMatrix.
Definition at line 104 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 95 of file Ifpack_DiagonalFilter.cpp.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 112 of file Ifpack_DiagonalFilter.h.
|
virtual |
Implements Epetra_RowMatrix.
Definition at line 110 of file Ifpack_DiagonalFilter.cpp.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 121 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_Operator.
Definition at line 128 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_Operator.
Definition at line 135 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 141 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 146 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 151 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 156 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 161 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Not implemented for efficiency reasons.
Implements Epetra_RowMatrix.
Definition at line 167 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Not implemented for efficiency reasons.
Implements Epetra_RowMatrix.
Definition at line 173 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 179 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 184 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 189 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 194 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 200 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 205 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 210 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 215 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 220 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 225 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 230 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 235 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 240 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 245 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 250 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 255 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 260 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_Operator.
Definition at line 265 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_Operator.
Definition at line 270 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Not implemented for efficiency reasons.
Implements Epetra_Operator.
Definition at line 276 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_Operator.
Definition at line 281 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_Operator.
Definition at line 286 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_Operator.
Definition at line 291 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_SrcDistObject.
Definition at line 296 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_Operator.
Definition at line 301 of file Ifpack_DiagonalFilter.h.
|
private |
Pointer to the matrix to be filtered.
Definition at line 308 of file Ifpack_DiagonalFilter.h.
|
private |
This value (times the sgn(A(i,i)) is added to the diagonal elements.
Definition at line 310 of file Ifpack_DiagonalFilter.h.
|
private |
Multiplies A(i,i) by this value.
Definition at line 312 of file Ifpack_DiagonalFilter.h.
|
private |
Stores the position of the diagonal element, or -1 if not present.
Definition at line 314 of file Ifpack_DiagonalFilter.h.
|
private |
Stores as additional diagonal contribution due to the filter.
Definition at line 316 of file Ifpack_DiagonalFilter.h.