ppap4lmp  0.7.2
pro_radial_distribution_function_with_deformation.h
Go to the documentation of this file.
1 
9 #ifndef PRO_RADIAL_DISTRIBUTION_FUNCTION_WITH_DEFORMATION_H
10 #define PRO_RADIAL_DISTRIBUTION_FUNCTION_WITH_DEFORMATION_H
11 
13 
16 
67  double margin = 1.0;
78  ArrayXd Rg2_para_array; // parallel
84  ArrayXd Rg2_perp_array; // perpendicular
134  protected:
141  virtual void run_impl(
142  const int index) override;
143  public:
144  using ProRDF::ProRDF;
151  virtual void prepare() override;
167  virtual void finish() override;
184  void set_margin(
185  double margin_);
243 };
244 
250 
251 #endif
ProRadialDistributionFunctionWithDeformation computes radial distribution function (RDF) taking defor...
virtual void run_impl(const int index) override
Implementation of analysis using an element of generators.
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 ...
This file has a definition of ProRadialDistributionFunction class, which is a subclass of Processor c...
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
ProRadialDistributionFunction computes radial distribution function (RDF).
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.
Eigen::Array< double, Eigen::Dynamic, 1 > ArrayXd
ArrayXd is an alias for a column array of float numbers.
Definition: eigen.h:42
virtual void prepare() override
Call ProRDF::prepare and then resize raw_counts_traj, Rg2_sum_traj, Rg2_para_sum_traj and Rg2_perp_su...
ProRadialDistributionFunction ProRDF
ProRDF is an alias for ProRadialDistributionFunction class.
std::unordered_map< T, U > Map
Map is an alias for unordered map (same as dict in Python).
Definition: std.h:38
virtual void finish() override
Call ProRDF::finish and then compute Rg2_array, Rg2_para_array, Rg2_perp_array, Rg2_array_traj, Rg2_para_array_traj and Rg2_perp_array_traj from raw_counts_traj, Rg2_sum_traj, Rg2_para_sum_traj and Rg2_perp_sum_traj.