feat(EnginePartitioningTrigger): update trigger

Engine Partitioning trigger now properly throws on both increased convergence failures and a timestep collapse (timestep collapsing more than a factor of 1/100th the average value for the past 10 steps)
This commit is contained in:
2025-11-10 13:05:24 -05:00
parent 8be36b9ce0
commit 741a11d256
3 changed files with 17 additions and 17 deletions

View File

@@ -150,7 +150,7 @@ namespace gridfire::solver {
) {
LOG_TRACE_L1(m_logger, "Starting solver evaluation with T9: {} and rho: {}", netIn.temperature/1e9, netIn.density);
LOG_TRACE_L1(m_logger, "Building engine update trigger....");
auto trigger = trigger::solver::CVODE::makeEnginePartitioningTrigger(1e12, 1e10, 1, true, 10);
auto trigger = trigger::solver::CVODE::makeEnginePartitioningTrigger(1e12, 1e10, 0.01, 10);
LOG_TRACE_L1(m_logger, "Engine update trigger built!");