8000 GitHub - jhrmnn/pyberny at 0.4.1
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jhrmnn/pyberny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

berny — Molecular optimizer

build coverage python pypi commits since last commit license

This Python 2/3 package can optimize molecular and crystal structures with respect to total energy, using nuclear gradient information.

In each step, it takes energy and Cartesian gradients as an input, and returns a new structure estimate.

The algorithm is an amalgam of several techniques, comprising redundant internal coordinates, iterative Hessian estimate, trust region, line search, and coordinate weighing, mostly inspired by the optimizer in the Gaussian program.

Installing

Install and update using Pip:

pip install -U pyberny

Example

from berny import Berny, geomlib

optimizer = Berny(geomlib.readfile('geom.xyz'))
for geom in optimizer:
    # get energy and gradients for geom
    optimizer.send((energy, gradients))

Links

About

Molecular structure optimizer

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages

0