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
#![doc = include_str!("../README.md")]

#[cfg(test)]
mod test;

/// Absolute tolerance.
pub const ABS_TOL: f64 = 1e-12;

/// Relative tolerance.
pub const REL_TOL: f64 = 1e-12;

#[cfg(test)]
/// A perturbation.
pub const EPSILON: f64 = 1e-6;

#[cfg(feature = "constitutive")]
/// Constitutive model library.
pub mod constitutive;

#[cfg(feature = "fem")]
/// Finite element library.
pub mod fem;

#[cfg(feature = "math")]
/// Mathematics library.
pub mod math;

#[cfg(feature = "mechanics")]
/// Mechanics library.
pub mod mechanics;