Skip to content
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

Add capability to not perform reinterpolation #57

Merged
merged 53 commits into from
Dec 16, 2022
Merged

Add capability to not perform reinterpolation #57

merged 53 commits into from
Dec 16, 2022

Conversation

andrewwinters5000
Copy link
Member

@andrewwinters5000 andrewwinters5000 commented Nov 24, 2022

This adds the feature that Trixi2Vtk can convert h5 output files into vtu files but keep the solution data on the original grid used for computation. This should work for the DG solver as well as FDSBP.

Update: This PR also completely restructures how the testing is done. It is more stable now and no longer relies on comparing hashes which caused a lot of headaches (see here for details). Reference data files are pulled from the new repository Trixi2Vtk_reference_files.

@andrewwinters5000 andrewwinters5000 added the enhancement New feature or request label Nov 24, 2022
Copy link
Member

@sloede sloede left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for being so late about it. This is not a full review, but I am in a meeting and I wanted to relay what I have already looked at. Will continue later!

src/convert.jl Show resolved Hide resolved
src/convert.jl Outdated Show resolved Hide resolved
Copy link
Member

@ranocha ranocha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! I just have some minor suggestions

src/convert.jl Outdated Show resolved Hide resolved
src/convert.jl Outdated Show resolved Hide resolved
src/convert.jl Outdated Show resolved Hide resolved
src/convert.jl Outdated Show resolved Hide resolved
src/convert.jl Outdated Show resolved Hide resolved
test/test_2d.jl Outdated Show resolved Hide resolved
test/test_2d.jl Outdated Show resolved Hide resolved
src/convert.jl Outdated Show resolved Hide resolved
test/test_2d.jl Outdated Show resolved Hide resolved
test/test_3d.jl Outdated Show resolved Hide resolved
Copy link
Member

@sloede sloede left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! Many people will by grateful to you in the future for this much-needed improvement of the testing system 👍👍 I left a number of comments, some of which are really just suggestions (feel free to skip those you do not feel worth adressing)

src/convert.jl Outdated Show resolved Hide resolved
src/convert.jl Outdated Show resolved Hide resolved
src/convert.jl Outdated Show resolved Hide resolved
src/vtktools.jl Outdated Show resolved Hide resolved
src/vtktools.jl Outdated Show resolved Hide resolved
test/test_trixi2vtk.jl Outdated Show resolved Hide resolved
test/test_trixi2vtk.jl Show resolved Hide resolved
test/test_trixi2vtk.jl Outdated Show resolved Hide resolved
test/test_trixi2vtk.jl Show resolved Hide resolved
test/test_trixi2vtk.jl Outdated Show resolved Hide resolved
Co-authored-by: Hendrik Ranocha <[email protected]>
Co-authored-by: Michael Schlottke-Lakemper <[email protected]>
@andrewwinters5000 andrewwinters5000 linked an issue Dec 16, 2022 that may be closed by this pull request
@andrewwinters5000
Copy link
Member Author

Great work! Many people will by grateful to you in the future for this much-needed improvement of the testing system

I assume you are one such person 😉

Copy link
Member

@ranocha ranocha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥳

Copy link
Member

@sloede sloede left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks!

src/vtktools.jl Outdated Show resolved Hide resolved
@sloede sloede merged commit 2170dee into main Dec 16, 2022
@sloede sloede deleted the convert-raw branch December 16, 2022 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keep VTI format?
3 participants