Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81368925
pypart.cc
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Sep 5, 14:20
Size
1 KB
Mime Type
text/x-c
Expires
Sat, Sep 7, 14:20 (2 d)
Engine
blob
Format
Raw Data
Handle
20556509
Attached To
R9490 Homework_sp4e_Peruzzo_SáezUribe
pypart.cc
View Options
#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
Log In to Comment