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 80 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 89 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Returns the number of entries in MyRow.
Implements Epetra_RowMatrix.
Definition at line 92 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Returns the maximum number of entries.
Implements Epetra_RowMatrix.
Definition at line 98 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 106 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 115 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_Operator.
Definition at line 122 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_Operator.
Definition at line 129 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 135 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 140 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 145 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 150 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 155 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Not implemented for efficiency reasons.
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 |
Implements Epetra_RowMatrix.
Definition at line 173 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 178 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 183 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 188 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 199 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 204 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 209 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 214 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 219 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 224 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 229 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 234 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 239 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 244 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 249 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_RowMatrix.
Definition at line 254 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_Operator.
Definition at line 259 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_Operator.
Definition at line 264 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Not implemented for efficiency reasons.
Implements Epetra_Operator.
Definition at line 270 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_Operator.
Definition at line 275 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_Operator.
Definition at line 280 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_Operator.
Definition at line 285 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_SrcDistObject.
Definition at line 290 of file Ifpack_DiagonalFilter.h.
|
inlinevirtual |
Implements Epetra_Operator.
Definition at line 295 of file Ifpack_DiagonalFilter.h.
|
private |
Pointer to the matrix to be filtered.
Definition at line 302 of file Ifpack_DiagonalFilter.h.
|
private |
This value (times the sgn(A(i,i)) is added to the diagonal elements.
Definition at line 304 of file Ifpack_DiagonalFilter.h.
|
private |
Multiplies A(i,i) by this value.
Definition at line 306 of file Ifpack_DiagonalFilter.h.
|
private |
Stores the position of the diagonal element, or -1 if not present.
Definition at line 308 of file Ifpack_DiagonalFilter.h.
|
private |
Stores as additional diagonal contribution due to the filter.
Definition at line 310 of file Ifpack_DiagonalFilter.h.