13 unstable releases (6 breaking)

0.7.0 May 21, 2024
0.6.0 Dec 19, 2023
0.5.0 Oct 20, 2023
0.4.1 Mar 19, 2023
0.1.0 Dec 22, 2021

#486 in Science


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

Dependencies

~12–20MB
~290K SLoC