Giter Site home page Giter Site logo

sfalmo / neuraldft Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 163.93 MB

Neural functional theory for inhomogeneous fluids: Fundamentals and applications

Home Page: https://doi.org/10.1073/pnas.2312484120

License: MIT License

Python 100.00%
classical-density-functional-theory machine-learning neural-network soft-matter statistical-mechanics

neuraldft's Introduction

DOI

Neural functional theory for inhomogeneous fluids: Fundamentals and applications

This repository contains code, datasets and models corresponding to the following publication:

Neural functional theory for inhomogeneous fluids: Fundamentals and applications
Florian Sammüller, Sophie Hermann, Daniel de las Heras, and Matthias Schmidt, Proc. Natl. Acad. Sci. 120, e2312484120 (2023); arXiv:2307.04539.

Instructions

You need Tensorflow/Keras, see the installation guide at https://www.tensorflow.org/install/pip. Additionally, the code requires the Python modules numpy, scipy and matplotlib.

Simulation data can be found in data and trained models are located in models. A sample script for training a model from scratch is given in learn.py. The usage of a trained model, e.g. for the self-consistent calculation of density profiles, is illustrated in neuraldft.py. Some useful utilities are provided in utils.py, such as tools for functional calculus as well as data generators and callbacks for training.

Further information

The reference data has been generated with grand canonical Monte Carlo simulations using MBD. The analytic DFT calculations with fundamental measure theory have been performed with the Julia library ClassicalDFT.jl.

neuraldft's People

Contributors

sfalmo avatar

Stargazers

 avatar  avatar  avatar  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.