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

Defines pybind11 trampoline classes for mfem::Coefficient and mfem::VectorCoefficient. More...

#include "mfem.hpp"

Go to the source code of this file.

Classes

class  serif::pybind::PyCoefficient
 Trampoline class for mfem::Coefficient. More...
 
class  serif::pybind::PyVectorCoefficient
 Trampoline class for mfem::VectorCoefficient. More...
 

Namespaces

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

Detailed Description

Defines pybind11 trampoline classes for mfem::Coefficient and mfem::VectorCoefficient.

These trampoline classes allow Python classes to inherit from mfem::Coefficient and mfem::VectorCoefficient, enabling Python-defined coefficients to be used within the C++ MFEM library.

Definition in file PyCoefficient.h.