19#include <pybind11/numpy.h>
23 auto &m = root_module;
26 py::class_<AMRTestModel>(m,
"AMRTestModel")
27 .def(py::init([](AMRTestModel::Grid &grd) {
28 return std::make_unique<AMRTestModel>(grd);
void refine()
does the refinment step of the AMR
Pybind11 include and definitions.
#define ON_PYTHON_INIT
Register a Python module init function using static initialization.
void debug_ln(std::string module_name, Types... var2)
Prints a log message with multiple arguments followed by a newline.