Amesos Package Browser (Single Doxygen Collection) Development
Loading...
Searching...
No Matches
Amesos_Status.h
Go to the documentation of this file.
1#ifndef AMESOS_STATUS_H
2#define AMESOS_STATUS_H
3
4#include "Teuchos_ParameterList.hpp"
5using namespace Teuchos;
6
7
8
21{
22public:
25 {
28 PrintTiming_ = false;
29 PrintStatus_ = false;
30 ComputeVectorNorms_ = false;
32 verbose_ = 1;
33 debug_ = 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
62
64 int debug_;
65
72
73 double Threshold_;
74
75 int MyPID_;
77};
78
79#endif
Amesos_Status: Container for some status variables.
int debug_
Sets the level of debug_ output.
bool PrintTiming_
If true, prints timing information in the destructor.
bool ComputeVectorNorms_
If true, prints the norms of X and B in Solve().
int verbose_
Toggles the output level.
int NumSymbolicFact_
Number of symbolic factorization phases.
bool IsNumericFactorizationOK_
If true, NumericFactorization() has been successfully called.
int NumSolve_
Number of solves.
bool ComputeTrueResidual_
If true, computes the true residual in Solve().
~Amesos_Status()
Default destructor.
bool PrintStatus_
If true, print additional information in the destructor.
void SetStatusParameters(const Teuchos::ParameterList &ParameterList)
bool IsSymbolicFactorizationOK_
If true, SymbolicFactorization() has been successfully called.
int NumNumericFact_
Number of numeric factorization phases.
Amesos_Status()
Default constructor.