12 unstable releases (5 breaking)

0.6.0 Dec 19, 2023
0.5.0 Oct 20, 2023
0.4.1 Mar 19, 2023
0.3.2 Oct 13, 2022
0.1.0 Dec 22, 2021

#304 in Science

Download history 52/week @ 2024-02-23 18/week @ 2024-03-01 2/week @ 2024-03-08 3/week @ 2024-03-15 39/week @ 2024-03-29 13/week @ 2024-04-05

55 downloads per month
Used in 4 crates

MIT/Apache

1MB
17K 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.5"

Dependencies

~12–21MB
~284K SLoC