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
5606928b
Commit
5606928b
authored
Nov 04, 2015
by
Peter Eastman
Browse files
Fixed Python API for CompoundIntegrator
parent
5fa6fbc1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
wrappers/python/src/swig_doxygen/swigInputBuilder.py
wrappers/python/src/swig_doxygen/swigInputBuilder.py
+5
-0
wrappers/python/src/swig_doxygen/swigInputConfig.py
wrappers/python/src/swig_doxygen/swigInputConfig.py
+1
-0
No files found.
wrappers/python/src/swig_doxygen/swigInputBuilder.py
View file @
5606928b
...
...
@@ -274,6 +274,11 @@ class SwigInputBuilder:
self
.
fOut
.
write
(
",
\n
OpenMM::%s"
%
name
)
self
.
fOut
.
write
(
");
\n\n
"
)
self
.
fOut
.
write
(
"%factory(OpenMM::Integrator& OpenMM::CompoundIntegrator::getIntegrator"
)
for
name
in
sorted
(
integratorSubclassList
):
self
.
fOut
.
write
(
",
\n
OpenMM::%s"
%
name
)
self
.
fOut
.
write
(
");
\n\n
"
)
self
.
fOut
.
write
(
"%factory(OpenMM::VirtualSite& OpenMM::System::getVirtualSite, OpenMM::TwoParticleAverageSite, OpenMM::ThreeParticleAverageSite, OpenMM::OutOfPlaneSite);
\n\n
"
)
self
.
fOut
.
write
(
"
\n
"
)
...
...
wrappers/python/src/swig_doxygen/swigInputConfig.py
View file @
5606928b
...
...
@@ -141,6 +141,7 @@ STEAL_OWNERSHIP = {("Platform", "registerPlatform") : [0],
(
"CustomHbondForce"
,
"addTabulatedFunction"
)
:
[
1
],
(
"CustomCompoundBondForce"
,
"addTabulatedFunction"
)
:
[
1
],
(
"CustomManyParticleForce"
,
"addTabulatedFunction"
)
:
[
1
],
(
"CompoundIntegrator"
,
"addIntegrator"
)
:
[
0
],
}
# This is a list of units to attach to return values and method args.
...
...
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