Skip to content

Commit

Permalink
fix bug with indexing in plt when LES is not active (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
baperry2 authored Jan 27, 2025
1 parent 37aeb1e commit 911f72d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/PeleLMeX_Plot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -448,10 +448,9 @@ PeleLM::WritePlotFile()
+mut_arr_z[box_no](i, j, k) + mut_arr_z[box_no](i, j, k + 1)));
});
Gpu::streamSynchronize();
cnt += 1;
}

cnt += 1;

if (m_plot_extSource) {
MultiFab::Copy(mf_plt[lev], *m_extSource[lev], 0, cnt, NVAR, 0);
}
Expand Down

0 comments on commit 911f72d

Please sign in to comment.