release — Particle release

During initialization, the ParticleRelease class has the responsibility to warn about any mismatches in timing between the simulation and particle release.

class release.ParticleRelease(config)
Public attributes are: [need only one of these]
steps

List of time steps with particle release.

total_particle_count

The total number of particles in the simulation

particle_variables

Dictionary with particle variables and their values

It is implemented as an iterator. The __next__() method, returns a dictionary of release information to be used by the State class’ append method.