#![cfg_attr(not(feature = "std"), no_std)]
pub mod config;
pub mod effects;
pub mod gases;
pub mod maxcap;
pub mod reactions;
#[cfg(feature = "optimizer")]
pub mod optimizer;
use crate::config::{GameConfig, Inverses};
#[derive(Debug)]
pub struct Atmosim {
pub(crate) game: GameConfig,
pub(crate) inverses: Inverses,
}
impl Default for Atmosim {
fn default() -> Self {
Self::new(GameConfig::default())
}
}
pub mod prelude {
pub use crate::{
Atmosim,
config::GameConfig,
gases::{Gas, GasMixture, Moles, gases},
maxcap::{GasContainer, GasContainerPrototype, GasContainerState},
reactions::GasReactionPrototype,
};
}