PHAREHUB/PHARE

isIn for boxcontainer is ambiguous

Open

#1,003 opened on Apr 29, 2025

View on GitHub
 (3 comments) (0 reactions) (0 assignees)C++ (33 forks)auto 404
coregood first issuerefactoring

Repository metrics

Stars
 (78 stars)
PR merge metrics
 (PR metrics pending)

Description

Since the addition of the box iterator, making a box iterable,

the following function may lead to some inconsistencies (which I'm seeing on a branch atm)

https://github.com/PHAREHUB/PHARE/blob/83a9afbfa2cda038c970280fb1ab61cd5760ceb1/src/core/utilities/box/box.hpp#L205-L233

suggested refactor, rename to isInAny

Contributor guide