--- trunk/OOPSE/libmdtools/TraPPE_ExFF.cpp 2003/03/28 19:30:59 434 +++ trunk/OOPSE/libmdtools/TraPPE_ExFF.cpp 2003/03/31 21:50:59 438 @@ -842,7 +842,7 @@ void TraPPE_ExFF::readParams( void ){ "TraPPE_Ex bond structures read successfully." ); MPIcheckPoint(); - currentBondType = headBondType; + currentBondType = headBondType->next; while( currentBondType != NULL ){ currentBondType->duplicate( bondInfo ); sendFrcStruct( &bondInfo, mpiBondStructType ); @@ -857,7 +857,7 @@ void TraPPE_ExFF::readParams( void ){ // listen for node 0 to send out the force params - MPIcheckPoint(); + MPIcheckPoint(); headBondType = new LinkedBondType; recieveFrcStruct( &bondInfo, mpiBondStructType ); @@ -920,7 +920,7 @@ void TraPPE_ExFF::readParams( void ){ "TraPPE_Ex bend structures read successfully." ); MPIcheckPoint(); - currentBendType = headBendType; + currentBendType = headBendType->next; while( currentBendType != NULL ){ currentBendType->duplicate( bendInfo ); sendFrcStruct( &bendInfo, mpiBendStructType ); @@ -1000,7 +1000,7 @@ void TraPPE_ExFF::readParams( void ){ "TraPPE_Ex torsion structures read successfully." ); MPIcheckPoint(); - currentTorsionType = headTorsionType; + currentTorsionType = headTorsionType->next; while( currentTorsionType != NULL ){ currentTorsionType->duplicate( torsionInfo ); sendFrcStruct( &torsionInfo, mpiTorsionStructType );