MPM-Geomechanics
Material Point Method for simulating geo-materials under large deformation conditions
Loading...
Searching...
No Matches
States.h
Go to the documentation of this file.
1
2#include <string>
3#include "Particle/Particle.h"
4
5#ifndef STATES_H_
6#define STATES_H_
7
8namespace States {
9
13 void saveParticleStress(const std::string& filename, const std::vector<Particle*>& particles);
14
18 void loadParticleStress(const std::string& filename, std::vector<Particle*>& particles);
19}
20
21#endif /* STATES_H_ */
Definition States.h:8
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.