-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hello, I want to help add a feature to automatically check the grid validity at the end and graphically flag any cells with problems. The shapely library makes it easy to check that cells are not twisted (polygon.is_valid) and that they touch but don't overlap their neighbors (polygon1.touches(polygon2)). I've added the is_valid check, but the overlap check is more subtle because the poloidal indices jump at target plates and X-points. Since I am not very familiar with the codebase yet, is there a simple way, compatible across the different topologies, to get the indices of the physically adjacent cells?
Metadata
Metadata
Assignees
Labels
No labels