Equal comparison and reset function change
DENParticle implementation