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 serial numeric initial data loading #6279

Merged
merged 4 commits into from
Sep 14, 2024

Conversation

nilsvu
Copy link
Member

@nilsvu nilsvu commented Sep 7, 2024

Proposed changes

Adds a NumericData class that can be used in place of analytic data. It just loads the requested tags from numeric volume data files, just like the SpEC or FUKA initial data classes. It's an easy alternative to the parallel numeric data reader. See the docs in this PR for advantages and caveats.

Upgrade instructions

Code review checklist

  • The code is documented and the documentation renders correctly. Run
    make doc to generate the documentation locally into BUILD_DIR/docs/html.
    Then open index.html.
  • The code follows the stylistic and code quality guidelines listed in the
    code review guide.
  • The PR lists upgrade instructions and is labeled bugfix or
    new feature if appropriate.

Further comments

@nilsvu nilsvu changed the title Add tensor overload to interpolate_to_points Add tensor overload to interpolate_to_points, make loading numeric initial data easier Sep 9, 2024
@nilsvu nilsvu changed the title Add tensor overload to interpolate_to_points, make loading numeric initial data easier Add serial numeric initial data loading option Sep 9, 2024
@nilsvu nilsvu changed the title Add serial numeric initial data loading option Add serial numeric initial data loading Sep 9, 2024
Copy link
Member

@nilsdeppe nilsdeppe left a comment

Choose a reason for hiding this comment

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

You can squash and rebase immediately

* classes for the executable.
* - The data is interpolated and returned in serial, just like analytic data.
* - The data can be re-interpolated to any set of points on request, which is
* an easy way to handle AMR or domain other changes.
Copy link
Member

Choose a reason for hiding this comment

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

domain other changes -> other domain changes

@nilsdeppe
Copy link
Member

This is the PR that I asked about the XCTS KS failure test about. Please feel free to merge when you think it's ready, @nilsvu

@nilsvu nilsvu merged commit 66aed93 into sxs-collaboration:develop Sep 14, 2024
22 of 23 checks passed
@nilsvu nilsvu deleted the id_import branch September 14, 2024 04:34
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.

2 participants