Skip to content

Many to one fixes#5

Merged
d-montgomery merged 6 commits intod-montgomery:many-to-onefrom
baperry2:many-to-one-fixes
Feb 16, 2026
Merged

Many to one fixes#5
d-montgomery merged 6 commits intod-montgomery:many-to-onefrom
baperry2:many-to-one-fixes

Conversation

@baperry2
Copy link
Copy Markdown

@baperry2 baperry2 commented Feb 13, 2026

This graphic summarizes the issue we currently have with many-to-one + Manifold (don't know num_chemspecies from the manifold a priori to allocate the right amount of memory on GPU):

Screenshot 2026-02-13 at 4 22 26 PM

The implemented fix is a little bit different than outlined in the figure. A modification is made so that, when spray is active, the routines to get chemspecies from the manifold model only return the chemspecies involved in spray phase change. This ensures that num_chemspecies <= SPRAY_FUEL_NUM, so we can always be sure to allocate enough space for the data.

Copy link
Copy Markdown
Owner

@d-montgomery d-montgomery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. I'm not sure what to do about the comment you made in Drag.H for when mass_trans=false. I haven't done any testing with this flag, and to be honest don't really know when it would be needed?

@baperry2 baperry2 marked this pull request as ready for review February 16, 2026 23:01
@d-montgomery d-montgomery merged commit cd986b1 into d-montgomery:many-to-one Feb 16, 2026
@baperry2 baperry2 deleted the many-to-one-fixes branch February 16, 2026 23:05
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