14#include <pybind11_json/pybind11_json.hpp>
33 Physics_.def(py::init());
39 return py::dict(nlohmann::json(self));
41 .def_static(
"from_dict",
44 return Physics(nlohmann::json(d));
Shared pybind11 plumbing used by every *_bind.hpp in DNDS (buffer-protocol type check,...
Physics model definitions for the EulerP module: gas properties, state conversions,...
Namespace for the EulerP alternative evaluator module with GPU support.
void pybind11_Physics_bind(py::module_ &m)
Registers pybind11 bindings for the Physics class.
py::classh< T > py_class_ssp
Host-side physics object managing gas parameters and device-transferable reference values.