![]() |
ESPResSo 3.2.0-167-g2c9ead1-git
Extensible Simulation Package for Soft Matter Research
|
This file contains the code for statistics on the data using the molecule information set with analyse set, as it is described in the file topology.h. More...


Go to the source code of this file.
Functions | |
| int | analyze_fold_molecules (float *coord, double shift[3]) |
| Using the topology information stored in topology::topology this routine foldes all particles belonging to a molecule such that the center of mass of the molecule is inside the simulation box. | |
| void | calc_mol_center_of_mass (Molecule mol, double com[3]) |
| Incorporates mass of each particle. | |
| void | mol_center_of_mass_ (Molecule mol, double com[3]) |
This file contains the code for statistics on the data using the molecule information set with analyse set, as it is described in the file topology.h.
Definition in file statistics_molecule.h.
| int analyze_fold_molecules | ( | float * | coord, |
| double | shift[3] | ||
| ) |
Using the topology information stored in topology::topology this routine foldes all particles belonging to a molecule such that the center of mass of the molecule is inside the simulation box.
| coord | is an array specifying the full coordinates of all particles. Particles must be stored in particle ID order in this array. |
| shift | is a vector specifying a shift for the entire system coordinates that is applied prior to folding: This is used for visualization purposes. |
Definition at line 30 of file statistics_molecule.c.
References box_l, box_l_i, calc_mol_center_of_mass(), IntList::e, ERROR_SPRINTF, ES_DOUBLE_SPACE, ES_ERROR, ES_INTEGER_SPACE, ES_OK, i, IntList::n, n_molecules, Molecule::part, PERIODIC, runtime_error(), sortPartCfg(), and topology.
Referenced by tclcommand_analyze_parse_get_folded_positions(), and tclcommand_imd_parse_pos().
| void calc_mol_center_of_mass | ( | Molecule | mol, |
| double | com[3] | ||
| ) |
Incorporates mass of each particle.
Definition at line 97 of file statistics_molecule.c.
References IntList::e, i, IntList::n, Particle::p, Molecule::part, partCfg, and PMASS.
Referenced by analyze_fold_molecules(), and calc_mol_gyr_radius2().
| void mol_center_of_mass_ | ( | Molecule | mol, |
| double | com[3] | ||
| ) |
1.7.5.1