SummationByParts/sbp/src/lib.rs

22 lines
417 B
Rust
Raw Normal View History

2020-04-12 17:27:18 +00:00
#![feature(str_strip)]
2020-04-14 22:37:46 +00:00
#![feature(specialization)]
2020-04-12 17:27:18 +00:00
#[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;