-
Notifications
You must be signed in to change notification settings - Fork 70
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
output_partial_domain for post-processing #768
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #768 +/- ##
==========================================
- Coverage 44.72% 44.70% -0.02%
==========================================
Files 62 62
Lines 17555 17599 +44
Branches 2044 2056 +12
==========================================
+ Hits 7851 7868 +17
- Misses 8439 8465 +26
- Partials 1265 1266 +1 ☔ View full report in Codecov by Sentry. |
@ChrisZYJ thanks this appears very useful! I'm curious if this works for a couple different scenarios (have you verified):
|
It works with stretched grids and both serial and parallel outputs. However, it only works for format == 2 (binary) and not format == 1 (silo). The silo format requires more careful data handling, so perhaps that could be completed in another PR. I've documented the scenarios where it doesn't work yet in the documentation and added prohibitions in the checkers. |
@ChrisZYJ thanks this makes sense. May I ask how you are handling your binary output files? Matlab/Python or into Visit/Paraview? I think this would be useful to either document or perhaps even put a helper script in the |
I've been doing it in Matlab using the |
Thanks @ChrisZYJ. I find using the binary files rather annoying. If we had a more broad way of doing it (and could suggest to the user when and how to do it) that would be useful. I'm glad to merge the PR but we have two big PRs that are very near merging that I don't want to disrupt. Hopefully can merge this in a couple days. |
Yeah, I also find binary files quite cumbersome to work with. While I'm not sure what a broader way to handle them would be, I can add some documentation and helper scripts in another PR if you find those helpful. I'm in no hurry to merge. This PR should be quite independent from everything else, and I could easily merge it into them later if needed. |
That would be very useful indeed. I hope to merge this soon but don't want to risk messing up these larger long-standing PRs right now. |
Description
Adds an option to output only part of the domain during post-processing.
Type of change
Scope
How Has This Been Tested?
Checklist
docs/
)examples/
that demonstrate my new feature performing as expected.They run to completion and demonstrate "interesting physics"
./mfc.sh format
before committing my code