Skip to content

cengc13/ASEMTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASEMTP

ASE calculator for moment tensor potential.

Install

Need to install ase and mlip-2. MTP is developed by Alex Shapeev and now fully open source.

Usage

from mtp import MTP
from ase.io import read

calc = MTP(mtp='pot.mtp', unique_elements=['Fe', 'Co', 'Ni', 'Cr', 'Al'])

atoms = read('example.traj')
atoms = atoms.repeat(6)
atoms.calc = calc
# print(len(atoms))

print(atoms.get_forces())
print(atoms.get_potential_energy())
print(atoms.get_stress())
# atoms.write('sp.traj')

About

ASE calculator for moment tensor potential

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages