Skip to content

Conversation

leo-collins
Copy link
Contributor

@leo-collins leo-collins commented Sep 26, 2025

An attempt to clean up interpolation code. Currently includes #4582. So far:

  • Removed interp_data dictionary in favour of the InterpolateOptions dataclass. We get type hinting, better IDE support, single source of truth for these options.
  • Interpolator becomes an internal object. I removed the __new__ method and dispatch instead with a get_interpolator function.
  • We can now matfree adjoint interpolate cross-mesh and VomOntoVom. The renumbering malarkey is completely removed.
  • Can now assemble cross-mesh interpolation operators, both forward and adjoint.

@leo-collins leo-collins force-pushed the leo/refactor_interpolate branch from 6d080b1 to 0934e61 Compare October 16, 2025 12:32
@leo-collins leo-collins force-pushed the leo/refactor_interpolate branch from 49b1760 to cc0276b Compare October 16, 2025 14:52
@leo-collins leo-collins force-pushed the leo/refactor_interpolate branch from cc0276b to 15bdd53 Compare October 16, 2025 14:57
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.

4 participants