Skip to content

Adding ti index to the ravelled particle index too#1881

Closed
erikvansebille wants to merge 3 commits intov4-devfrom
adding_ti_to_raveled_index
Closed

Adding ti index to the ravelled particle index too#1881
erikvansebille wants to merge 3 commits intov4-devfrom
adding_ti_to_raveled_index

Conversation

@erikvansebille
Copy link
Copy Markdown
Member

@erikvansebille erikvansebille commented Feb 26, 2025

This PR builds on #1878 by also moving the time (ti) index into the ravelled index ei. This further reduces the memory footprint of the Particle Class, by dropping another Variable

  • Chose the correct base branch (main for v3 changes, v4-dev for v4 changes)
  • check where/why ti=-1 is set/used, and ideally remove that

Base automatically changed from 1874-ravel-unravel-index to v4-dev February 26, 2025 16:12
In the event that ti=-1, the `ei` attribute will be negative. While we want to capture the negative value for `ti`, all spatial indices ought to be positive.
@erikvansebille erikvansebille mentioned this pull request Feb 27, 2025
1 task
@erikvansebille
Copy link
Copy Markdown
Member Author

Closing as superseded by #1891

@github-project-automation github-project-automation bot moved this from Backlog to Done in Parcels development Feb 27, 2025
@github-project-automation github-project-automation bot moved this from In review to Done in Parcels v4 release Feb 27, 2025
@erikvansebille erikvansebille deleted the adding_ti_to_raveled_index branch March 5, 2025 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants