Functions to save and load states of the simulation.
void loadParticleStress(const std::string &filename, std::vector< Particle * > &particles)
Load the particles stress from a json file.
void saveParticleStress(const std::string &filename, const std::vector< Particle * > &particles)
Save the particles stress into a json file.