MPM-Geomechanics
Material Point Method for simulating geo-materials under large deformation conditions
Loading...
Searching...
No Matches
MPM.h
Go to the documentation of this file.
1
7
8#ifndef MPM_H_
9#define MPM_H_
10
11#include "Mesh/Mesh.h"
12#include "Body/Body.h"
13#include "Model.h"
14#include "Output.h"
15#include "Input.h"
16#include "States.h"
17#include "Solver/Solver.h"
18
23class MPM {
24
25public:
26
29 MPM();
30
33 virtual ~MPM();
34
38 void readInputFile(int argument_counter, char ** argument_vector);
39
43
46 void solve();
47
50 void end();
51
54 void loadState();
55
58 void saveState();
59private:
60
62
63 vector<Body*> bodies;
64
65 vector<Particle*> particles;
66
67 vector<Material*> materials;
68
70
74
77 void setSolver();
78
81 void setupMesh();
82
86
90
94
98
102
106
110
114
118
122
123
127
130};
131
132#endif /* MPM_H_ */
Components and algorithms of the MPM This class contain the basic objects of a MPM model,...
Definition MPM.h:23
void readInputFile(int argument_counter, char **argument_vector)
Read the input file of the model.
void setupLoads()
Configure loads in the model.
void setupParticles()
Configure particles.
Solver * solver
operation for solve the equations in time
Definition MPM.h:69
void setThreads()
Configure number of threads.
bool getSeismicAnalysis()
void setupDamping()
Configure damping forces.
Mesh mesh
grid mesh
Definition MPM.h:61
void createBodies()
Create bodies.
MPM()
Default constructor.
void setSimulationTime()
Configure the simulation time.
void loadState()
Load model state.
void setSeismicAnalysis(bool)
void setSolver()
Configure the solver of the model.
void createModel()
Create the numerical MPM model.
void setInterpolationFunctions()
Configure the interpolation functions.
virtual ~MPM()
Default destructor.
vector< Material * > materials
bodies discretized by material points
Definition MPM.h:67
void setupMesh()
Configure the mesh.
void saveState()
Save model state.
void setupBodyList()
Configure the body list.
vector< Body * > bodies
bodies discretized by material points
Definition MPM.h:63
void setupResults()
Configure results to be written.
void end()
Finish all program structure.
void setupMaterialList()
Configures the material list.
void setTimeStep()
Configure the time step.
void setNumberPhasesInSimulation()
Configure number of phases in the simulation.
vector< Particle * > particles
material points list
Definition MPM.h:65
void solve()
Solve the problem in time.
Class representing a rectangular grid mesh.
Definition Mesh.h:29
Represents the operations to solve the equations in time.
Definition Solver.h:19