mirror of
https://github.com/aselimov/cea-rs.git
synced 2026-04-21 09:24:21 +00:00
Reorganize some code and add the start of the transport file parsing
This commit is contained in:
parent
d5ed4c7599
commit
3548d8b449
7 changed files with 281 additions and 28 deletions
|
|
@ -1,22 +0,0 @@
|
|||
pub enum Phase {
|
||||
Gas,
|
||||
Condensed,
|
||||
}
|
||||
|
||||
pub struct SpeciesPolynomial {
|
||||
pub name: String,
|
||||
pub elements: Vec<SpeciesElement>,
|
||||
pub phase: Phase,
|
||||
pub polynomials: Vec<Polynomial>,
|
||||
pub molecular_weight: f64,
|
||||
pub h_formation: f64,
|
||||
}
|
||||
pub struct Polynomial {
|
||||
pub a: Vec<f64>,
|
||||
pub temp_range: (f64, f64),
|
||||
}
|
||||
|
||||
pub struct SpeciesElement {
|
||||
pub element: String,
|
||||
pub count: f64,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue