ConstrainNumParticles

class ConstrainNumParticles : public feasst::Constraint

Constrain the number of the number of particles.

Arguments

  • maximum: maximum number of particles. If -1, no limit (default: -1).

  • minimum: minimum number of particles (default: 0).

  • type: particle type name. If empty (default), all types.

  • config: name of Configuration (default: 0).