Crowds Project The main method is in Matlab/Barrier_Gradients_Hessian.m The mex code is in CrowdSolverCpp/ Kinetic and Accel Energies The scenes are in Scenes Steps to create and run a new scene: