#include<yade/pkg-common/ForceResetter.hpp>
#include<yade/core/Scene.hpp>

YADE_PLUGIN((ForceResetter));

void ForceResetter::action(){
	scene->forces.reset(scene->iter);
	if(scene->trackEnergy) scene->energy->resetResettables();
}

