Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
18efc03e
"vscode:/vscode.git/clone" did not exist on "0f83704f981eacbf1c5ee30ade716160b25d0ce7"
Commit
18efc03e
authored
Feb 04, 2016
by
Saurabh Belsare
Browse files
Fixed bug in getTotalDipoles in AmoebaReferenceMultipoleForce.cpp
parent
d1a86459
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
plugins/amoeba/platforms/reference/src/SimTKReference/AmoebaReferenceMultipoleForce.cpp
...ence/src/SimTKReference/AmoebaReferenceMultipoleForce.cpp
+1
-1
No files found.
plugins/amoeba/platforms/reference/src/SimTKReference/AmoebaReferenceMultipoleForce.cpp
View file @
18efc03e
...
...
@@ -1871,7 +1871,7 @@ void AmoebaReferenceMultipoleForce::calculateTotalDipoles(const vector<RealVec>&
{
for (int j = 0; j < 3; j++)
{
outputTotalDipoles[i][j] = particleData[i].position[j] * particleData[i].charge + particleData[i].dipole[j] + _inducedDipole[j];
outputTotalDipoles[i][j] = particleData[i].position[j] * particleData[i].charge + particleData[i].dipole[j] + _inducedDipole[
i][
j];
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment