commit 02d2e9f50b50d4a080536883eec033a0b6d933c2 Author: Alex Selimov Date: Thu Mar 26 10:38:26 2026 -0400 Initial commit diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..794ff49 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "cea-rs" +version = "0.1.0" +edition = "2024" + +[dependencies] diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..3d12032 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 aselimov + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..4277dfd --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +# cea-rs 🚀🦀 + +[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) + +This is a rust port of the Chemical Equilibrium with Applications method. +Code was generally developed following the approach described in and not really from referencing the [NASA open source codebase](https://github.com/nasa/cea). + +>Gordon, S., & McBride, B. J. (1994). Computer program for calculation of complex chemical equilibrium compositions and applications. Part 1: Analysis (No. NAS 1.61: 1311). + +## Completeness + +Below are the list of solvers in CEA and whether they are currently supported or not: + +- [] TP, HP, SP +- [] TV, UV, SV +- [] CJ detonation +- [] shock +- [] rocket + +## License + +This project is licensed under the [MIT License](LICENSE). diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}