PyOpenMagnetics 1.4.3__tar.gz → 1.4.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/CMakeLists.txt +21 -5
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/PKG-INFO +1 -1
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/pyproject.toml +1 -1
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/.github/workflows/ci.yml +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/.github/workflows/publish.yml +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/.gitignore +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/AGENTS.md +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/LICENSE +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/PyOpenMagnetics.pyi +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/README.md +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/__init__.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/api/MAS.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/api/mas_db_reader.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/api/validation.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/clear_cibuildwheel_cache.sh +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/docs/compatibility.md +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/docs/errors.md +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/docs/performance.md +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/examples/README.md +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/examples/buck_inductor.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/examples/complete_simulation_example.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/examples/converter_design_example.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/examples/debug_bobbin.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/examples/debug_coil.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/examples/debug_core.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/examples/debug_plotting.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/examples/flyback_220v_12v_1a.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/examples/flyback_220v_12v_2a_complete.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/examples/flyback_bh_curve.png +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/examples/flyback_core.png +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/examples/flyback_design.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/examples/flyback_summary.png +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/examples/flyback_waveforms.png +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/examples/list_plot_funcs.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/examples/plot_flyback_design.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/examples/plot_flyback_pyom.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/examples/test_field_calc.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/examples/test_field_plot.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/force_fresh_build.sh +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/llms.txt +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/notebooks/01_getting_started.ipynb +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/notebooks/02_buck_inductor.ipynb +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/notebooks/03_core_losses.ipynb +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/notebooks/README.md +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/requirements.txt +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/advisers.cpp +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/advisers.h +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/bobbin.cpp +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/bobbin.h +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/common.h +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/converter.cpp +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/converter.h +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/core.cpp +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/core.h +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/database.cpp +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/database.h +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/logging.cpp +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/logging.h +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/losses.cpp +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/losses.h +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/module.cpp +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/plotting.cpp +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/plotting.h +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/settings.cpp +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/settings.h +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/simulation.cpp +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/simulation.h +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/utils.cpp +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/utils.h +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/winding.cpp +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/winding.h +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/wire.cpp +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/src/wire.h +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/test.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/tests/__init__.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/tests/conftest.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/tests/test_converter_endpoints.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/tests/test_core.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/tests/test_core_adviser.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/tests/test_examples_integration.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/tests/test_inputs.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/tests/test_logging.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/tests/test_magnetic_adviser.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/tests/test_plotting.py +0 -0
- {pyopenmagnetics-1.4.3 → pyopenmagnetics-1.4.4}/tests/test_winding.py +0 -0
|
@@ -182,11 +182,27 @@ if(NOT LOCAL_MKF_MAS)
|
|
|
182
182
|
message(STATUS "MAS git error: ${MAS_GIT_ERROR}")
|
|
183
183
|
endif()
|
|
184
184
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
185
|
+
# Always delete and repopulate MKF to ensure we get the latest main,
|
|
186
|
+
# mirroring the MAS refresh above. FetchContent will NOT re-fetch an
|
|
187
|
+
# already-cloned source dir even with GIT_TAG main, so a persisted build
|
|
188
|
+
# dir (incremental CI cache, local rebuilds) otherwise keeps a STALE MKF
|
|
189
|
+
# checkout — fixes merged to MKF main would silently never reach the wheel.
|
|
190
|
+
if(EXISTS ${CMAKE_BINARY_DIR}/_deps/mkf-src)
|
|
191
|
+
message(STATUS "Removing old MKF source to force fresh clone")
|
|
192
|
+
file(REMOVE_RECURSE ${CMAKE_BINARY_DIR}/_deps/mkf-src)
|
|
193
|
+
endif()
|
|
194
|
+
message(STATUS "Populating MKF")
|
|
195
|
+
FetchContent_Populate(MKF)
|
|
196
|
+
# Show git log to verify we built against MKF main HEAD
|
|
197
|
+
execute_process(
|
|
198
|
+
COMMAND git -C ${mkf_SOURCE_DIR} log --oneline -1
|
|
199
|
+
OUTPUT_VARIABLE MKF_GIT_LOG
|
|
200
|
+
OUTPUT_STRIP_TRAILING_WHITESPACE
|
|
201
|
+
ERROR_VARIABLE MKF_GIT_ERROR
|
|
202
|
+
)
|
|
203
|
+
message(STATUS "MKF version: ${MKF_GIT_LOG}")
|
|
204
|
+
if(MKF_GIT_ERROR)
|
|
205
|
+
message(STATUS "MKF git error: ${MKF_GIT_ERROR}")
|
|
190
206
|
endif()
|
|
191
207
|
|
|
192
208
|
message(STATUS ${MAS_SOURCE_DIR})
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|