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
1763045b
"platforms/reference/include/ReferenceKernels.h" did not exist on "b3781c23a3a7a8bea22e6c1b6738393308be9d7e"
Commit
1763045b
authored
Sep 06, 2017
by
peastman
Browse files
getTabulatedFunction() returns correct subclass
parent
8d7234e5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
wrappers/python/src/swig_doxygen/swigInputBuilder.py
wrappers/python/src/swig_doxygen/swigInputBuilder.py
+13
-0
No files found.
wrappers/python/src/swig_doxygen/swigInputBuilder.py
View file @
1763045b
...
...
@@ -315,6 +315,19 @@ class SwigInputBuilder:
self
.
fOut
.
write
(
",
\n
OpenMM::%s"
%
name
)
self
.
fOut
.
write
(
");
\n\n
"
)
for
classNode
in
self
.
_orderedClassNodes
:
methodList
=
getClassMethodList
(
classNode
,
self
.
skipMethods
)
for
items
in
methodList
:
(
shortClassName
,
memberNode
,
shortMethDefinition
,
methName
,
isConstructors
,
isDestructor
,
templateType
,
templateName
)
=
items
if
shortMethDefinition
==
'TabulatedFunction& getTabulatedFunction'
:
self
.
fOut
.
write
(
"%factory(OpenMM::TabulatedFunction& OpenMM::"
)
self
.
fOut
.
write
(
"%s::%s"
%
(
shortClassName
,
methName
))
for
name
in
sorted
(
tabulatedFunctionSubclassList
):
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, OpenMM::LocalCoordinatesSite);
\n\n
"
)
self
.
fOut
.
write
(
"
\n
"
)
...
...
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