Added the ability to read xdmf dumps from Idefix
#336
+273
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@neutrinoceros As discussed a few days ago, here is the first implementation of a working reader to parse Idefix xdmf dumps.
While developing the HDF5 IO module on
Idefix
, I have taken a special attention to make the files contain additional attributes that make them self-contained and hence don't needdefinitions.hpp
oridefix.ini
to process the data. I am aware that my implementation is far from being the cleanest, and simply does the job for the time being. But I believe that it is a good head start and can be trimmed and matured to a polished version. I'm open to take in comments to improve this.To test, I'm using the following code with a KHI data dump from the following PR. I'm also sharing the data used in this test here in this link.
which gives the following output:
I compared this with the following ParaView output:
which seems to agree well with each other.
The
yt
code output is the following