feat(pythonInterface/network): added network interface from python module

This commit is contained in:
2025-06-17 11:11:19 -04:00
parent 7b173a0cb4
commit ee0c50defe
7 changed files with 186 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ py_mod = py_installation.extension_module(
meson.project_source_root() + '/src/python/mfem/Trampoline/PyMFEMTrampolines/Operator/Matrix/PyMatrix.cpp',
meson.project_source_root() + '/src/python/mfem/Trampoline/PyMFEMTrampolines/Coefficient/PyCoefficient.cpp',
meson.project_source_root() + '/src/python/polytrope/bindings.cpp',
meson.project_source_root() + '/src/python/network/bindings.cpp',
],
dependencies : [
pybind11_dep,
@@ -24,7 +25,8 @@ py_mod = py_installation.extension_module(
species_weight_dep,
mfem_dep,
polysolver_dep,
trampoline_dep
trampoline_dep,
network_dep,
],
cpp_args : ['-UNDEBUG'], # Example: Ensure assertions are enabled if needed
install : true,