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
3eff31f2
"vscode:/vscode.git/clone" did not exist on "d65992eaa97e1279a8646d606771006482ca5119"
Commit
3eff31f2
authored
Jan 03, 2012
by
Peter Eastman
Browse files
Python examples only simulate 10,000 time steps instead of 100,000
parent
6c6161cb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
examples/CMakeLists.txt
examples/CMakeLists.txt
+2
-2
examples/simulateAmber.py
examples/simulateAmber.py
+1
-1
examples/simulatePdb.py
examples/simulatePdb.py
+1
-1
No files found.
examples/CMakeLists.txt
View file @
3eff31f2
...
@@ -95,13 +95,13 @@ ENDFOREACH(EX_ROOT ${F_EXAMPLES})
...
@@ -95,13 +95,13 @@ ENDFOREACH(EX_ROOT ${F_EXAMPLES})
INSTALL
(
FILES HelloArgonInCVS8/HelloArgonInC.vcproj
INSTALL
(
FILES HelloArgonInCVS8/HelloArgonInC.vcproj
HelloArgonInCVS8/HelloArgonInC.sln
HelloArgonInCVS8/HelloArgonInC.sln
DESTINATION examples/VisualStudio
2005
)
DESTINATION examples/VisualStudio
)
INSTALL
(
FILES README.txt DESTINATION examples
)
INSTALL
(
FILES README.txt DESTINATION examples
)
INSTALL
(
FILES Makefile NMakefile DESTINATION examples
)
INSTALL
(
FILES Makefile NMakefile DESTINATION examples
)
INSTALL
(
FILES HelloArgonVS8/HelloArgon.vcproj
INSTALL
(
FILES HelloArgonVS8/HelloArgon.vcproj
HelloArgonVS8/HelloArgon.sln
HelloArgonVS8/HelloArgon.sln
DESTINATION examples/VisualStudio
2005
)
DESTINATION examples/VisualStudio
)
INSTALL
(
FILES HelloOpenMM.ppt
INSTALL
(
FILES HelloOpenMM.ppt
DESTINATION examples
)
DESTINATION examples
)
examples/simulateAmber.py
View file @
3eff31f2
...
@@ -10,4 +10,4 @@ simulation = Simulation(prmtop.topology, system, integrator)
...
@@ -10,4 +10,4 @@ simulation = Simulation(prmtop.topology, system, integrator)
simulation
.
context
.
setPositions
(
inpcrd
.
positions
)
simulation
.
context
.
setPositions
(
inpcrd
.
positions
)
simulation
.
minimizeEnergy
()
simulation
.
minimizeEnergy
()
simulation
.
reporters
.
append
(
PDBReporter
(
'output.pdb'
,
1000
))
simulation
.
reporters
.
append
(
PDBReporter
(
'output.pdb'
,
1000
))
simulation
.
step
(
10000
0
)
simulation
.
step
(
10000
)
examples/simulatePdb.py
View file @
3eff31f2
...
@@ -10,4 +10,4 @@ simulation = Simulation(pdb.topology, system, integrator)
...
@@ -10,4 +10,4 @@ simulation = Simulation(pdb.topology, system, integrator)
simulation
.
context
.
setPositions
(
pdb
.
positions
)
simulation
.
context
.
setPositions
(
pdb
.
positions
)
simulation
.
minimizeEnergy
()
simulation
.
minimizeEnergy
()
simulation
.
reporters
.
append
(
PDBReporter
(
'output.pdb'
,
1000
))
simulation
.
reporters
.
append
(
PDBReporter
(
'output.pdb'
,
1000
))
simulation
.
step
(
10000
0
)
simulation
.
step
(
10000
)
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