From 369dae4ca0ef75cbab113c25c81602e429d4d9ef Mon Sep 17 00:00:00 2001 From: Jonah Miller Date: Thu, 9 Jan 2025 12:33:39 -0700 Subject: [PATCH] max press AT temp --- singularity-eos/closure/mixed_cell_models.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/singularity-eos/closure/mixed_cell_models.hpp b/singularity-eos/closure/mixed_cell_models.hpp index ca4dc7f575..a17fd84043 100644 --- a/singularity-eos/closure/mixed_cell_models.hpp +++ b/singularity-eos/closure/mixed_cell_models.hpp @@ -939,7 +939,7 @@ class PTESolverPT : public mix_impl::PTESolverBase { } for (int m = 0; m < nmat; ++m) { Real Ttest = (Tequil + scale * dx[0]) * Tnorm; - Real Pmax = eos[m].MaximumPressureFromTemperature(Ttest); + Real Pmax = eos[m].MaximumPressureAtTemperature(Ttest); scale = std::min(std::abs(scale), std::abs(0.95 * bounded(Pmax, dx[0]))); }