File: Ag_part1_optimise.py

package info (click to toggle)
python-ase 3.24.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 15,448 kB
  • sloc: python: 144,945; xml: 2,728; makefile: 113; javascript: 47
file content (8 lines) | stat: -rw-r--r-- 219 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
from ase.calculators.emt import EMT
from ase.cluster import Octahedron
from ase.optimize import BFGS

atoms = Octahedron('Ag', 5, cutoff=2)
atoms.calc = EMT()
opt = BFGS(atoms, trajectory='opt.traj')
opt.run(fmax=0.01)