ParticleFactory

class ParticleFactory

A container for a list of particles. There are effectively three different uses:

  1. A list of particles that exist in a simulation. In this case there can be multiple particles and sites of the same type.

  2. A list of particle types that may exist in a simulation. In this case there can not be multiple particles of the same type. This is enforced by ParticleFactory::unique_particles().

  3. A list of site and bond types (contained within particles) that may exist in a simulation. In this case, there can not be multiple sites or bonds of the same type. This contains site-based and bond-based properties. This is enforced by ParticleFactory::unique_types().