template struct molSys::PointCloud#
Overview#
This contains a collection of points; contains information for a particular frame. More…
#include <src/include/internal/mol_sys.hpp>
template <typename S, CoordinateScalar T>
struct PointCloud {
// fields
std::vector<S> pts;
int currentFrame = 0;
int nop = 0;
std::vector<T> box;
std::vector<T> boxLow;
std::unordered_map<int, int> idIndexMap;
};
Detailed Documentation#
This contains a collection of points; contains information for a particular frame.
Specifically
A vector of Point structs
The current frame number
The number of particles in the current frame
A vector for the simulation box lengths in each dimension
A vector containing the absolute lower box coordinates
Fields#
int currentFrame = 0
Collection of points.
int nop = 0
Current frame number.
std::vector<T> box
Number of atoms.
std::vector<T> boxLow
Periodic box lengths.
std::unordered_map<int, int> idIndexMap
xlo, ylo, zlo