You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor test methods and add RadiationModel support
Refactored test suite to align with updated method naming conventions in Helios (e.g., camelCase). Added a new RadiationModel module with Python bindings for radiation transport simulation, alongside supporting ctypes wrappers and CMake configurations for the radiation plugin. This extends functionality to handle radiative transfer models leveraging CUDA/OptiX.
PyHelios automatically detects available native libraries and gracefully falls back to mock mode when they're not available:
107
+
PyHelios detects available native libraries and provides clear feedback about the current status:
121
108
122
109
```python
123
110
from pyhelios.plugins import print_plugin_status
@@ -131,7 +118,7 @@ print_plugin_status()
131
118
# Mock mode: True
132
119
```
133
120
134
-
In mock mode, PyHelios provides full API compatibility but operations will raise informative errors explaining that native libraries are required for full functionality.
121
+
**Important**: PyHelios follows a fail-fast philosophy. When native libraries are not available, operations will raise explicit `RuntimeError` exceptions with clear, actionable error messages explaining what failed and how to fix it. Mock mode is only used during development and testing - it does not silently provide fallback functionality.
0 commit comments