ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
This file contains the code for statistics on chains. More...
#include "system/System.hpp"
#include <array>
Go to the source code of this file.
Functions | |
std::array< double, 4 > | calc_re (System::System const &system, int chain_start, int chain_length, int n_chains) |
Calculate the end-to-end-distance. | |
std::array< double, 4 > | calc_rg (System::System const &system, int chain_start, int chain_length, int n_chains) |
Calculate the radius of gyration. | |
std::array< double, 2 > | calc_rh (System::System const &system, int chain_start, int chain_length, int n_chains) |
Calculate the hydrodynamic radius (ref. | |
This file contains the code for statistics on chains.
Definition in file statistics_chain.hpp.
std::array< double, 4 > calc_re | ( | System::System const & | system, |
int | chain_start, | ||
int | chain_length, | ||
int | n_chains | ||
) |
Calculate the end-to-end-distance.
Calculates the average end-to-end-distance of a range of monodisperse polymers with continuous ids.
system | The system to analyze. |
chain_start | The id of the first monomer of the first chain. |
n_chains | Number of chains contained in the range. |
chain_length | The length of every chain. |
Definition at line 101 of file statistics_chain.cpp.
References System::System::box_geo, System::System::cell_structure, comm_cart, and Utils::sqr().
Referenced by ScriptInterface::Analysis::Analysis::do_call_method().
std::array< double, 4 > calc_rg | ( | System::System const & | system, |
int | chain_start, | ||
int | chain_length, | ||
int | n_chains | ||
) |
Calculate the radius of gyration.
Calculates the average radius of gyration of a range of monodisperse polymers with continuous ids.
system | The system to analyze. |
chain_start | The id of the first monomer of the first chain. |
n_chains | Number of chains contained in the range. |
chain_length | The length of every chain. |
Definition at line 133 of file statistics_chain.cpp.
References Utils::Array< T, N >::at(), System::System::box_geo, System::System::cell_structure, comm_cart, and Utils::sqr().
Referenced by ScriptInterface::Analysis::Analysis::do_call_method().
std::array< double, 2 > calc_rh | ( | System::System const & | system, |
int | chain_start, | ||
int | chain_length, | ||
int | n_chains | ||
) |
Calculate the hydrodynamic radius (ref.
Kirkwood-Zimm theory).
Calculates the average hydrodynamic radius of a range of monodisperse polymers with continuous ids.
system | The system to analyze. |
chain_start | The id of the first monomer of the first chain. |
n_chains | Number of chains contained in the range. |
chain_length | The length of every chain. |
Definition at line 197 of file statistics_chain.cpp.
References System::System::box_geo, System::System::cell_structure, comm_cart, and Utils::sqr().
Referenced by ScriptInterface::Analysis::Analysis::do_call_method().