Pteros
2.0
Molecular modeling library for human beings!
|
Sorting the atoms from given selection into the cells of 3D grid with given dimensions. More...
#include <grid.h>
Public Member Functions | |
Grid (int X, int Y, int Z) | |
void | clear () |
void | resize (int X, int Y, int Z) |
GridCell & | cell (int i, int j, int k) |
GridCell & | cell (Vector3i_const_ref ind) |
const GridCell & | cell (Vector3i_const_ref ind) const |
void | populate (const Selection &sel, bool abs_index=false) |
Non-periodic populate. | |
void | populate (const Selection &sel, Vector3f_const_ref min, Vector3f_const_ref max, bool abs_index) |
void | populate_periodic (const Selection &sel, Vector3i_const_ref pbc_dims=fullPBC, bool abs_index=false) |
Periodic populate. | |
void | populate_periodic (const Selection &sel, const PeriodicBox &box, Vector3i_const_ref pbc_dims=fullPBC, bool abs_index=false) |
Sorting the atoms from given selection into the cells of 3D grid with given dimensions.
Useful for producing volumetric datasets or various 3D histrograms (for examples density or the residence time maps).