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

Comparing trunk/OOPSE/libmdtools/DUFF.cpp (file contents):
Revision 635 by gezelter, Thu Jul 17 20:32:24 2003 UTC vs.
Revision 707 by mmeineke, Wed Aug 20 19:42:31 2003 UTC

# Line 1310 | Line 1310 | void DUFF::initializeBends( int nBends, Bend** bendArr
1310          }
1311          
1312          gBend = new GhostBend( *the_atoms[a],
1313 <                               *the_atoms[b] );                        
1313 >                               *the_atoms[b]);
1314 >                                                                      
1315          gBend->setConstants( currentBendType->k1,
1316                               currentBendType->k2,
1317                               currentBendType->k3,
# Line 1326 | Line 1327 | void DUFF::initializeBends( int nBends, Bend** bendArr
1327                               currentBendType->k3,
1328                               currentBendType->t0 );
1329          bendArray[i] = qBend;
1330 <      }
1330 >      }      
1331      }
1332    }
1333   }
# Line 1610 | Line 1611 | int DUFF_NS::parseBond( char *lineBuffer, int lineNum,
1611        }
1612        
1613        info.d0 = atof( the_token );
1614 +      
1615 +      info.k0=0.0;
1616      }
1617      else if( !strcmp( bondType, "harmonic" ) ){
1618        info.type = HARMONIC_BOND;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines