Skip to content

Commit

Permalink
max press AT temp
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahm-LANL committed Jan 9, 2025
1 parent 47445a4 commit 369dae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion singularity-eos/closure/mixed_cell_models.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ class PTESolverPT : public mix_impl::PTESolverBase<EOSIndexer, RealIndexer> {
}
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])));
}

Expand Down

0 comments on commit 369dae4

Please sign in to comment.