GithubHelp home page GithubHelp logo

chrisjsewell / ase Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hainm/ase

0.0 2.0 0.0 19.79 MB

Atomic Simulation Environment - unofficial mirror from https://gitlab.com/ase/ase

License: Other

Python 99.67% CSS 0.01% JavaScript 0.01% HTML 0.26% Makefile 0.04%

ase's Introduction

Atomic Simulation Environment

ASE is a set of tools and Python modules for setting up, manipulating, running, visualizing and analyzing atomistic simulations.

Webpage: http://wiki.fysik.dtu.dk/ase

Requirements

  • Python 3.5 or later
  • NumPy (base N-dimensional array package)
  • SciPy (library for scientific computing)

Optional:

  • For ASE's GUI: Matplotlib (2D Plotting)
  • tkinter (for ase.gui)
  • Flask (for ase.db web-interface)

Installation

Add ~/ase to your $PYTHONPATH environment variable and add ~/ase/bin to $PATH (assuming ~/ase is where your ASE folder is).

Testing

Please run the tests:

$ ase test  # takes 1 min.

and send us the output if there are failing tests.

Contact

Please send us bug-reports, patches, code, ideas and questions.

Example

Geometry optimization of hydrogen molecule with NWChem:

>>> from ase import Atoms
>>> from ase.optimize import BFGS
>>> from ase.calculators.nwchem import NWChem
>>> from ase.io import write
>>> h2 = Atoms('H2',
               positions=[[0, 0, 0],
                          [0, 0, 0.7]])
>>> h2.calc = NWChem(xc='PBE')
>>> opt = BFGS(h2, trajectory='h2.traj')
>>> opt.run(fmax=0.02)
BFGS:   0  19:10:49    -31.435229     2.2691
BFGS:   1  19:10:50    -31.490773     0.3740
BFGS:   2  19:10:50    -31.492791     0.0630
BFGS:   3  19:10:51    -31.492848     0.0023
>>> write('H2.xyz', h2)
>>> h2.get_potential_energy()  # ASE's units are eV and Ang
-31.492847800329216

This example requires NWChem to be installed.

$ ase gui h2.traj

ase's People

Contributors

4562448 avatar ajjackson avatar askhl avatar atygesen avatar davidkleiven avatar ehermes avatar erhart1 avatar erikfransson avatar gialev avatar gianlu6022 avatar gjenness avatar glevi avatar ikondov avatar imfinethankyou1 avatar jameskermode avatar jesper-friis avatar jgbit avatar kirstenwinther avatar kovalp avatar maximevdb avatar mcoywalter avatar mikstr avatar mortengjerding avatar paapu88 avatar pastewka avatar patrickmelix avatar schiotz avatar steenlysgaard avatar tdaff avatar tgmaxson avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.