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
fe5b499d
Commit
fe5b499d
authored
Apr 14, 2014
by
John Chodera (MSKCC)
Browse files
Fixed a bug in serialization.
parent
9a83528b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
serialization/src/NonbondedForceProxy.cpp
serialization/src/NonbondedForceProxy.cpp
+1
-1
No files found.
serialization/src/NonbondedForceProxy.cpp
View file @
fe5b499d
...
...
@@ -81,7 +81,7 @@ void* NonbondedForceProxy::deserialize(const SerializationNode& node) const {
try
{
force
->
setNonbondedMethod
((
NonbondedForce
::
NonbondedMethod
)
node
.
getIntProperty
(
"method"
));
force
->
setCutoffDistance
(
node
.
getDoubleProperty
(
"cutoff"
,
1.0
));
force
->
setUseSwitchingFunction
(
node
.
get
Double
Property
(
"useSwitchingFunction"
,
false
));
force
->
setUseSwitchingFunction
(
node
.
get
Bool
Property
(
"useSwitchingFunction"
,
false
));
force
->
setSwitchingDistance
(
node
.
getDoubleProperty
(
"switchingDistance"
,
-
1.0
));
force
->
setEwaldErrorTolerance
(
node
.
getDoubleProperty
(
"ewaldTolerance"
,
5e-4
));
force
->
setReactionFieldDielectric
(
node
.
getDoubleProperty
(
"rfDielectric"
,
78.3
));
...
...
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