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

Refactor SphericalVector interpolation method to use array::ArrayViewVariant. #227

Merged

Conversation

odlomax
Copy link
Contributor

@odlomax odlomax commented Sep 25, 2024

This is the last of this batch of PRs that refactors the SphericalVector interpolation method. Here we've used std::visit on ArrayViewVariant to resolve the rank and type of the arrays instead of several verbose if statements and function overloads.

This PR depends on PRs #220, #223, #224 and #226. It closes issue #217.

@odlomax odlomax force-pushed the feature/refactor_spherical_vector branch 2 times, most recently from a065858 to 5098968 Compare October 14, 2024 10:04
Copy link
Member

@wdeconinck wdeconinck left a comment

Choose a reason for hiding this comment

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

nice!

@wdeconinck wdeconinck merged commit 6a87b21 into ecmwf:develop Oct 14, 2024
159 checks passed
wdeconinck added a commit that referenced this pull request Nov 18, 2024
* release/0.40.0: (40 commits)
  Update changelog
  Version 0.40.0
  Add hicLaunchHostFunc for async host functions
  Add test for various use cases of StructuredInterpolation2D with limiter
  Implement StructureInterpolation2D for 3-dimensional fields with extra variables)
  Fix application of limiter for StructuredInterpolation2D
  Protect atlas_test_array_view_variant to eckit v 1.27.0
  Move example-fortran inside atlas_HAVE_DOCS (#235)
  Fix possible device-memory leak in WrappedDataStore (fixes #234)
  add device data on FieldSet
  Add test for fieldset device operators
  Add fieldset device operators
  Update fctest_field_gpu to test acc deviceptr
  Update test_field_acc to test acc deviceptr
  Add device_data Fortran access to Field
  Refactored spherical vector interpolation method. (#227)
  Refactored (un)pack_vector_fields. (#226)
  Integrate `pack_vector_fields` into `SphericalVector` Interpolation method. (#224)
  Fixed ordering of fixup_halos and halo_exhange in StructuredColumns.cc (#223)
  Tidied headers and error message. (#231)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants