Skip to content

ORB does not allow arbitrary decomposition axis #559

Description

@aliemen

If I understand it correctly, the ORB algorithm only decomposes in all dimensions (or none). In OPALX we sometimes have bunches that are (in their rest frame) highly stretched in z-direction, which is why we would want to be able to decompose e.g. only in z direction.

The idea is to generalize binaryRepartition(...) by passing an additional const std::array<bool, Dim>& allowedAxes, where true indicates which axis to bisect. The old binaryRepartition signature will remain available as an overload. "Legacy" behavior is preserved by implicitly setting allowedAxes = {true, true, true} where necessary.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions