SERiF 0.0.1a
3+1D Stellar Structure and Evolution
Loading...
Searching...
No Matches
PyMatrix.h File Reference

Defines a pybind11 trampoline class for mfem::Matrix. More...

#include "mfem.hpp"
#include "pybind11/pybind11.h"

Go to the source code of this file.

Classes

class  serif::pybind::PyMatrix
 A trampoline class for mfem::Matrix. More...
 

Namespaces

namespace  serif
 
namespace  serif::pybind
 Contains pybind11 helper classes and trampoline classes for interfacing C++ with Python.
 

Detailed Description

Defines a pybind11 trampoline class for mfem::Matrix.

This trampoline class allows Python classes to inherit from mfem::Matrix, enabling Python-defined matrices to be used within the C++ MFEM library, including overriding methods from its base class mfem::Operator.

Definition in file PyMatrix.h.