Skip to content

BUG: Use the array-kind API of the array selection parameters - #7

Merged
imikejackson merged 2 commits into
developfrom
issue/simplnx_issue_1833
Dec 3, 2026
Merged

imikejackson merged 2 commits into
developfrom
issue/simplnx_issue_1833

Conversation

@imikejackson

@imikejackson imikejackson commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Updates the MTRSim filters to the array-kind API of the array selection parameters in BlueQuartzSoftware/simplnx#2006. MTRSim does not compile with that change without this pull request.

  • ComputeODFFilter passes GetDataArrayOnlyTypes() and ArraySelectionParameter::AllowedDataTypesType to its four array selections.
  • MTRSimFilter and WriteMTRSimODFFilter use MultiArraySelectionParameter::AllowedArrayTypesType. These aliases gained the Type suffix in a later commit of simplnx#2006 (the second commit here).

No filter behavior changes. simplnx#2006 and SimplnxReview#26 are merged. Since BlueQuartzSoftware/simplnx#2009 merged, MTRSim also needs the length-unit argument from #2 to compile; #2 merges right after this pull request.

Test Plan

Related Issue

Related to BlueQuartzSoftware/simplnx#1833

* Pass GetDataArrayOnlyTypes() and ArraySelectionParameter::AllowedDataTypes to the ComputeODF array selections.
* Use MultiArraySelectionParameter::AllowedArrayTypes in MTRSim and WriteMTRSimODF.

This is the MTRSim companion of BlueQuartzSoftware/simplnx#2006.

Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
simplnx#2006 renamed ArraySelectionParameter::AllowedDataTypes and
MultiArraySelectionParameter::AllowedArrayTypes to end in Type, as the
clang-tidy naming rule requires.

Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
@imikejackson
imikejackson force-pushed the issue/simplnx_issue_1833 branch from 2fa52d7 to e8888bc Compare December 3, 2026 14:45
@imikejackson
imikejackson merged commit 151396c into develop Dec 3, 2026
1 of 5 checks passed
@imikejackson
imikejackson deleted the issue/simplnx_issue_1833 branch December 3, 2026 14:46
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