Skip to main content

sci_form/dispersion/
mod.rs

1//! DFT-D4 Dispersion Correction — Core Module
2//!
3//! Geometry-dependent London dispersion with Becke-Johnson damping.
4//! Provides C6/C8 two-body and optional ATM three-body corrections.
5//!
6//! ## Relationship to other methods
7//!
8//! - **HF-3c**: Uses D3-BJ internally; D4 is the next-generation replacement
9//! - **PM3**: Can be augmented with D4 for non-covalent interactions
10//! - **xTB**: GFN-xTB includes D4 natively; standalone D4 useful for EHT-D4
11//! - **UFF/MMFF94**: D4 improves long-range dispersion accuracy
12//!
13//! ## Reference
14//!
15//! Caldeweyher, Ehlert, Hansen, Bauer, Spicher, Grimme,
16//! J. Chem. Phys. 150, 154122 (2019).
17
18#[allow(clippy::module_inception)]
19mod dispersion;
20mod params;
21
22pub use dispersion::{compute_d4_energy, compute_d4_gradient, D4Config, D4Result};
23pub use params::{
24    c8_from_c6, d4_coordination_number, dynamic_c6, get_c6_reference, get_d4_params, D4Params,
25};