Attachment 'vmd_input.py'
Download 1 from ASE import Atom,ListOfAtoms
2 from Dacapo import Dacapo
3 from ASE.Trajectories import NetCDFTrajectory
4 import os
5
6 inputfile='trajinputfile'
7 traj= NetCDFTrajectory(inputfile)
8 atoms=traj.GetListOfAtoms()
9 unitcell=[]
10 atoms.SetUnitCell(unitcell,fix=True)
11 calc=Dacapo(your settings)
12 atoms.SetCalculator(calc)
13 atoms.GetPotentialEnergy()
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.