Class for particle in MPS method.
std::vector< Particle >::iterator end()
Particle & operator[](size_t index)
Get a particle by index.
std::vector< Particle > particles
int size() const
Get the number of particles.
std::vector< Particle >::iterator begin()
void add(const Particle &particle)
Add a particle to the collection.