void OPMFT::A1ParticleChange(const ParticleEventData& PDat) { //We ignore stuff that hasn't had an event yet for (size_t collN = 0; collN < collisionHistoryLength; ++collN) if (lastTime[PDat.getParticleID()][collN] != 0.0) { data[PDat.getSpeciesID()][collN] .addVal(Sim->systemTime - lastTime[PDat.getParticleID()][collN]); } lastTime[PDat.getParticleID()].push_front(Sim->systemTime); }