/[escript]/branches/diaplayground/cusplibrary/cusp/monitor.h
ViewVC logotype

Diff of /branches/diaplayground/cusplibrary/cusp/monitor.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4955 by caltinay, Tue May 20 04:33:15 2014 UTC revision 4956 by caltinay, Tue May 20 12:34:41 2014 UTC
# Line 117  class default_monitor Line 117  class default_monitor
117      default_monitor(const Vector& b, size_t iteration_limit = 500, Real relative_tolerance = 1e-5, Real absolute_tolerance = 0)      default_monitor(const Vector& b, size_t iteration_limit = 500, Real relative_tolerance = 1e-5, Real absolute_tolerance = 0)
118          : b_norm(cusp::blas::nrm2(b)),          : b_norm(cusp::blas::nrm2(b)),
119            r_norm(std::numeric_limits<Real>::max()),            r_norm(std::numeric_limits<Real>::max()),
           iteration_limit_(iteration_limit),  
           iteration_count_(0),  
120            relative_tolerance_(relative_tolerance),            relative_tolerance_(relative_tolerance),
121            absolute_tolerance_(absolute_tolerance)            absolute_tolerance_(absolute_tolerance),
122              iteration_limit_(iteration_limit),
123              iteration_count_(0)
124      {}      {}
125    
126      /*! increment the iteration count      /*! increment the iteration count
# Line 176  class default_monitor Line 176  class default_monitor
176    
177      protected:      protected:
178            
     Real r_norm;  
179      Real b_norm;      Real b_norm;
180        Real r_norm;
181      Real relative_tolerance_;      Real relative_tolerance_;
182      Real absolute_tolerance_;      Real absolute_tolerance_;
183    

Legend:
Removed from v.4955  
changed lines
  Added in v.4956

  ViewVC Help
Powered by ViewVC 1.1.26