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 
5 using namespace Teuchos;
6 
7 
8 
21 {
22 public:
25  {
26  IsSymbolicFactorizationOK_ = false;
27  IsNumericFactorizationOK_ = false;
28  PrintTiming_ = false;
29  PrintStatus_ = false;
30  ComputeVectorNorms_ = false;
31  ComputeTrueResidual_ = false;
32  verbose_ = 1;
33  debug_ = 0;
34  NumSymbolicFact_ = 0;
35  NumNumericFact_ = 0;
36  NumSolve_ = 0;
37  Threshold_ = 0.0;
38  MyPID_ = 0;
39  NumProcs_ = 1;
40  }
41 
44 
45  void SetStatusParameters( const Teuchos::ParameterList &ParameterList ) ;
46 
59 
61  int verbose_;
62 
64  int debug_;
65 
71  int NumSolve_;
72 
73  double Threshold_;
74 
75  int MyPID_;
76  int NumProcs_;
77 };
78 
79 #endif
int NumSymbolicFact_
Number of symbolic factorization phases.
Definition: Amesos_Status.h:67
bool IsSymbolicFactorizationOK_
If true, SymbolicFactorization() has been successfully called.
Definition: Amesos_Status.h:48
double Threshold_
Definition: Amesos_Status.h:73
int NumNumericFact_
Number of numeric factorization phases.
Definition: Amesos_Status.h:69
int NumSolve_
Number of solves.
Definition: Amesos_Status.h:71
~Amesos_Status()
Default destructor.
Definition: Amesos_Status.h:43
bool ComputeVectorNorms_
If true, prints the norms of X and B in Solve().
Definition: Amesos_Status.h:56
bool PrintTiming_
If true, prints timing information in the destructor.
Definition: Amesos_Status.h:52
Amesos_Status: Container for some status variables.
Definition: Amesos_Status.h:20
bool PrintStatus_
If true, print additional information in the destructor.
Definition: Amesos_Status.h:54
Amesos_Status()
Default constructor.
Definition: Amesos_Status.h:24
int verbose_
Toggles the output level.
Definition: Amesos_Status.h:61
int debug_
Sets the level of debug_ output.
Definition: Amesos_Status.h:64
bool IsNumericFactorizationOK_
If true, NumericFactorization() has been successfully called.
Definition: Amesos_Status.h:50
bool ComputeTrueResidual_
If true, computes the true residual in Solve().
Definition: Amesos_Status.h:58