-
Notifications
You must be signed in to change notification settings - Fork 351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow plotting only a subset of Amr levels #2825
Conversation
I think we need to update this line too. amrex/Src/Amr/AMReX_AmrLevel.cpp Line 221 in 47347f7
|
My suggestion is to revert the function interface change of |
Updated
I think the reason I did it this way is that writePlotFileDoIt doesn't know whether it's a small plot file or a full plot file. But I solved this problem for now by getting rid of small_plot_max_level, it seems unnecessary to have separate controls for both kinds of plotfiles for this particular feature. |
Summary
If the user would like to limit plotfile size on disk, they can plot only a subset of the levels -- this should still be an accurate (though lower resolution) representation of the fluid state since the state is averaged down at the end of the timestep.
fcompare is also updated to allow comparing between plotfiles with different numbers of levels.
Checklist
The proposed changes: