14 releases (7 breaking)

new 0.8.0 Jan 8, 2025
0.7.0 May 21, 2024
0.6.0 Dec 19, 2023
0.5.0 Oct 20, 2023
0.1.0 Dec 22, 2021

#433 in Science

Download history 37/week @ 2024-09-24 2/week @ 2024-11-05 2/week @ 2024-12-03 17/week @ 2024-12-10 137/week @ 2025-01-07

137 downloads per month
Used in 4 crates

MIT/Apache

1MB
16K SLoC

FeOs-DFT

crate documentation

Generic classical density functional theory (DFT) implementations for the feos project.

The crate makes use of efficient numerical methods to calculate density profiles in inhomogeneous systems. Highlights include:

  • Fast calculation of convolution integrals in cartesian (1D, 2D and 3D), polar, cylindrical, and spherical coordinate systems using FFT and related algorithms.
  • Automatic calculation of partial derivatives of Helmholtz energy densities (including temperature derivatives) using automatic differentiation with generalized (hyper-) dual numbers.
  • Modeling of heterosegmented molecules, including branched molecules.
  • Functionalities for calculating surface tensions, adsorption isotherms, pair correlation functions, and solvation free energies.

Installation

Add this to your Cargo.toml

[dependencies]
feos-dft = "0.7"

Dependencies

~16MB
~298K SLoC