feat(composition): added ability to change composition modes

This commit is contained in:
2025-03-25 13:01:22 -04:00
parent 95e4d10c59
commit e850f78831
3 changed files with 50 additions and 0 deletions

View File

@@ -403,6 +403,12 @@ namespace composition{
*/
Composition subset(const std::vector<std::string>& symbols, std::string method="norm") const;
/**
* @brief Sets the composition mode.
* @param massFracMode True if mass fraction mode, false if number fraction mode.
*/
void setCompositionMode(bool massFracMode);
/**
* @brief Overloaded output stream operator for Composition.
* @param os The output stream.