feat(pythonInterface/mfem): added loads of mfem bindings to make interacting through python easy

This commit is contained in:
2025-06-16 12:01:03 -04:00
parent 94a0fa947a
commit 79c585892f
24 changed files with 1467 additions and 55 deletions

View File

@@ -9,6 +9,10 @@ py_mod = py_installation.extension_module(
meson.project_source_root() + '/src/python/const/bindings.cpp',
meson.project_source_root() + '/src/python/config/bindings.cpp',
meson.project_source_root() + '/src/python/eos/bindings.cpp',
meson.project_source_root() + '/src/python/mfem/bindings.cpp',
meson.project_source_root() + '/src/python/mfem/Trampoline/PyMFEMTrampolines/Operator/PyOperator.cpp',
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',
],
dependencies : [
@@ -18,7 +22,9 @@ py_mod = py_installation.extension_module(
composition_dep,
eos_dep,
species_weight_dep,
mfem_dep,
polysolver_dep,
trampoline_dep
],
cpp_args : ['-UNDEBUG'], # Example: Ensure assertions are enabled if needed
install : true,