Commit c12298b8 authored by Andy Simmonett's avatar Andy Simmonett
Browse files

Single char fix to PT code.

The forces were not correct for different uind/uinp as a result.
parent 34afae6a
......@@ -1007,7 +1007,7 @@ void AmoebaReferenceMultipoleForce::convergeInduceDipolesByOPT(const vector<Mult
for(int atom = 0; atom < _numParticles; ++atom){
for(int component = 0; component < 6; ++component){
fieldGradD[6*atom + component] = fieldD.inducedDipoleFieldGradient[atom][component];
fieldGradP[6*atom + component] = fieldD.inducedDipoleFieldGradient[atom][component];
fieldGradP[6*atom + component] = fieldP.inducedDipoleFieldGradient[atom][component];
}
}
_ptDipoleFieldGradientD.push_back(fieldGradD);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment