Skip to content

Commit

Permalink
Fix InitialRedistribution for ntrac >1
Browse files Browse the repository at this point in the history
  • Loading branch information
cgilet committed Mar 27, 2024
1 parent 69f54a7 commit 6deefa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/setup/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ incflo::InitialRedistribution ()
if (m_advect_tracer)
{
ld.tracer.FillBoundary(geom[lev].periodicity());
MultiFab::Copy(ld.tracer_o, ld.tracer, 0, 0, 1, ld.tracer.nGrow());
MultiFab::Copy(ld.tracer_o, ld.tracer, 0, 0, m_ntrac, ld.tracer.nGrow());
fillpatch_tracer(lev, m_t_new[lev], ld.tracer_o, 3);
}

Expand Down

0 comments on commit 6deefa8

Please sign in to comment.