|
Ifpack Package Browser (Single Doxygen Collection)
Development
|
Go to the documentation of this file.
50 #include "Epetra_Vector.h"
51 #include "Epetra_CrsMatrix.h"
52 #include "Epetra_Time.h"
53 #include "Teuchos_RefCountPtr.hpp"
149 const int MaxIters = 1550,
150 const double Tol = 1e-9,
215 virtual std::ostream&
Print(std::ostream& os)
const;
297 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
331 template<
typename int_type>
345 Teuchos::RefCountPtr<Epetra_CrsMatrix>
L_;
347 Teuchos::RefCountPtr<Epetra_CrsMatrix>
U_;
Epetra_Time Time_
Used for timing purposed.
Teuchos::RefCountPtr< Epetra_CrsMatrix > L_
L factor.
int ApplyInverse(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Ifpack_ILUT forward/back solve on a Epetra_MultiVector X in Y.
Ifpack_ILUT: A class for constructing and using an incomplete LU factorization of a given Epetra_RowM...
double Athresh_
Absolute threshold.
double ComputeTime_
Contains the time for all successful calls to Compute().
long long GlobalNonzeros_
Global number of nonzeros in L and U factors.
bool IsComputed_
true if this object has been computed
virtual double ApplyInverseTime() const
Returns the time spent in ApplyInverse().
const Epetra_Comm & Comm_
Reference to the communicator object.
virtual double InitializeFlops() const
Returns the number of flops in the initialization phase.
int NumMyRows_
Number of local rows.
double ComputeFlops_
Contains the number of flops for Compute().
bool IsInitialized_
true if this object has been initialized
bool UseTranspose_
true if transpose has to be used.
virtual std::ostream & Print(std::ostream &os) const
Prints basic information on iostream. This function is used by operator<<.
bool IsInitialized() const
Returns true if the preconditioner has been successfully initialized.
const Epetra_RowMatrix & A_
reference to the matrix to be preconditioned.
Ifpack_ScalingType enumerable type.
virtual int NumInitialize() const
Returns the number of calls to Initialize().
virtual double ApplyInverseFlops() const
Returns the number of flops in the application of the preconditioner.
bool IsComputed() const
If factor is completed, this query returns true, otherwise it returns false.
double Condest() const
Returns the computed estimated condition number, or -1.0 if no computed.
int SetParameters(Teuchos::ParameterList ¶meterlis)
Set parameters using a Teuchos::ParameterList object.
double Condest_
Condition number estimate.
int Apply(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Ifpack_CondestType
Ifpack_CondestType: enum to define the type of condition number estimate.
const Epetra_Map & OperatorDomainMap() const
Returns the Epetra_Map object associated with the domain of this operator.
int NumGlobalNonzeros() const
Returns the number of nonzero entries in the global graph.
double NormInf() const
Returns 0.0 because this class cannot compute Inf-norm.
const char * Label() const
Returns the label of this object.
bool UseTranspose() const
Returns the current UseTranspose setting.
bool HasNormInf() const
Returns false because this class cannot compute an Inf-norm.
double Relax_
relaxation value
const Epetra_Comm & Comm() const
Returns the Epetra_BlockMap object associated with the range of this matrix operator.
double ApplyInverseTime_
Contains the time for all successful calls to ApplyInverse().
Ifpack_ILUT(const Ifpack_ILUT &RHS)
Copy constructor (should never be used)
int Initialize()
Initialize L and U with values from user matrix A.
int NumApplyInverse_
Contains the number of successful call to ApplyInverse().
double DropTolerance() const
Gets the dropping tolerance.
Teuchos::RefCountPtr< Epetra_CrsMatrix > U_
U factor.
int SetLabel(const char *Label_in)
Sets the label for this object.
int NumCompute_
Contains the number of successful call to Compute().
Teuchos::RefCountPtr< Epetra_SerialComm > SerialComm_
double InitializeTime_
Contains the time for all successful calls to Initialize().
int SetUseTranspose(bool UseTranspose_in)
If set true, transpose of this operator will be applied.
double RelativeThreshold() const
Get relative threshold value.
int Compute()
Compute IC factor U using the specified graph, diagonal perturbation thresholds and relaxation parame...
Ifpack_ILUT(const Epetra_RowMatrix *A)
Ifpack_ILUT constuctor with variable number of indices per row.
double Rthresh_
Relative threshold.
const Epetra_CrsMatrix & U() const
Returns a reference to the U factor.
Teuchos::RefCountPtr< Epetra_Map > SerialMap_
std::string Label_
Label for this object.
virtual double InitializeTime() const
Returns the time spent in Initialize().
long long NumGlobalNonzeros64() const
virtual double ComputeFlops() const
Returns the number of flops in the computation phase.
Ifpack_Preconditioner: basic class for preconditioning in Ifpack.
virtual ~Ifpack_ILUT()
Ifpack_ILUT Destructor.
virtual const Epetra_Map & OperatorRangeMap() const=0
const Epetra_Map & OperatorRangeMap() const
Returns the Epetra_Map object associated with the range of this operator.
int NumInitialize_
Contains the number of successful calls to Initialize().
void Destroy()
Releases all allocated memory.
const Epetra_RowMatrix & Matrix() const
Returns a reference to the matrix to be preconditioned.
double LevelOfFill_
Level-of-fill.
virtual int NumCompute() const
Returns the number of calls to Compute().
virtual int NumApplyInverse() const
Returns the number of calls to ApplyInverse().
double AbsoluteThreshold() const
Get absolute threshold value.
double RelaxValue() const
Set relative threshold value.
virtual double ComputeTime() const
Returns the time spent in Compute().
Ifpack_ILUT & operator=(const Ifpack_ILUT &RHS)
operator= (should never be used)
virtual const Epetra_Map & OperatorDomainMap() const=0
int NumMyNonzeros() const
Returns the number of nonzero entries in the local graph.
double LevelOfFill() const
const Epetra_CrsMatrix & L() const
Returns a reference to the L factor.
double ApplyInverseFlops_
Contain sthe number of flops for ApplyInverse().
double DropTolerance_
Discards all elements below this tolerance.