Skip to content

Conversation

@FathimaCSgithub
Copy link
Contributor

@FathimaCSgithub FathimaCSgithub commented Dec 2, 2025

gas_and_dust_particles Sarracen dataframes for the unit tests were created based on this image.
  • The solid red circles represent gas particles.
  • The blue dots represent dust particles.
  • The pink circles represent the smoothing lengths of the gas particles
  • The blue circles represent the smoothing lengths of the dust particles
  • Gas particle 1 and dust particle 2 are neighbours of each other
  • Gas particle 0 is a neighbour of dust particle 1, but dust particle 1 is not a neighbour of gas particle 0
  • Gas particle 2 is not a neighbour of dust particle 0, but dust particle 0 is a neighbour of gas particle 1
image image

Testing on differing number of dust and gas particles
Same dataset with one more dust particle. Dust particle 4 is a neighbour of gas particle 2 but gas particle 2 is not a neighbour of dust particle 4

image image

@ttricco ttricco changed the base branch from main to 2f-stokes December 5, 2025 02:20
@FathimaCSgithub
Copy link
Contributor Author

FathimaCSgithub commented Dec 8, 2025

Made a bare bones unit test based on the image in the PR description

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.

2 participants