From 08998aebce8fae71af7c6ef15df07f97c65a46ee Mon Sep 17 00:00:00 2001 From: cgilet Date: Wed, 3 Apr 2024 14:01:24 -0400 Subject: [PATCH] fix fillpatch_tracer for m_ntrac>1 --- src/boundary_conditions/incflo_fillpatch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boundary_conditions/incflo_fillpatch.cpp b/src/boundary_conditions/incflo_fillpatch.cpp index aa5f072c..e8c8e858 100644 --- a/src/boundary_conditions/incflo_fillpatch.cpp +++ b/src/boundary_conditions/incflo_fillpatch.cpp @@ -87,7 +87,7 @@ void incflo::fillpatch_tracer (int lev, Real time, MultiFab& tracer, int ng) FillPatchSingleLevel(tracer, IntVect(ng), time, {&(m_leveldata[lev]->tracer_o), &(m_leveldata[lev]->tracer)}, - {m_t_old[lev], m_t_new[lev]}, 0, 0, 1, geom[lev], + {m_t_old[lev], m_t_new[lev]}, 0, 0, m_ntrac, geom[lev], physbc, 0); } else { const auto& bcrec = get_tracer_bcrec();