Giter VIP home page Giter VIP logo

ffit's Introduction

ffit

Quick and dirty code to fit emperical forcefield nonbonded parameters to ab initio single points.

Building

git clone https://github.com/aehogan/ffit.git
cd ffit
mkdir build
cd build
cmake ..
make

Testing

cd ffit/examples
../build/ffit he.inp

Data files

See examples/co2.data or examples/he.data for the format of ab initio input data. Briefly, the data files are modified XYZ format files with the ab initio energy in K/kB on the comment line and a molecule id number added before the XYZ data and an atomic charge added after.

Input commands

  • Lines starting with ! or # are treated as comments
  • steps [int]
    • number of fitting steps, can be zero to only print out information of the current fit
  • output_freq [int]
    • after how many steps to print fitting information
  • max_energy [float]
    • the energy scaling parameter to start reducing the important of very repulsive configurations
  • data_file [str]
    • filename for an ab initio data file
  • es [on|off]
    • permanent electrostatics on / off
  • pol [on|off]
    • induced dipole electrostatics on / off
  • lj [on|off]
    • Lennard-Jones potential on / off
  • phahst [on|off]
    • modified tang toennies (exponential 6-8-10) on / off
  • type_map [str] [int]
    • atom name to atom id
  • lj_sig [int] [float]
    • atom id and initial Lennard-Jones sigma (or exponential rho) in angstrom
  • lj_eps [int] [float]
    • atom id and initial Lennard-Jones epsilon (or exponential beta) in K/kB (or angstrom^-1)
  • c6 [int] [float]
    • atom id and initial c6 in a.u.
  • c8 [int] [float]
    • atom id and initial c8 in a.u.
  • c10 [int] [float]
    • atom id and initial c10 in a.u.
  • alpha [int] [float]
    • atom id and initial polarizability in angstrom^3

ffit's People

Contributors

aehogan avatar

Watchers

 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.