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

Comparing trunk/OOPSE/libmdtools/Verlet.cpp (file contents):
Revision 423 by mmeineke, Thu Mar 27 20:12:15 2003 UTC vs.
Revision 428 by mmeineke, Thu Mar 27 21:07:14 2003 UTC

# Line 74 | Line 74 | Verlet::Verlet( SimInfo &info, ForceFields* the_ff ){
74    SRI** theArray;
75    for(int i = 0; i < nMols; i++){
76      
77 <    theArray = molecules[i].getMyBonds();
78 <    for(int j=0; j<molecules[i].getNbonds(); j++){
77 >    theArray = (SRI**) molecules[i].getMyBonds();
78 >    for(int j=0; j<molecules[i].getNBonds(); j++){
79        
80        constrained = theArray[j]->is_constrained();
81        
# Line 91 | Line 91 | Verlet::Verlet( SimInfo &info, ForceFields* the_ff ){
91        }
92      }
93  
94 <    theArray = molecules[i].getMyBends();
95 <    for(int j=0; j<molecules[i].getNbends(); j++){
94 >    theArray = (SRI**) molecules[i].getMyBends();
95 >    for(int j=0; j<molecules[i].getNBends(); j++){
96        
97        constrained = theArray[j]->is_constrained();
98        
# Line 108 | Line 108 | Verlet::Verlet( SimInfo &info, ForceFields* the_ff ){
108        }
109      }
110  
111 <    theArray = molecules[i].getMyTorsions();
112 <    for(int j=0; j<molecules[i].getNtorsions(); j++){
111 >    theArray = (SRI**) molecules[i].getMyTorsions();
112 >    for(int j=0; j<molecules[i].getNTorsions(); j++){
113        
114        constrained = theArray[j]->is_constrained();
115        

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines