ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/MinimizerParameterSet.hpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/MinimizerParameterSet.hpp (file contents):
Revision 1010 by tim, Tue Feb 3 20:43:08 2004 UTC vs.
Revision 1015 by tim, Tue Feb 3 22:54:52 2004 UTC

# Line 25 | Line 25 | class MinimizerParameterSet{
25        fTol = DEFAULTTOLERANCE;
26        gTol = DEFAULTTOLERANCE;
27  
28 +      writeFrq = maxIteration;
29 +      resetFrq = maxIteration;
30 +      
31        lsMaxIteration = 50;
32        lsTol = 1.0e-4;
33      }
34 <    
32 <    
34 >      
35      void setStepTol(double tol) { stepTol = tol;}
36      double getStepTol() { return stepTol;}
37      
# Line 48 | Line 50 | class MinimizerParameterSet{
50      void setLineSearchMaxIteration(int iter) {lsMaxIteration = iter;}
51      int getLineSearchMaxIteration() {return lsMaxIteration;}
52  
53 +    void setWriteFrq(int frq) {writeFrq = frq;}
54 +    int getWriteFrq() {return writeFrq;}
55 +
56 +    void setResetFrq(int frq) { resetFrq = frq;}
57 +    int getResetFrq() {return resetFrq;}
58 +
59   /*
60      void setAbsTol(vector<double>& tol) { absTol = tol;}
61      vector<double> getAbsTol() { return absTol;}
# Line 69 | Line 77 | class MinimizerParameterSet{
77      int lsMaxIteration;
78      double lsTol;
79  
80 +    int writeFrq;
81 +    int resetFrq;
82   /*
83      // Absolute tolerance
84      vector<double> absTol;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines