PyOpenMagnetics 1.7.36__tar.gz → 1.7.37__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.7.36 → pyopenmagnetics-1.7.37}/CMakeLists.txt +2 -13
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/PKG-INFO +1 -1
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/pyproject.toml +1 -1
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/.github/workflows/ci.yml +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/.github/workflows/publish.yml +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/.gitignore +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/AGENTS.md +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/LICENSE +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/PyOpenMagnetics.pyi +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/README.md +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/_packaging/__init__.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/_packaging/_build_info.py.in +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/api/MAS.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/api/mas_db_reader.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/api/validation.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/clear_cibuildwheel_cache.sh +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/docs/compatibility.md +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/docs/errors.md +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/docs/performance.md +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/examples/README.md +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/examples/buck_inductor.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/examples/complete_simulation_example.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/examples/converter_design_example.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/examples/debug_bobbin.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/examples/debug_coil.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/examples/debug_core.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/examples/debug_plotting.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/examples/flyback_220v_12v_1a.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/examples/flyback_220v_12v_2a_complete.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/examples/flyback_bh_curve.png +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/examples/flyback_core.png +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/examples/flyback_design.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/examples/flyback_summary.png +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/examples/flyback_waveforms.png +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/examples/list_plot_funcs.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/examples/plot_flyback_design.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/examples/plot_flyback_pyom.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/examples/test_field_calc.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/examples/test_field_plot.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/force_fresh_build.sh +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/llms.txt +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/notebooks/01_getting_started.ipynb +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/notebooks/02_buck_inductor.ipynb +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/notebooks/03_core_losses.ipynb +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/notebooks/README.md +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/requirements.txt +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/advisers.cpp +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/advisers.h +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/bobbin.cpp +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/bobbin.h +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/cmc.cpp +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/cmc.h +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/common.h +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/converter.cpp +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/converter.h +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/core.cpp +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/core.h +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/crossref.cpp +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/crossref.h +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/database.cpp +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/database.h +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/logging.cpp +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/logging.h +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/losses.cpp +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/losses.h +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/module.cpp +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/plotting.cpp +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/plotting.h +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/settings.cpp +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/settings.h +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/simulation.cpp +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/simulation.h +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/utils.cpp +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/utils.h +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/winding.cpp +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/winding.h +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/wire.cpp +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/src/wire.h +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/test.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/tests/__init__.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/tests/conftest.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/tests/test_converter_endpoints.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/tests/test_core.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/tests/test_core_adviser.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/tests/test_datasheet_only_catalogue.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/tests/test_examples_integration.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/tests/test_inputs.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/tests/test_logging.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/tests/test_losses_not_evaluable_catalogue.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/tests/test_magnetic_adviser.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/tests/test_magnetics_catalogue_load.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/tests/test_mas_schema_walk.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/tests/test_material_validator.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/tests/test_plotting.py +0 -0
- {pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/tests/test_winding.py +0 -0
|
@@ -142,7 +142,7 @@ if(NOT LOCAL_MKF_MAS)
|
|
|
142
142
|
set(MKF_GIT_TAG "main"
|
|
143
143
|
CACHE STRING "MKF git ref for the vendored PyOM build")
|
|
144
144
|
# Force fresh clone by using a unique timestamp - update this when the pin changes
|
|
145
|
-
set(MKF_FORCE_REFRESH "2026-10-
|
|
145
|
+
set(MKF_FORCE_REFRESH "2026-10-28-mkf-292dd4c2")
|
|
146
146
|
# Tell MKF to disable matplotplusplus and use SVG-based Painter instead
|
|
147
147
|
set(INCLUDE_PYMKF ON CACHE BOOL "Build Python interface" FORCE)
|
|
148
148
|
# GIT_SUBMODULES_RECURSE pulls in CAS/PEAS (added 2026-04 alongside the
|
|
@@ -283,16 +283,6 @@ message(STATUS "Compiling MAS")
|
|
|
283
283
|
file(GLOB_RECURSE MAS_SCHEMA_FILES CONFIGURE_DEPENDS "${MAS_DIR}/schemas/*.json")
|
|
284
284
|
file(GLOB_RECURSE PEAS_SCHEMA_FILES CONFIGURE_DEPENDS "${MKF_DIR}/PEAS/schemas/*.json")
|
|
285
285
|
|
|
286
|
-
# MKF's own build runs a post-generation step on MAS.hpp (scripts/mas_const_ref_getters.py): it adds a const&
|
|
287
|
-
# accessor, get_<name>_ref(), next to every optional getter and makes the setters move. MKF's sources call those
|
|
288
|
-
# accessors, so the header PyOM generates must get the same step. Run only when the MKF checkout ships the script.
|
|
289
|
-
find_package(Python3 REQUIRED COMPONENTS Interpreter)
|
|
290
|
-
set(MKF_MAS_POSTGEN_COMMAND "")
|
|
291
|
-
set(MKF_MAS_POSTGEN_DEPENDS "")
|
|
292
|
-
if(EXISTS "${MKF_DIR}/scripts/mas_const_ref_getters.py")
|
|
293
|
-
set(MKF_MAS_POSTGEN_COMMAND COMMAND "${Python3_EXECUTABLE}" "${MKF_DIR}/scripts/mas_const_ref_getters.py" "${MAS_DIRECTORY}/MAS.hpp")
|
|
294
|
-
set(MKF_MAS_POSTGEN_DEPENDS "${MKF_DIR}/scripts/mas_const_ref_getters.py")
|
|
295
|
-
endif()
|
|
296
286
|
add_custom_command(
|
|
297
287
|
OUTPUT "${MAS_DIRECTORY}/MAS.hpp"
|
|
298
288
|
# Force regeneration by removing output first
|
|
@@ -379,8 +369,7 @@ add_custom_command(
|
|
|
379
369
|
# help: it runs only once CMake has already decided to regenerate.)
|
|
380
370
|
# Globbed rather than repeating the ~80-entry -S list, which would drift out of
|
|
381
371
|
# sync with it; CONFIGURE_DEPENDS also re-globs when a schema file is added.
|
|
382
|
-
${
|
|
383
|
-
DEPENDS ${MAS_SCHEMA_FILES} ${PEAS_SCHEMA_FILES} ${MKF_MAS_POSTGEN_DEPENDS}
|
|
372
|
+
DEPENDS ${MAS_SCHEMA_FILES} ${PEAS_SCHEMA_FILES}
|
|
384
373
|
USES_TERMINAL)
|
|
385
374
|
|
|
386
375
|
add_custom_target(PyMASGeneration
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyopenmagnetics-1.7.36 → pyopenmagnetics-1.7.37}/tests/test_losses_not_evaluable_catalogue.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|