Amesos Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SparseSolverResult.h
Go to the documentation of this file.
1 /*
2 // @HEADER
3 // ***********************************************************************
4 //
5 // Amesos: Direct Sparse Solver Package
6 // Copyright (2004) Sandia Corporation
7 //
8 // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
9 // license for use of this work by or on behalf of the U.S. Government.
10 //
11 // This library is free software; you can redistribute it and/or modify
12 // it under the terms of the GNU Lesser General Public License as
13 // published by the Free Software Foundation; either version 2.1 of the
14 // License, or (at your option) any later version.
15 //
16 // This library is distributed in the hope that it will be useful, but
17 // WITHOUT ANY WARRANTY; without even the implied warranty of
18 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 // Lesser General Public License for more details.
20 //
21 // You should have received a copy of the GNU Lesser General Public
22 // License along with this library; if not, write to the Free Software
23 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
24 // USA
25 // Questions? Contact Michael A. Heroux (maherou@sandia.gov)
26 //
27 // ***********************************************************************
28 // @HEADER
29 */
30 
31 #ifndef SPARSESOLVERRESULT
32 #define SPARSESOLVERRESULT
33 
34 #if defined(Amesos_SHOW_DEPRECATED_WARNINGS)
35 #ifdef __GNUC__
36 #warning "The Amesos package is deprecated"
37 #endif
38 #endif
39 
40 #include "Epetra_Object.h"
41 const double UnUsedDbl = 13e130;
42 
44 
45  public:
51  {
52  ; } ;
54 
55  void Set_First_Time ( double First_Time_in ) { first_time = First_Time_in; } ;
56  inline double Get_First_Time ( ) { return first_time ; } ;
57 
58  void Set_Middle_Time ( double Middle_Time_in ) { middle_time = Middle_Time_in; } ;
59  inline double Get_Middle_Time ( ) { return middle_time ; } ;
60 
61  void Set_Last_Time ( double Last_Time_in ) { last_time = Last_Time_in; } ;
62  inline double Get_Last_Time ( ) { return last_time ; } ;
63 
64  void Set_Total_Time ( double Total_Time_in ) { total_time = Total_Time_in; } ;
65  inline double Get_Total_Time ( ) { return total_time ; } ;
66 
67  void Set_Bnorm ( double bnorm_in ) { Bnorm = bnorm_in; } ;
68  inline double Get_Bnorm ( ) { return Bnorm ; } ;
69  void Set_Xnorm ( double xnorm_in ) { Xnorm = xnorm_in; } ;
70  inline double Get_Xnorm ( ) { return Xnorm ; } ;
71  void Set_Residual ( double residual_in ) { residual = residual_in; } ;
72  inline double Get_Residual ( ) { return residual ; } ;
73  void Set_Error ( double error_in ) { error = error_in; } ;
74  inline double Get_Error ( ) { return error; } ;
75  void Set_Anorm ( double anorm_in ) { Anorm = anorm_in; } ;
76  inline double Get_Anorm ( ) { return Anorm; } ;
77 
78  virtual void Print(std::ostream & os) const;
79  virtual void PrintSummary(std::ostream & os) const;
80 
81 
82  private:
83  double first_time ;
84  double middle_time ;
85  double last_time ;
86  double total_time ;
87  double error ;
88  double residual ;
89  double Anorm ;
90  double Xnorm ;
91  double Bnorm ;
92 } ;
93 
94 #endif
virtual void Print(std::ostream &os) const
void Set_Total_Time(double Total_Time_in)
virtual void PrintSummary(std::ostream &os) const
void Set_Anorm(double anorm_in)
void Set_Error(double error_in)
void Set_Middle_Time(double Middle_Time_in)
const double UnUsedDbl
void Set_Xnorm(double xnorm_in)
void Set_Last_Time(double Last_Time_in)
void Set_First_Time(double First_Time_in)
void Set_Residual(double residual_in)
void Set_Bnorm(double bnorm_in)