polymers/physics/single_chain/mod.rs
1#[cfg(feature = "python")]
2pub mod py;
3
4mod test;
5
6/// The ideal single-chain model.
7pub mod ideal;
8
9/// The freely-jointed chain (FJC) single-chain model.
10pub mod fjc;
11
12/// The extensible freely-jointed chain (EFJC) single-chain model.
13pub mod efjc;
14
15/// The square-well freely-jointed chain (SWFJC) single-chain model.
16pub mod swfjc;
17
18/// The arbitrary link potential freely-jointed chain (uFJC) single-chain model.
19pub mod ufjc;
20
21/// The worm-like chain (WLC) single-chain model.
22pub mod wlc;
23
24static ONE: f64 = 1.0;
25static ZERO: f64 = 1e-6;
26static POINTS: u128 = 64;