Skip to main content

conspire/
lib.rs

1#![doc = include_str!("../README.md")]
2
3#[cfg(feature = "constitutive")]
4pub mod constitutive;
5
6#[cfg(feature = "fem")]
7#[path = "domain/fem/mod.rs"]
8pub mod fem;
9
10#[cfg(feature = "geometry")]
11pub mod geometry;
12
13#[cfg(feature = "io")]
14pub mod io;
15
16#[cfg(feature = "math")]
17pub mod math;
18
19#[cfg(feature = "mechanics")]
20pub mod mechanics;
21
22#[cfg(feature = "physics")]
23pub mod physics;
24
25#[cfg(feature = "vem")]
26#[path = "domain/vem/mod.rs"]
27pub mod vem;
28
29/// Absolute tolerance.
30pub const ABS_TOL: f64 = 1e-12;
31
32/// Relative tolerance.
33pub const REL_TOL: f64 = 1e-12;
34
35#[cfg(test)]
36/// A perturbation.
37pub const EPSILON: f64 = 1e-6;