Module prelude

Module prelude 

Source
Expand description

Exports everything you need to run a corries simulation. This includes the following modules

as well as the set_Physics_and_E macro

Re-exports§

pub use crate::components::*;
pub use crate::config::*;
pub use crate::directions::*;
pub use crate::mesh::*;
pub use crate::rhs::*;
pub use crate::solver::*;
pub use crate::state::*;
pub use crate::time::*;
pub use crate::units::*;
pub use crate::writer::*;

Macros§

set_Physics_and_E
Expands to a type alias P for the type of physics you are using, and a constant E that represents the number of equations in that system. This macro is used to make sure that E is always set correctly for your type of physics, while also giving you a useful type alias to make your code look more generic than it actually is.