Skip to content

Data type refactor - #2758

Draft
timfelle wants to merge 5 commits into
ExtremeFLOW:developfrom
timfelle:data_parent
Draft

timfelle wants to merge 5 commits into
ExtremeFLOW:developfrom
timfelle:data_parent

Conversation

@timfelle

@timfelle timfelle commented Sep 4, 2026 •

Copy link
Copy Markdown
Collaborator

Work on refactoring our data types. This work extends on the tensor system and unifies our array objects under a single umbrella. The array type implements storage, while specialised types create a pointer with the appropriate shape, matrix is 2D etc.

  • Abstract array_t, the parent of all arrays. Linear storage and handles the common interfaces such as allocation, device synchronisation etc.
  • Mathematical arrays moved to the array_t system. (vector, matrix, ... )
  • Significant testing needs to happen to make sure we preserve performance.

Deferred to later work.

  • Unify mathematical operations behind the shared type, keeping specialised operations separate (matrix inverse, etc).
  • Then we can discuss moving field_t to the same underlying structure.

This PR depends on #2749 #2756

@timfelle timfelle changed the title Fix hdf5 checkpoint restart exactness Data type refactor Sep 4, 2026
@timfelle timfelle self-assigned this Sep 4, 2026
@timfelle
timfelle marked this pull request as ready for review September 22, 2026 17:27
@timfelle
timfelle marked this pull request as draft September 23, 2026 07:21

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant