ppap4lmp  0.7.2
py_updater.cpp
Go to the documentation of this file.
1 
8 #include "py_updater.h"
9 
10 void pybind::py_updater(py::module &m)
11 {
12  py::class_<
13  Updater,PyUpdater<>,ShPtr<Updater>>(m, "Updater")
14  .def(py::init<>());
15 }
Updater is an abstract class to update data held by an Element object.
Definition: updater.h:34
Trampoline class to bind Updater class and its subclasses to Python.
Definition: py_updater.h:22
void py_updater(py::module &m)
Bind Updater class to Python.
Definition: py_updater.cpp:10
std::shared_ptr< T > ShPtr
ShPtr is an alias for shared pointer.
Definition: std.h:16
This file is for binding Updater class to Python.