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// SPDX-License-Identifier: MIT
2// Copyright (c) 2021-2025 MPM-Geomechanics Development Team
3
4#include <string>
5#include "Particle/Particle.h"
6
7#ifndef STATES_H_
8#define STATES_H_
9
10namespace States {
11
15 void saveParticleStress(const std::string& filename, const std::vector<Particle*>& particles);
16
20 void loadParticleStress(const std::string& filename, std::vector<Particle*>& particles);
21}
22
23#endif /* STATES_H_ */
Definition States.h:10
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.