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
076f8d7b
Commit
076f8d7b
authored
Feb 28, 2011
by
Peter Eastman
Browse files
Renamed simtk.chem.openmm to simtk.openmm
parent
b9615e47
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
10786 deletions
+0
-10786
wrappers/python/simtk/chem/__init__.py
wrappers/python/simtk/chem/__init__.py
+0
-0
wrappers/python/simtk/chem/openmm/__init__.py
wrappers/python/simtk/chem/openmm/__init__.py
+0
-37
wrappers/python/simtk/chem/openmm/openmm.py
wrappers/python/simtk/chem/openmm/openmm.py
+0
-10749
No files found.
wrappers/python/simtk/chem/__init__.py
deleted
100644 → 0
View file @
b9615e47
wrappers/python/simtk/chem/openmm/__init__.py
deleted
100644 → 0
View file @
b9615e47
#
#
#
"""
Package simtk.chem.openmm
This package wraps the simtk.chem.openmm.openmm module.
When imported, it loads the swig module and then does some magic
to make the POSIX function "dlopen" work on Linux.
It also tries to load any plugin modules it can find.
"""
__author__
=
"Randall J. Radmer"
__version__
=
"1.0"
import
os
,
sys
,
glob
if
sys
.
platform
==
"win32"
:
libPrefix
=
""
libExt
=
"dll"
elif
sys
.
platform
==
'darwin'
:
libPrefix
=
"lib"
libExt
=
"dylib"
else
:
libPrefix
=
"lib"
libExt
=
"so"
# The following is an evil incantation that is needed to permit
# the POSIX "dlopen" function to work. I do not understand
# it. If a better solution is known, please forward to the
# PyOpenMM code maintainers.
import
ctypes
flags
=
sys
.
getdlopenflags
()
sys
.
setdlopenflags
(
flags
|
ctypes
.
RTLD_GLOBAL
)
from
simtk.chem.openmm.openmm
import
Platform
pluginLoadedLibNames
=
Platform
.
loadPluginsFromDirectory
(
Platform
.
getDefaultPluginsDirectory
())
\ No newline at end of file
wrappers/python/simtk/chem/openmm/openmm.py
deleted
100644 → 0
View file @
b9615e47
This diff is collapsed.
Click to expand it.
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