Skip to content

Commit

Permalink
Merge pull request #109 from ECP-WarpX/plot_fine
Browse files Browse the repository at this point in the history
Allow to plot the fine mesh, even with only one level
  • Loading branch information
RemiLehe authored Apr 30, 2019
2 parents 3eee555 + 7ac906e commit e80b825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/WarpX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,8 @@ WarpX::ReadParameters ()
AMREX_ALWAYS_ASSERT_WITH_MESSAGE(do_dive_cleaning,
"plot_F only works if warpx.do_dive_cleaning = 1");
}
pp.query("plot_finepatch", plot_finepatch);
if (maxLevel() > 0) {
pp.query("plot_finepatch", plot_finepatch);
pp.query("plot_crsepatch", plot_crsepatch);
}

Expand Down

0 comments on commit e80b825

Please sign in to comment.