|
MPM-Geomechanics
Material Point Method for simulating geo-materials under large deformation conditions
|
Functions to save and load states of the simulation. More...
Functions | |
| void | saveParticleStress (const std::string &filename, const std::vector< Particle * > &particles) |
| Save the particles stress into a json file. | |
| void | loadParticleStress (const std::string &filename, std::vector< Particle * > &particles) |
| Load the particles stress from a json file. | |
Functions to save and load states of the simulation.
| void States::loadParticleStress | ( | const std::string & | filename, |
| std::vector< Particle * > & | particles | ||
| ) |
Load the particles stress from a json file.
| [in] | filename | File name |
| [in] | particles | List containing pointers to particles |
| void States::saveParticleStress | ( | const std::string & | filename, |
| const std::vector< Particle * > & | particles | ||
| ) |
Save the particles stress into a json file.
| [in] | filename | File name |
| [in] | particles | List containing pointers to particles |