Skip to content

adpozuelo/mc_structurefactor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MC_StructureFactor

Monte Carlo Structure Factor

Monte Carlo Structure Factor is software that, from a given configuration, calculates the average structure factor. After calculating the structure factor, using the Monte Carlo method, this software optimizes the pair coefficients of the given potential to find their original values. As a cost function, the mean square error minimization with respect to the previously generated structure factor is used.

Requisites

Installation and running

Installation (e.g. Lennard Jones):

git clone https://git.csic.es/smcm/mc_structurefactor.git
cd mc_structurefactor/lennard_jones
make

Generating base structure factor:

python3 main_sf.py

Optimizing the pair coefficients of the potential:

python3 main_sfmc.py

Visualization of results

python3 plot_results.py

About

Monte Carlo Structure Factor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published