Commit Graph

10 Commits

Author SHA1 Message Date
8269c35405 fix(src): updated to compile on gcc and clang
gcc disallows some constexprs that work in clang, these have been removed to that SERiF compiles on gcc and clang
2025-06-17 10:12:07 -04:00
0cfb020a8c refactor(network): updated network and network::approx8 to use composition module
This is a very basic wrapper implimentation currently. This is sufficient to lock the interface down so that other code can target it. However, internally there is just a "convert" function. Eventually we should rework the code itself to use the composition module more directly.
2025-06-17 09:43:43 -04:00
3961c745e3 fix(eos): fixed calculation of mean atomic number 2025-06-17 08:12:41 -04:00
cf25c54cda feat(eos): EOS now uses composition module
EOS code updated to make use of composition module. This is part of the larger change to change all composition handling to use the composition module. Note that the current implimentation is a bit hacky since it simply copies back and forth to the alredy used HELMEOSInput and HELMEOSOutput structs. In furture this can be more tightly connected to avoid extra copies.
2025-06-16 15:00:33 -04:00
6e4ff1ece9 refactor(serif): refactored entire codebase into serif and sub namespaces 2025-06-11 14:49:11 -04:00
30a6cb074f docs(src): updated file headers 2025-04-21 08:56:45 -04:00
edd4c04c64 feat(composition): added mix method to combine compositions. Also overloaded the + operator to mix with an assumed fraction of 50/50 2025-03-26 08:07:11 -04:00
0e9a7df381 feat(composition): added ability to change composition modes 2025-03-25 13:01:22 -04:00
cb33f75e0c feat(composition): added numberFrac methods and subset method
Composition can now be placed in either number fraction or mass fraction mode and can (after finalization) convert between them. Subsets of compositions can also be made. Normalization has also been added to finalize. Tests have been added
2025-03-25 12:49:37 -04:00
cd022a1f9a feat(composition): added composition class
in order to get composition in a standardized way anywhere in the code we now have a composition class
2025-03-24 12:58:30 -04:00