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

Paraview grid parallel sort #299

Merged
merged 16 commits into from Nov 29, 2021

Conversation

tjotaha
Copy link
Contributor

@tjotaha tjotaha commented Nov 17, 2021

Purpose

Enhancements to the Sparta ParaView tools to allow processing of very large refined grids in parallel.

Author(s)

Thomas Otahal (tjotaha@sandia.gov)

Backward Compatibility

Backwards compatible

Implementation Notes

Provide any relevant details about how the changes are implemented, how correctness was verified, how other features - if any - in SPARTA are affected

Post Submission Checklist

Please check the fields below as they are completed

  • The feature or features in this pull request is complete
  • Suitable new documentation files and/or updates to the existing docs are included
  • One or more example input decks are included
  • The source code follows the SPARTA formatting guidelines

Further Information, Files, and Links

Put any additional information here, attach relevant text or image files, and URLs to external sites (e.g. DOIs or webpages)

tjotaha and others added 16 commits July 15, 2021 01:48
Created mpi4py based bucket sort implementation
and associated unit tests.
Added API in SpartaGridFile to skip input lines when
reading in parallel.
Option to parallel bucket sort can enable file based
buckets in addition to memory.
Can either read from existing sorted grid file files
or call parallel bucket sort to files if files do not
exist.
grid2paraview produces unstructured grid output files
on each processor for 2d and 3d input cases.
Use vtkMergePoints point locator to reduce memory
usage when creating unstructured grid on each MPI rank.
Fixed bug when creating grid with no flow file input.
Added more status information to output when
reading flow files.
Use global ids array to get cell indices during flow
file read rather than create additional dictionary.
Removed global ids array when not writing any flow
file data.
Added command line options to output only select
flow file variables and control use of float or
double precision in flow file output cell arrays.
Switched global_ids to use Python dict instead
of a vtkDataArray for faster search.
Created README for grid2paraview_cells.py

Changed grid2paraview_cells.py to exit with
an error message when names given with the
--variable option are not found in the flow files.
@stanmoore1 stanmoore1 self-requested a review November 29, 2021 16:21
@stanmoore1 stanmoore1 self-assigned this Nov 29, 2021
Copy link
Contributor

@stanmoore1 stanmoore1 left a comment

Choose a reason for hiding this comment

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

Thanks @tjotaha!

@stanmoore1 stanmoore1 merged commit 60eb55a into sparta:master Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants