SummationByParts/sbp/src/lib.rs

19 lines
365 B
Rust
Raw Normal View History

#[cfg(feature = "f32")]
pub type Float = f32;
#[cfg(not(feature = "f32"))]
pub type Float = f64;
2020-02-27 21:27:11 +00:00
pub(crate) mod consts {
#[cfg(feature = "f32")]
pub(crate) use std::f32::consts::*;
#[cfg(not(feature = "f32"))]
pub(crate) use std::f64::consts::*;
}
2020-01-30 17:28:22 +00:00
pub mod euler;
pub mod grid;
pub mod integrate;
pub mod maxwell;
pub mod operators;
2020-02-22 16:45:28 +00:00
pub mod utils;