Page MenuHomec4science

pypart.cc
No OneTemporary

File Metadata

Created
Thu, Sep 5, 14:20

pypart.cc

#include <pybind11/pybind11.h>
#include "particles_factory_interface.hh"
#include "material_points_factory.hh"
#include "planets_factory.hh"
#include "ping_pong_balls_factory.hh"
//namespace py = pybind11;
//
//PYBIND11_MODULE(pypart, m) {
// py::class_<ParticlesFactoryInterface>(
// m, "ParticlesFactoryInterface",
// py::dynamic_attr() // to allow new members to be created dynamically
// )
// .def("getInstance", &ParticlesFactoryInterface::getInstance); // getInstance method
//
// py::class_<MaterialPointsFactory, ParticlesFactoryInterface>(
// m, "MaterialPointsFactory",
// py::dynamic_attr() // to allow new members to be created dynamically
// )
// .def("getInstance", &MaterialPointsFactory::getInstance); // getInstance method
//
// py::class_<PlanetsFactory, ParticlesFactoryInterface>(
// m, "PlanetsFactory",
// py::dynamic_attr() // to allow new members to be created dynamically
// )
// .def("getInstance", &PlanetsFactory::getInstance); // getInstance method
//
// py::class_<PingPongBallsFactory, ParticlesFactoryInterface>(
// m, "PingPongBallsFactory",
// py::dynamic_attr() // to allow new members to be created dynamically
// )
// .def("getInstance", &PingPongBallsFactory::getInstance); // getInstance method
//}

Event Timeline