/usr/include/trilinos/Amesos_Status.h is in libtrilinos-amesos-dev 12.10.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | #ifndef AMESOS_STATUS_H
#define AMESOS_STATUS_H
#include "Teuchos_ParameterList.hpp"
using namespace Teuchos;
/*!
\class Amesos_Status
\brief Amesos_Status: Container for some status variables.
\author Marzio Sala, SNL 9214
\date Last updated on 24-May-05 (Champions' League Final day)
*/
class Amesos_Status
{
public:
//! Default constructor.
Amesos_Status()
{
IsSymbolicFactorizationOK_ = false;
IsNumericFactorizationOK_ = false;
PrintTiming_ = false;
PrintStatus_ = false;
ComputeVectorNorms_ = false;
ComputeTrueResidual_ = false;
verbose_ = 1;
debug_ = 0;
NumSymbolicFact_ = 0;
NumNumericFact_ = 0;
NumSolve_ = 0;
Threshold_ = 0.0;
MyPID_ = 0;
NumProcs_ = 1;
}
//! Default destructor.
~Amesos_Status() {};
void SetStatusParameters( const Teuchos::ParameterList &ParameterList ) ;
//! If \c true, SymbolicFactorization() has been successfully called.
bool IsSymbolicFactorizationOK_;
//! If \c true, NumericFactorization() has been successfully called.
bool IsNumericFactorizationOK_;
//! If \c true, prints timing information in the destructor.
bool PrintTiming_;
//! If \c true, print additional information in the destructor.
bool PrintStatus_;
//! If \c true, prints the norms of X and B in Solve().
bool ComputeVectorNorms_;
//! If \c true, computes the true residual in Solve().
bool ComputeTrueResidual_;
//! Toggles the output level.
int verbose_;
//! Sets the level of debug_ output
int debug_;
//! Number of symbolic factorization phases.
int NumSymbolicFact_;
//! Number of numeric factorization phases.
int NumNumericFact_;
//! Number of solves.
int NumSolve_;
double Threshold_;
int MyPID_;
int NumProcs_;
};
#endif
|