Module MMTK.ParticleProperties


Functions


Class ParticleProperty: Property defined for each particle

This is an abstract base class; for creating instances, use one of its subclasses: MMTK.ParticleScalar, MMTK.ParticleVector, MMTK.ParticleTensor.

ParticleProperty objects store properties that are defined per particle, such as mass, position, velocity, etc. The value corresponding to a particular atom can be retrieved or changed by indexing with the atom object.

Methods: