changing the default FlashTolerance to be 1.e-8

the original value 1.e-12 is never used with the code before.
This commit is contained in:
Kai Bao 2025-01-14 12:57:21 +01:00
parent e31b9784fd
commit 359915819b

View File

@ -231,7 +231,7 @@ public:
("Method for solving vapor-liquid composition. Available options include: "
"ssi, newton, ssi+newton");
Parameters::SetDefault<Parameters::FlashTolerance<Scalar>>(1e-12);
Parameters::SetDefault<Parameters::FlashTolerance<Scalar>>(1.e-8);
Parameters::SetDefault<Parameters::EnableIntensiveQuantityCache>(true);
// since thermodynamic hints are basically free if the cache for intensive quantities is