2026-03-26 23:47:57 -04:00
|
|
|
pub enum Phase {
|
|
|
|
|
Gas,
|
|
|
|
|
Condensed,
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-28 22:56:36 -04:00
|
|
|
pub struct SpeciesThermoData {
|
2026-03-26 23:47:57 -04:00
|
|
|
pub name: String,
|
|
|
|
|
pub elements: Vec<SpeciesElement>,
|
|
|
|
|
pub phase: Phase,
|
2026-03-28 22:56:36 -04:00
|
|
|
pub polynomials: Vec<ThermoPolynomial>,
|
2026-03-26 23:47:57 -04:00
|
|
|
pub molecular_weight: f64,
|
|
|
|
|
pub h_formation: f64,
|
|
|
|
|
}
|
2026-03-28 22:56:36 -04:00
|
|
|
pub struct ThermoPolynomial {
|
2026-03-26 23:47:57 -04:00
|
|
|
pub a: Vec<f64>,
|
|
|
|
|
pub temp_range: (f64, f64),
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pub struct SpeciesElement {
|
|
|
|
|
pub element: String,
|
|
|
|
|
pub count: f64,
|
|
|
|
|
}
|