Skip to content
This repository has been archived by the owner on Feb 9, 2019. It is now read-only.

This repository contains all of our potential fitting codes. 1B, 2B, 3B

Notifications You must be signed in to change notification settings

antoineblosse/potential_fitting

 
 

Repository files navigation

MB-nrg potential energy function generation

Build Status

This repository contains all of our codes to generate MB-nrg potential energy functions (1B, 2B, 3B):

  1. Training set generator consisting of
    • Configuration generator
    • QM MB energy calculator
  2. Potential energy function generator consisting of
    • Code to generate polynomials functions
    • Fitting codes

Single script

generate_1b_fitcode.py is a single script that executes all the steps of polynomial fitting.

First create a folder, as an example see the B1F4 folder in the repository. Inside this folder, create a configuration file config.ini that contains all the configuration options. See for example B1F4/config.ini.

Then we assume that all of the tools in this repository will be installed and available in the path. Currently we do not install them so we modify the path by running:

source set_path.sh

Finally we can run the script:

cd B1F4
python ../generate_1b_fitcode.py config.ini

If there are problems with the libraries:

  1. Make sure you are running python3
  2. Remove all python path libraries by doing export PYTHONPATH=

About

This repository contains all of our potential fitting codes. 1B, 2B, 3B

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 62.1%
  • C 17.7%
  • Python 7.6%
  • Jupyter Notebook 6.4%
  • Perl 1.7%
  • Fortran 1.7%
  • Other 2.8%