{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "\n# External calculators - ASAP\n\n\nASAP is a calculator for doing large-scale classical molecular dynamics\nwithin the Atomic Simulation Environment (ASE).\n\nASAP currently implements:\n\n- The Effective Medium Theory (Effective Medium Theory (EMT)) potential\n for the elements Ni, Cu, Pd, Ag, Pt and Au (and their alloys).\n There is also experimental support for CuMg and CuZr alloys.\n- Support for all models published by the OpenKIM.org project.\n Currently, more than 150 potentials are available this way.\n See the page OpenKIM support.\n- A number of experimental or in-development potentials.\n" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": false }, "outputs": [], "source": [ "from asap3 import EMT\n\nfrom ase.build import bulk\n\natoms = bulk('Cu', 'fcc', a=3.614)\natoms.calc = EMT()\nenergy = atoms.get_potential_energy()\nprint(energy)" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.13.7" } }, "nbformat": 4, "nbformat_minor": 0 }