-
Notifications
You must be signed in to change notification settings - Fork 7
Engineering: coil-aware port placement constraint #298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||||
CI Feedback 🧐A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
|
User description
Adds a coil-clearance constraint to the Python PortOptimizer (maps candidate port locations to wall xyz via chartmap and rejects ports too close to coil segments). Also adds an engineering test plot artifact and parallelizes the chartmap wall-losses integration test over particles.
Validation:
Test artifacts (local build output paths):
PR Type
Enhancement, Tests
Description
Add coil-clearance constraint to PortOptimizer for geometric feasibility
Parallelize chartmap wall-losses integration test with OpenMP
New coil_clearance module with wall surface interpolation and distance queries
Add visualization function for heat flux with coil clearance overlay
Diagram Walkthrough
File Walkthrough
coil_clearance.py
New coil clearance constraint modulepython/pysimple/coil_clearance.py
polylines
blocking
engineering.py
Integrate coil clearance into port optimizerpython/pysimple/engineering.py
coil_clearance
penalty
test_chartmap_wall_losses.f90
Parallelize particle tracing with OpenMPtest/tests/magfie/test_chartmap_wall_losses.f90
test_engineering.py
Add coil clearance tests and mock coil file generatortest/python/test_engineering.py
penalty
visualization
CMakeLists.txt
Configure test artifacts directory for engineering teststest/python/CMakeLists.txt