test(tests/eos): added test for composition module mode

This commit is contained in:
2025-06-17 08:18:06 -04:00
parent 3961c745e3
commit bc548ed311
3 changed files with 23 additions and 6 deletions

View File

@@ -54,7 +54,7 @@ namespace serif::eos {
std::string name; ///< Name of the parameter (e.g., "Pressure", "Energy", "Entropy").
friend std::ostream& operator<<(std::ostream& os, const EOSParameter& param) {
os << std::setprecision(3) << "<EOSParameter (" << param.name << "): " << param.total << " (gas: " << param.gas
os << std::setprecision(5) << "<EOSParameter (" << param.name << "): " << param.total << " (gas: " << param.gas
<< ", radiation: " << param.radiation << ") "
<< "d/dRho: " << param.dDensity << ", d/dT: " << param.dTemperature
<< ", d/dAbar: " << param.dMeanAtomicMassNumber