Skip to content

Extract get_combined_ibc_face_mask helper for IBC and pedestal face masking. - #2960

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1031393119
Open

copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1031393119

Conversation

@copybara-service

Copy link
Copy Markdown

Extract get_combined_ibc_face_mask helper for IBC and pedestal face masking.

  • Add transport_model.get_combined_ibc_face_mask() combining active IBC pedestal faces and InternalBoundaryConditions.get_ibc_only_face_mask().
  • Deduplicate core transport domain masking, core smoothing masking, and Pereverzev-Corrigan masking through this helper.
  • Add parameterized unit tests covering L-mode vs. H-mode, single-cell vs. edge-band IBCs, and the union of pedestal and IBC face masks.

… masking.

- Add `transport_model.get_combined_ibc_face_mask()` combining active IBC pedestal faces and `InternalBoundaryConditions.get_ibc_only_face_mask()`.
- Deduplicate core transport domain masking, core smoothing masking, and Pereverzev-Corrigan masking through this helper.
- Add parameterized unit tests covering L-mode vs. H-mode, single-cell vs. edge-band IBCs, and the union of pedestal and IBC face masks.

PiperOrigin-RevId: 1031393119
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