Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
parser-asap
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nomad-lab
parser-asap
Commits
9884d420
Commit
9884d420
authored
Oct 25, 2016
by
Mikkel Strange
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
using ase 3.12 trajectories
parent
e17356d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
test/examples/md.py
test/examples/md.py
+3
-3
test/examples/moldyn1.traj
test/examples/moldyn1.traj
+0
-0
No files found.
test/examples/md.py
View file @
9884d420
...
...
@@ -6,8 +6,8 @@ from ase.io.trajectory import Trajectory
from
ase.constraints
import
FixedPlane
from
ase
import
units
#
from asap3 import EMT # Way too slow with ase.EMT !
from
ase.calculators.emt
import
EMT
from
asap3
import
EMT
# Way too slow with ase.EMT !
#
from ase.calculators.emt import EMT
size
=
2
T
=
1500
# Kelvin
...
...
@@ -41,7 +41,7 @@ dyn.attach(printenergy, interval=50)
# We also want to save the positions of all atoms after every 100th time step.
traj
=
Trajectory
(
'moldyn1.traj'
,
'w'
,
atoms
)
dyn
.
attach
(
traj
.
write
,
interval
=
50
)
dyn
.
attach
(
traj
,
interval
=
50
)
# Now run the dynamics
printenergy
()
...
...
test/examples/moldyn1.traj
View file @
9884d420
No preview for this file type
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