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

Comparing trunk/OOPSE/libmdtools/NLModel1.cpp (file contents):
Revision 1023 by tim, Wed Feb 4 22:26:00 2004 UTC vs.
Revision 1031 by tim, Fri Feb 6 18:58:06 2004 UTC

# Line 15 | Line 15 | SymMatrix NLModel1::FiniteHessian(vector<double>& x, v
15    vector<double> gplusAll;
16    vector<double> tempGradAll;
17  
18 <  tempGradAll = getAllGrad();
18 >  //tempGradAll = getAllGrad();
19   #endif
20  
21    tempX = x;
# Line 47 | Line 47 | SymMatrix NLModel1::FiniteHessian(vector<double>& x, v
47  
48      //very inefficient, need to change
49      for(int j = 0; j , numOfProc; j++){
50 <      brocastVector(gplus, j);
51 <      gplusAll.insert(gplus);
50 >      //brocastVector(gplus, j);
51 >      //gplusAll.insert(gplus);
52      }
53      
54      if(procMappingArray[i] == myRank){
# Line 58 | Line 58 | SymMatrix NLModel1::FiniteHessian(vector<double>& x, v
58  
59      }
60  
61 <    hessian.Cloume(i) = (gplusAll - tempGradAll) / hi;  
61 >    //hessian.Cloume(i) = (gplusAll - tempGradAll) / hi;  
62   #endif
63  
64    }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines