ppap4lmp  0.7.2
py_pro_radial_distribution_function_with_deformation.cpp
Go to the documentation of this file.
1 
9 
11 {
12  py::class_<ProRadialDistributionFunctionWithDeformation,PyProcessor<ProRDFWD>,ProRDF,Processor,ShPtr<ProRDFWD>>(m, "ProRadialDistributionFunctionWithDeformation")
13  .def(py::init<const ElPtr &,const ElPtr &>())
14  .def(py::init<const Vec<std::pair<ElPtr,ElPtr>> &>())
15  .def("set_margin", &ProRDFWD::set_margin)
16  .def("get_gyration_radius", &ProRDFWD::get_gyration_radius)
17  .def("get_gyration_radius_traj",&ProRDFWD::get_gyration_radius_traj)
18  .def(
19  "get_squared_gyration_radius",
21  .def(
22  "get_squared_gyration_radius_traj",
24 }
This file is for binding ProRadialDistributionFunctionWithDeformation class to Python.
Map< Str, Vec< ArrayXd > > get_squared_gyration_radius_traj()
Get list of temporary square of gyration radius as function of distance from a reference particle...
void set_margin(double margin_)
Set margin for distance from a reference particle: this program uses a sample including particles of ...
Map< Str, ArrayXd > get_squared_gyration_radius()
Get averaged square of gyration radius as function of distance from a reference particle. The returned value is dictionary of which keys are isotropic, parallel and perpendicular, and corresponding values are function for general gyration radius, gyration radius in* the particle-to-particle axis and gyration radius around* the particle-to-particle axis, respectively.
Map< Str, ArrayXd > get_gyration_radius()
Get averaged gyration radius as function of distance from a reference particle. The returned value is...
std::vector< T > Vec
Vec is an alias for vector (same as list in Python).
Definition: std.h:27
void py_pro_radial_distribution_function_with_deformation(py::module &m)
Bind ProRadialDistributionFunctionWithDeformation class to Python.
Processor analyzes data contained in one or more Generator objects.
Definition: processor.h:18
Map< Str, Vec< ArrayXd > > get_gyration_radius_traj()
Get list of temporary gyration radius as function of distance from a reference particle. The returned value is dictionary of which keys are isotropic, parallel and perpendicular, and corresponding values are lists of functions for general gyration radius, gyration radius in* the particle-to-particle axis and gyration radius around* the particle-to-particle axis, respectively. Each element of the lists corresponds to each snapshot of the simulation.
ProRadialDistributionFunction ProRDF
ProRDF is an alias for ProRadialDistributionFunction class.
std::shared_ptr< T > ShPtr
ShPtr is an alias for shared pointer.
Definition: std.h:16