1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! # Non-Bonded Pair Potentials
//!
//! Two-body interaction potentials for non-bonded atoms.
//!
//! ## Included Potentials
//!
//! | Potential | Description | Common Use |
//! |-----------|-------------|------------|
//! | [`Lj`] | Lennard-Jones 12-6 | Van der Waals |
//! | [`Mie`] | Generalized Mie n-m | Tunable VdW |
//! | [`Buck`] | Buckingham (Exp-6) | Ionic systems |
//! | [`Coul`] | Coulomb 1/r | Electrostatics |
//! | [`Yukawa`] | Screened Coulomb | Ionic screening |
//! | [`Gauss`] | Gaussian | Soft matter (GEM) |
//! | [`Soft`] | Soft sphere | Purely repulsive |
//!
//! ## Example
//!
//! ```
//! use potentials::pair::{Lj, Potential2};
//!
//! // Argon LJ parameters: sigma = 3.4 A, epsilon = 0.238 kcal/mol
//! let lj = Lj::new(0.238, 3.4);
//!
//! let r_sq = 4.0 * 4.0; // Distance of 4 A
//! let energy = lj.energy(r_sq);
//! let force_factor = lj.force_factor(r_sq);
//! ```
pub use Buck;
pub use Coul;
pub use Gauss;
pub use Lj;
pub use Mie;
pub use Soft;
pub use Yukawa;
// Re-export base trait for convenience
pub use cratePotential2;