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
dff059fb
Commit
dff059fb
authored
Jan 17, 2016
by
Saurabh Belsare
Browse files
Merge branch 'master' of
https://github.com/saurabhbelsare/openmm
parents
7197b6c6
bf0fa20f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
plugins/amoeba/platforms/reference/src/AmoebaReferenceKernels.cpp
...amoeba/platforms/reference/src/AmoebaReferenceKernels.cpp
+6
-7
No files found.
plugins/amoeba/platforms/reference/src/AmoebaReferenceKernels.cpp
View file @
dff059fb
...
@@ -719,14 +719,13 @@ void ReferenceCalcAmoebaMultipoleForceKernel::getLabFramePermanentDipoles(Contex
...
@@ -719,14 +719,13 @@ void ReferenceCalcAmoebaMultipoleForceKernel::getLabFramePermanentDipoles(Contex
AmoebaReferenceMultipoleForce
*
amoebaReferenceMultipoleForce
=
setupAmoebaReferenceMultipoleForce
(
context
);
AmoebaReferenceMultipoleForce
*
amoebaReferenceMultipoleForce
=
setupAmoebaReferenceMultipoleForce
(
context
);
vector
<
RealVec
>&
posData
=
extractPositions
(
context
);
vector
<
RealVec
>&
posData
=
extractPositions
(
context
);
// Retrieve the
induced dipoles
.
// Retrieve the
permanent dipoles in the lab frame
.
// vector<RealVec> inducedDipoles;
vector
<
RealVec
>
labFramePermanentDipoles
;
// amoebaReferenceMultipoleForce->calculateInducedDipoles(posData, charges, dipoles, quadrupoles, tholes,
amoebaReferenceMultipoleForce
->
applyRotationMatrix
(
particleData
,
multipoleAtomsXs
,
multipoleAtomsYs
,
multipoleAtomsZs
,
axisTypes
);
// dampingFactors, polarity, axisTypes, multipoleAtomZs, multipoleAtomXs, multipoleAtomYs, multipoleAtomCovalentInfo, inducedDipoles);
for
(
int
i
=
0
;
i
<
numParticles
;
i
++
)
// for (int i = 0; i < numParticles; i++)
outputDipoles
[
i
]
=
labFramePermanentDipoles
[
i
];
// outputDipoles[i] = inducedDipoles[i];
delete
amoebaReferenceMultipoleForce
;
// delete amoebaReferenceMultipoleForce;
}
}
...
...
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