Skip to content

Numerous bug fixes for field function and interpolation routines#1014

Merged
wdhawkins merged 1 commit intoOpen-Sn:mainfrom
wdhawkins:ff_fixes
Apr 6, 2026
Merged

Numerous bug fixes for field function and interpolation routines#1014
wdhawkins merged 1 commit intoOpen-Sn:mainfrom
wdhawkins:ff_fixes

Conversation

@wdhawkins
Copy link
Copy Markdown
Collaborator

This PR includes the following fixes and updates:

  1. Removes unused global field function and interpolation volume stacks from runtime.
  2. Removes unused field function routines GetFieldFunctions and GetFieldFunctionsByName.
  3. Makes interpolation routines explicitly single ff (previously it stored a vector of ff but only used front).
  4. Removes interpolation Initialize routine. Execute now calls Initialize so internal state is always consistent.
  5. GetPointValue throws if no cell containing the specified point is found.
  6. Fixes MPI reduction for GetPointValue to correctly handle multi-component field functions.
  7. Fixes line and volume interpolators to account for empty local contributions.
  8. Fixes line and volume interpolators to clear cached state.
  9. Validates line interpolation with fewer than 2 points.
  10. Fixes line interpolation so that points on shared boundaries are not double counted.
  11. Adds SetPointOfInterest to Python API so that point ff is usable.
  12. Updates Python API documentation.
  13. Updates regression tests to remove deprecated Initialize method.

@wdhawkins wdhawkins self-assigned this Apr 5, 2026
@wdhawkins wdhawkins added maintenance Code maintenance task bug-fix PR fixing a bug labels Apr 5, 2026
…luding:

1. Removing unused global field function and interpolation volume stacks from runtime.
2. Removing unused field function routines GetFieldFunctions and GetFieldFunctionsByName.
3. Made interpolation explicity single ff (previously it stored a vector of ff but only used front).
4. Removed intepolation Initialize routine. Execute now calls Initialize so internal state is always consistent.
5. GetPointValue now throws if no cell containing the specified point is found.
6. Fixed MPI reduction for GetPointValue to correctly handle multi-component field functions.
7. Fixed line and volume interpolators to account for empty local contributions.
8. Fixed line and volume interpolators to clear cached state.
9. Validate line interpolation with fewer than 2 points.
10. Fixed line interpolation so that points on shared boundaries are not double counted.
11. Adding SetPointOfInterest to Python API so that point ff is usable.
12. Updated Python API documentation.
13. Updated regression tests to remove deprecated Initialize method.
@wdhawkins wdhawkins merged commit 9bf1777 into Open-Sn:main Apr 6, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix PR fixing a bug maintenance Code maintenance task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants