SERiF 0.0.1a
3+1D Stellar Structure and Evolution
|
Declares functions to register MFEM core library components with pybind11. More...
#include <pybind11/pybind11.h>
Go to the source code of this file.
Functions | |
void | register_mfem_bindings (pybind11::module &mfem_submodule) |
Registers all core MFEM bindings to the given Python submodule. | |
void | register_operator_bindings (pybind11::module &mfem_submodule) |
Registers mfem::Operator and related classes. | |
void | register_matrix_bindings (pybind11::module &mfem_submodule) |
Registers mfem::Matrix and its derived classes (e.g., mfem::DenseMatrix, mfem::SparseMatrix). | |
void | register_vector_bindings (pybind11::module &mfem_submodule) |
Registers mfem::Vector. | |
void | register_array_bindings (pybind11::module &mfem_submodule) |
Registers mfem::Array. | |
void | bind_assembly_level_enum (pybind11::module &mfem_submodule) |
Binds the mfem::AssemblyLevel enum. | |
void | register_bilinear_form_bindings (pybind11::module &mfem_submodule) |
Registers mfem::BilinearForm and related functionalities. | |
void | register_mixed_bilinear_form_bindings (pybind11::module &mfem_submodule) |
Registers mfem::MixedBilinearForm and related functionalities. | |
void | register_table_bindings (pybind11::module &mfem_submodule) |
Registers mfem::Table. | |
void | register_mesh_bindings (pybind11::module &mfem_submodule) |
Registers mfem::Mesh. | |
void | register_basis_type_bindings (pybind11::module &mfem_submodule) |
Registers mfem::BasisType enum and related constants. | |
void | register_finite_element_collection_bindings (pybind11::module &mfem_submodule) |
Registers mfem::FiniteElementCollection base class. | |
void | register_H1_FECollection_bindings (pybind11::module &mfem_submodule) |
Registers mfem::H1_FECollection. | |
void | register_RT_FECollection_bindings (pybind11::module &mfem_submodule) |
Registers mfem::RT_FECollection. | |
void | register_ND_FECollection_bindings (pybind11::module &mfem_submodule) |
Registers mfem::ND_FECollection (Nedelec finite elements). | |
void | bind_ordering_enum (pybind11::module &mfem_submodule) |
Binds the mfem::Ordering::Type enum. | |
void | register_finite_element_space_bindings (pybind11::module &mfem_submodule) |
Registers mfem::FiniteElementSpace. | |
void | register_coefficient_bindings (pybind11::module &m) |
Registers mfem::Coefficient, mfem::VectorCoefficient and related classes/trampolines. | |
void | register_eltrans_bindings (pybind11::module &m) |
Registers mfem::ElementTransformation. | |
void | register_intrule_bindings (pybind11::module &m) |
Registers mfem::IntegrationRule and mfem::IntegrationPoint. | |
void | register_grid_function_bindings (pybind11::module &mfem_submodule) |
Registers mfem::GridFunction. | |
Declares functions to register MFEM core library components with pybind11.
This header file lists the functions responsible for creating Python bindings for various parts of the MFEM library. Each function typically registers a set of related classes, enums, or functionalities to a pybind11::module, which is expected to be a submodule named mfem
within the main serif
Python module.
Definition in file bindings.h.
void bind_assembly_level_enum | ( | pybind11::module & | mfem_submodule | ) |
Binds the mfem::AssemblyLevel enum.
mfem_submodule | The serif.mfem Python submodule. |
void bind_ordering_enum | ( | pybind11::module & | mfem_submodule | ) |
Binds the mfem::Ordering::Type enum.
mfem_submodule | The serif.mfem Python submodule. |
void register_array_bindings | ( | pybind11::module & | mfem_submodule | ) |
Registers mfem::Array.
mfem_submodule | The serif.mfem Python submodule. |
void register_basis_type_bindings | ( | pybind11::module & | mfem_submodule | ) |
Registers mfem::BasisType enum and related constants.
mfem_submodule | The serif.mfem Python submodule. |
void register_bilinear_form_bindings | ( | pybind11::module & | mfem_submodule | ) |
Registers mfem::BilinearForm and related functionalities.
mfem_submodule | The serif.mfem Python submodule. |
void register_coefficient_bindings | ( | pybind11::module & | m | ) |
Registers mfem::Coefficient, mfem::VectorCoefficient and related classes/trampolines.
m | The serif.mfem Python submodule. |
void register_eltrans_bindings | ( | pybind11::module & | m | ) |
Registers mfem::ElementTransformation.
m | The serif.mfem Python submodule. |
void register_finite_element_collection_bindings | ( | pybind11::module & | mfem_submodule | ) |
Registers mfem::FiniteElementCollection base class.
mfem_submodule | The serif.mfem Python submodule. |
Definition at line 517 of file bindings.cpp.
void register_finite_element_space_bindings | ( | pybind11::module & | mfem_submodule | ) |
Registers mfem::FiniteElementSpace.
mfem_submodule | The serif.mfem Python submodule. |
void register_grid_function_bindings | ( | pybind11::module & | mfem_submodule | ) |
Registers mfem::GridFunction.
mfem_submodule | The serif.mfem Python submodule. |
void register_H1_FECollection_bindings | ( | pybind11::module & | mfem_submodule | ) |
Registers mfem::H1_FECollection.
mfem_submodule | The serif.mfem Python submodule. |
void register_intrule_bindings | ( | pybind11::module & | m | ) |
Registers mfem::IntegrationRule and mfem::IntegrationPoint.
m | The serif.mfem Python submodule. |
void register_matrix_bindings | ( | pybind11::module & | mfem_submodule | ) |
Registers mfem::Matrix and its derived classes (e.g., mfem::DenseMatrix, mfem::SparseMatrix).
mfem_submodule | The serif.mfem Python submodule. |
void register_mesh_bindings | ( | pybind11::module & | mfem_submodule | ) |
Registers mfem::Mesh.
mfem_submodule | The serif.mfem Python submodule. |
void register_mfem_bindings | ( | pybind11::module & | mfem_submodule | ) |
Registers all core MFEM bindings to the given Python submodule.
This function serves as the main entry point for exposing MFEM functionalities to Python. It calls various other register_*_bindings
and bind_*_enum
functions to populate the mfem_submodule
.
mfem_submodule | The pybind11 module (typically serif.mfem ) to which MFEM bindings will be added. |
void register_mixed_bilinear_form_bindings | ( | pybind11::module & | mfem_submodule | ) |
Registers mfem::MixedBilinearForm and related functionalities.
mfem_submodule | The serif.mfem Python submodule. |
void register_ND_FECollection_bindings | ( | pybind11::module & | mfem_submodule | ) |
Registers mfem::ND_FECollection (Nedelec finite elements).
mfem_submodule | The serif.mfem Python submodule. |
void register_operator_bindings | ( | pybind11::module & | mfem_submodule | ) |
Registers mfem::Operator and related classes.
mfem_submodule | The serif.mfem Python submodule. |
void register_RT_FECollection_bindings | ( | pybind11::module & | mfem_submodule | ) |
Registers mfem::RT_FECollection.
mfem_submodule | The serif.mfem Python submodule. |
void register_table_bindings | ( | pybind11::module & | mfem_submodule | ) |
Registers mfem::Table.
mfem_submodule | The serif.mfem Python submodule. |
Definition at line 489 of file bindings.cpp.
void register_vector_bindings | ( | pybind11::module & | mfem_submodule | ) |
Registers mfem::Vector.
mfem_submodule | The serif.mfem Python submodule. |