-
Notifications
You must be signed in to change notification settings - Fork 593
Adding vtkhdf option to write vtk data #3252
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
Merged
paulromano
merged 24 commits into
openmc-dev:develop
from
shimwell:adding_hdf_option_to_write_vtk_data
Nov 5, 2025
Merged
Changes from 16 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
b295f4a
added option to write vtkhdf files for umesh
jon-proximafusion f1ee07d
testing data shape
shimwell 52e6b8a
improved tests, added match string
shimwell b2c775c
skip single test if no dagmc
shimwell aa13835
review improvements by mwestphal
jon-proximafusion 177e8dc
changed .hdf to .vtkhdf
shimwell ba4c097
changed .hdf to .vtkhdf
shimwell 6f397fd
using vtk mob mesh not vtk output mesh
shimwell 2426da8
moved data check earlier to avoid empty file creation
jon-proximafusion 0859e7a
merge conflict resolve
shimwell 1bb33e6
minimal git diff
shimwell d746783
removed print line
shimwell bdc3a6e
added value error for unsupported file suffix
shimwell ef4858d
Merge branch 'develop' into adding_hdf_option_to_write_vtk_data
jon-proximafusion 70203b7
[skip ci] improved comments from code review
shimwell 098d790
write_data_to_vtk split into 2 functions
shimwell 698d1c6
[skip ci] Apply suggestions from code review
shimwell da337a0
review comments on vtkhdf
shimwell 0cd21ed
corrected function name to vtkhdf
shimwell 27157b6
added missing self
shimwell 226d181
Updates to test_mesh. Adding symbolic link to file for less verbose f…
pshriwise b8a7273
Correct call to internal method for non-hdf file formats
pshriwise b4a8159
Comment updates and simplifying PR diff
pshriwise 3c71dec
Small fixes
paulromano File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
159 changes: 159 additions & 0 deletions
159
tests/regression_tests/unstructured_mesh/test_mesh_dagmc_tets.vtk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,159 @@ | ||
| # vtk DataFile Version 2.0 | ||
| made_with_cad_to_dagmc_package, Created by Gmsh 4.12.1 | ||
| ASCII | ||
| DATASET UNSTRUCTURED_GRID | ||
| POINTS 14 double | ||
| -0.5 -0.5 0.5 | ||
| -0.5 -0.5 -0.5 | ||
| -0.5 0.5 0.5 | ||
| -0.5 0.5 -0.5 | ||
| 0.5 -0.5 0.5 | ||
| 0.5 -0.5 -0.5 | ||
| 0.5 0.5 0.5 | ||
| 0.5 0.5 -0.5 | ||
| -0.5 0 0 | ||
| 0.5 0 0 | ||
| 0 -0.5 0 | ||
| 0 0.5 0 | ||
| 0 0 -0.5 | ||
| 0 0 0.5 | ||
|
|
||
| CELLS 68 268 | ||
| 1 0 | ||
| 1 1 | ||
| 1 2 | ||
| 1 3 | ||
| 1 4 | ||
| 1 5 | ||
| 1 6 | ||
| 1 7 | ||
| 2 1 0 | ||
| 2 0 2 | ||
| 2 3 2 | ||
| 2 1 3 | ||
| 2 5 4 | ||
| 2 4 6 | ||
| 2 7 6 | ||
| 2 5 7 | ||
| 2 1 5 | ||
| 2 0 4 | ||
| 2 3 7 | ||
| 2 2 6 | ||
| 3 1 0 8 | ||
| 3 0 2 8 | ||
| 3 3 1 8 | ||
| 3 2 3 8 | ||
| 3 5 9 4 | ||
| 3 4 9 6 | ||
| 3 7 9 5 | ||
| 3 6 9 7 | ||
| 3 0 1 10 | ||
| 3 4 0 10 | ||
| 3 1 5 10 | ||
| 3 5 4 10 | ||
| 3 2 11 3 | ||
| 3 6 11 2 | ||
| 3 3 11 7 | ||
| 3 7 11 6 | ||
| 3 1 3 12 | ||
| 3 5 1 12 | ||
| 3 3 7 12 | ||
| 3 7 5 12 | ||
| 3 0 13 2 | ||
| 3 4 13 0 | ||
| 3 2 13 6 | ||
| 3 6 13 4 | ||
| 4 13 8 12 10 | ||
| 4 11 8 12 13 | ||
| 4 12 11 13 9 | ||
| 4 10 12 13 9 | ||
| 4 12 3 11 7 | ||
| 4 13 2 8 0 | ||
| 4 8 12 1 3 | ||
| 4 11 3 8 2 | ||
| 4 10 8 1 0 | ||
| 4 0 10 13 4 | ||
| 4 1 12 10 5 | ||
| 4 11 2 13 6 | ||
| 4 4 9 13 6 | ||
| 4 6 9 11 7 | ||
| 4 10 9 4 5 | ||
| 4 7 9 12 5 | ||
| 4 3 8 12 11 | ||
| 4 1 12 8 10 | ||
| 4 8 11 2 13 | ||
| 4 10 13 8 0 | ||
| 4 13 10 9 4 | ||
| 4 11 13 9 6 | ||
| 4 12 11 9 7 | ||
| 4 9 10 12 5 | ||
|
|
||
| CELL_TYPES 68 | ||
| 1 | ||
| 1 | ||
| 1 | ||
| 1 | ||
| 1 | ||
| 1 | ||
| 1 | ||
| 1 | ||
| 3 | ||
| 3 | ||
| 3 | ||
| 3 | ||
| 3 | ||
| 3 | ||
| 3 | ||
| 3 | ||
| 3 | ||
| 3 | ||
| 3 | ||
| 3 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 5 | ||
| 10 | ||
| 10 | ||
| 10 | ||
| 10 | ||
| 10 | ||
| 10 | ||
| 10 | ||
| 10 | ||
| 10 | ||
| 10 | ||
| 10 | ||
| 10 | ||
| 10 | ||
| 10 | ||
| 10 | ||
| 10 | ||
| 10 | ||
| 10 | ||
| 10 | ||
| 10 | ||
| 10 | ||
| 10 | ||
| 10 | ||
| 10 |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.