--- trunk/OOPSE/libmdtools/DUFF.cpp 2003/08/12 21:44:06 690 +++ trunk/OOPSE/libmdtools/DUFF.cpp 2003/08/20 19:11:51 704 @@ -1310,7 +1310,9 @@ void DUFF::initializeBends( int nBends, Bend** bendArr } gBend = new GhostBend( *the_atoms[a], - *the_atoms[b] ); + *the_atoms[b], + *the_atoms[c] ); + gBend->setConstants( currentBendType->k1, currentBendType->k2, currentBendType->k3, @@ -1326,7 +1328,7 @@ void DUFF::initializeBends( int nBends, Bend** bendArr currentBendType->k3, currentBendType->t0 ); bendArray[i] = qBend; - } + } } } }