PyOpenMagnetics 1.3.7__tar.gz → 1.3.9__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.3.7 → pyopenmagnetics-1.3.9}/CMakeLists.txt +16 -1
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/PKG-INFO +1 -1
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/pyproject.toml +1 -1
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/.github/workflows/ci.yml +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/.github/workflows/publish.yml +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/.gitignore +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/AGENTS.md +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/LICENSE +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/PyOpenMagnetics.pyi +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/README.md +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/api/MAS.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/api/mas_db_reader.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/api/validation.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/clear_cibuildwheel_cache.sh +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/docs/compatibility.md +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/docs/errors.md +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/docs/performance.md +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/examples/README.md +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/examples/buck_inductor.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/examples/complete_simulation_example.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/examples/converter_design_example.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/examples/debug_bobbin.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/examples/debug_coil.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/examples/debug_core.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/examples/debug_plotting.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/examples/flyback_220v_12v_1a.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/examples/flyback_220v_12v_2a_complete.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/examples/flyback_bh_curve.png +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/examples/flyback_core.png +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/examples/flyback_design.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/examples/flyback_summary.png +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/examples/flyback_waveforms.png +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/examples/list_plot_funcs.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/examples/plot_flyback_design.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/examples/plot_flyback_pyom.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/examples/test_field_calc.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/examples/test_field_plot.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/force_fresh_build.sh +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/llms.txt +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/notebooks/01_getting_started.ipynb +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/notebooks/02_buck_inductor.ipynb +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/notebooks/03_core_losses.ipynb +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/notebooks/README.md +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/requirements.txt +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/advisers.cpp +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/advisers.h +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/bobbin.cpp +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/bobbin.h +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/common.h +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/converter.cpp +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/converter.h +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/core.cpp +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/core.h +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/database.cpp +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/database.h +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/logging.cpp +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/logging.h +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/losses.cpp +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/losses.h +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/module.cpp +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/plotting.cpp +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/plotting.h +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/settings.cpp +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/settings.h +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/simulation.cpp +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/simulation.h +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/utils.cpp +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/utils.h +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/winding.cpp +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/winding.h +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/wire.cpp +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/src/wire.h +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/test.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/tests/__init__.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/tests/conftest.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/tests/test_converter_endpoints.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/tests/test_core.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/tests/test_core_adviser.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/tests/test_examples_integration.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/tests/test_inputs.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/tests/test_logging.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/tests/test_magnetic_adviser.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/tests/test_plotting.py +0 -0
- {pyopenmagnetics-1.3.7 → pyopenmagnetics-1.3.9}/tests/test_winding.py +0 -0
|
@@ -247,11 +247,26 @@ file(GLOB SOURCES src/*.cpp
|
|
|
247
247
|
${MKF_DIR}/src/processors/*.cpp
|
|
248
248
|
${MKF_DIR}/src/support/*.cpp
|
|
249
249
|
)
|
|
250
|
+
|
|
251
|
+
set(CCI_GENERATED_CPP "${CMAKE_BINARY_DIR}/generated/CciCoordinatesData.cpp")
|
|
252
|
+
find_package(Python3 REQUIRED COMPONENTS Interpreter)
|
|
253
|
+
add_custom_command(
|
|
254
|
+
OUTPUT "${CCI_GENERATED_CPP}"
|
|
255
|
+
COMMAND "${Python3_EXECUTABLE}"
|
|
256
|
+
"${MKF_DIR}/scripts/generate_cci_data.py"
|
|
257
|
+
"${MKF_DIR}/cci_coords"
|
|
258
|
+
"${CCI_GENERATED_CPP}"
|
|
259
|
+
DEPENDS "${MKF_DIR}/scripts/generate_cci_data.py"
|
|
260
|
+
COMMENT "Generating embedded CCI coordinates"
|
|
261
|
+
VERBATIM)
|
|
262
|
+
add_custom_target(cci_data_gen DEPENDS "${CCI_GENERATED_CPP}")
|
|
263
|
+
list(APPEND SOURCES "${CCI_GENERATED_CPP}")
|
|
264
|
+
|
|
250
265
|
message(STATUS SOURCES)
|
|
251
266
|
message(STATUS ${SOURCES})
|
|
252
267
|
pybind11_add_module(PyOpenMagnetics ${SOURCES})
|
|
253
268
|
|
|
254
|
-
add_dependencies(PyOpenMagnetics PyMASGeneration)
|
|
269
|
+
add_dependencies(PyOpenMagnetics PyMASGeneration cci_data_gen)
|
|
255
270
|
|
|
256
271
|
target_link_libraries(PyOpenMagnetics PUBLIC nlohmann_json::nlohmann_json levmar rapidfuzz::rapidfuzz)
|
|
257
272
|
|
|
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
|