17 unstable releases

Uses new Rust 2024

0.9.2 Dec 11, 2025
0.9.1 Nov 24, 2025
0.8.0 Jan 8, 2025
0.7.0 May 21, 2024
0.1.0 Dec 22, 2021

#1111 in Math


Used in 4 crates

MIT/Apache

630KB
14K 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.

Dependencies

~14MB
~280K SLoC