mirror of
https://github.com/aselimov/cea-rs.git
synced 2026-04-21 09:24:21 +00:00
Simple gauss-jordan solver
This commit is contained in:
parent
6fa468ca6c
commit
8805b76535
3 changed files with 212 additions and 1 deletions
|
|
@ -15,7 +15,6 @@ pub struct GasMixture {
|
|||
|
||||
impl GasMixture {
|
||||
// Calculate the normalized chemical potential (μ/RT) for each component in the mixture.
|
||||
//
|
||||
// Equations 2.11 from reference paper
|
||||
pub fn gas_chem_potentials_over_rt(&self, temp: f64, pressure: f64) -> Vec<f64> {
|
||||
self.ns
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue