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
10
namespace
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_ */
Particle.h
States
Definition
States.h:10
States::loadParticleStress
void loadParticleStress(const std::string &filename, std::vector< Particle * > &particles)
Load the particles stress from a json file.
States::saveParticleStress
void saveParticleStress(const std::string &filename, const std::vector< Particle * > &particles)
Save the particles stress into a json file.
inc
States.h
Generated by
1.12.0