Skip to content

Conversation

@wpbonelli
Copy link
Contributor

@wpbonelli wpbonelli commented Oct 10, 2025

Followup on #2546, convert PRT FMI boundary flows from flat array with fixed offset to 2D array with negative indices in the 2nd dimension (face numbers), indexed by iflowface numbering rather than by icellface. Simplifies the structured and vertex methods, no more need to compute the offset. Also define constants for top/bottom face numbers in iflowface numbering

@wpbonelli wpbonelli added code refactor Nonfunctional changes maintenance Sprucing up the code labels Oct 10, 2025
@wpbonelli wpbonelli added this to the 6.6.4 milestone Oct 10, 2025
@wpbonelli wpbonelli changed the title refactor(prt): use iflowface numbering via negative array indices refactor(prt-fmi): use negative indices for boundary flow array 2nd dim Oct 10, 2025
@wpbonelli wpbonelli marked this pull request as ready for review October 10, 2025 12:46
@wpbonelli
Copy link
Contributor Author

closing in favor of #2586

@wpbonelli wpbonelli closed this Oct 29, 2025
@wpbonelli wpbonelli deleted the negative-indices branch October 29, 2025 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code refactor Nonfunctional changes maintenance Sprucing up the code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant