Amesos Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Amesos_Status.h
Go to the documentation of this file.
1 #ifndef AMESOS_STATUS_H
2 #define AMESOS_STATUS_H
3 
4 #if defined(Amesos_SHOW_DEPRECATED_WARNINGS)
5 #ifdef __GNUC__
6 #warning "The Amesos package is deprecated"
7 #endif
8 #endif
9 
11 using namespace Teuchos;
12 
13 
14 
27 {
28 public:
31  {
32  IsSymbolicFactorizationOK_ = false;
33  IsNumericFactorizationOK_ = false;
34  PrintTiming_ = false;
35  PrintStatus_ = false;
36  ComputeVectorNorms_ = false;
37  ComputeTrueResidual_ = false;
38  verbose_ = 1;
39  debug_ = 0;
40  NumSymbolicFact_ = 0;
41  NumNumericFact_ = 0;
42  NumSolve_ = 0;
43  Threshold_ = 0.0;
44  MyPID_ = 0;
45  NumProcs_ = 1;
46  }
47 
50 
51  void SetStatusParameters( const Teuchos::ParameterList &ParameterList ) ;
52 
65 
67  int verbose_;
68 
70  int debug_;
71 
77  int NumSolve_;
78 
79  double Threshold_;
80 
81  int MyPID_;
82  int NumProcs_;
83 };
84 
85 #endif
int NumSymbolicFact_
Number of symbolic factorization phases.
Definition: Amesos_Status.h:73
bool IsSymbolicFactorizationOK_
If true, SymbolicFactorization() has been successfully called.
Definition: Amesos_Status.h:54
double Threshold_
Definition: Amesos_Status.h:79
int NumNumericFact_
Number of numeric factorization phases.
Definition: Amesos_Status.h:75
int NumSolve_
Number of solves.
Definition: Amesos_Status.h:77
~Amesos_Status()
Default destructor.
Definition: Amesos_Status.h:49
bool ComputeVectorNorms_
If true, prints the norms of X and B in Solve().
Definition: Amesos_Status.h:62
bool PrintTiming_
If true, prints timing information in the destructor.
Definition: Amesos_Status.h:58
Amesos_Status: Container for some status variables.
Definition: Amesos_Status.h:26
bool PrintStatus_
If true, print additional information in the destructor.
Definition: Amesos_Status.h:60
Amesos_Status()
Default constructor.
Definition: Amesos_Status.h:30
int verbose_
Toggles the output level.
Definition: Amesos_Status.h:67
int debug_
Sets the level of debug_ output.
Definition: Amesos_Status.h:70
bool IsNumericFactorizationOK_
If true, NumericFactorization() has been successfully called.
Definition: Amesos_Status.h:56
bool ComputeTrueResidual_
If true, computes the true residual in Solve().
Definition: Amesos_Status.h:64