Skip to content

Conversation

@cindytsai
Copy link
Collaborator

Enhancements

  • Support dimensionality 2 and 1. Previously, only dimensionality 3 is supported.

Fix Bug

  • Fix index conversion when dealing with remote memory access and using derived field. (This bug was accidentally introduced when I was refactoring.)
  • GitHub Action drop the support for runner ubuntu-20.04, which we use it to test Python3.7.

cindytsai added 20 commits March 6, 2025 22:18
It still uses derived_func(const int, const long*, const char*, yt_array*) as the interface for the simulation for 2dim, though the last element will be empty.
…t used.

Is there a way to properly wrap different data structure in GetLocalFieldData. Currently, contiguous_in_x is not used in AmrDataArray1D. I added it so that I don't have to explicitly make another GenerateLocalFieldData for 1D.
This is because based on the dimensionality, we need to instantiate different data class and rma.
[Bug] there is a bug of swapping axis when wrapping while GenerateLocalFieldData already did that.
@cindytsai cindytsai merged commit bede378 into yt-project:main Jun 7, 2025
32 checks passed
@cindytsai cindytsai deleted the dim branch June 7, 2025 21:12
cindytsai added a commit that referenced this pull request Jun 18, 2025
Support Dim 2/1 and Fix Bug
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.

1 participant