Skip to content

Grav3D use SpatialDomainProps - #525

Open
mabruzzo wants to merge 7 commits into
cholla-hydro:devfrom
mabruzzo:grav-use-spatial_domain_props
Open

mabruzzo wants to merge 7 commits into
cholla-hydro:devfrom
mabruzzo:grav-use-spatial_domain_props

Conversation

@mabruzzo

@mabruzzo mabruzzo commented Jul 7, 2026 •

Copy link
Copy Markdown
Collaborator

This is a small, straight-forward PR to make Grav3D directly store a copy of SpatialDomainProps.

Currently, all of the members of SpatialDomainProps are also listed as members of Grav3D (this was an intentional choice back when I made it possible to initialize particles without Gravity). This is just some long overdue cleanup (it's been on my todo list for quite a while).


There is a minor merge conflict with PR #521 -- I'm happy to resolve those conflicts in whatever order they are merged


Longer term, I would also like to store a copy of SpatialDomainProps within Particles3D; currently, copies of all of SpatialDomainProps's data members are stored within the Particles3D::Grid type (the names are all consistent too). But, that's somewhat beyond the scope of this PR.

@mabruzzo mabruzzo changed the title WIP: Grav3D use SpatialDomainProps Grav3D use SpatialDomainProps Jul 7, 2026
@mabruzzo mabruzzo mentioned this pull request Jul 7, 2026
@mabruzzo
mabruzzo force-pushed the grav-use-spatial_domain_props branch 2 times, most recently from 6402ba2 to 62a3327 Compare August 31, 2026 14:41
@mabruzzo
mabruzzo force-pushed the grav-use-spatial_domain_props branch from 62a3327 to 859d0af Compare August 31, 2026 14:41

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant