MPM-Geomechanics
Material Point Method for simulating geo-materials under large deformation conditions
Loading...
Searching...
No Matches
MPM Class Reference

Components and algorithms of the MPM This class contain the basic objects of a MPM model, and the operations between them. More...

#include <MPM.h>

Collaboration diagram for MPM:

Public Member Functions

 MPM ()
 Default constructor.
 
virtual ~MPM ()
 Default destructor.
 
void readInputFile (int argument_counter, char **argument_vector)
 Read the input file of the model.
 
void createModel ()
 Create the numerical MPM model.
 
void solve ()
 Solve the problem in time.
 
void end ()
 Finish all program structure.
 
void loadState ()
 Load model state.
 
void saveState ()
 Save model state.
 

Private Member Functions

void setSimulationTime ()
 Configure the simulation time.
 
void setSolver ()
 Configure the solver of the model.
 
void setupMesh ()
 Configure the mesh.
 
void setupMaterialList ()
 Configures the material list.
 
void setupBodyList ()
 Configure the body list.
 
void createBodies ()
 Create bodies.
 
void setTimeStep ()
 Configure the time step.
 
void setInterpolationFunctions ()
 Configure the interpolation functions.
 
void setupParticles ()
 Configure particles.
 
void setupLoads ()
 Configure loads in the model.
 
void setupResults ()
 Configure results to be written.
 
void setupDamping ()
 Configure damping forces.
 
void setNumberPhasesInSimulation ()
 Configure number of phases in the simulation.
 
void setThreads ()
 Configure number of threads.
 
bool getSeismicAnalysis ()
 
void setSeismicAnalysis (bool)
 

Private Attributes

Mesh mesh
 grid mesh
 
vector< Body * > bodies
 bodies discretized by material points
 
vector< Particle * > particles
 material points list
 
vector< Material * > materials
 bodies discretized by material points
 
Solversolver
 operation for solve the equations in time
 

Detailed Description

Components and algorithms of the MPM This class contain the basic objects of a MPM model, and the operations between them.

MPM-Geomechanics my_model.json
Components and algorithms of the MPM This class contain the basic objects of a MPM model,...
Definition MPM.h:23

Constructor & Destructor Documentation

◆ MPM()

MPM::MPM ( )

Default constructor.

◆ ~MPM()

virtual MPM::~MPM ( )
virtual

Default destructor.

Member Function Documentation

◆ createBodies()

void MPM::createBodies ( )
private

Create bodies.

◆ createModel()

void MPM::createModel ( )

Create the numerical MPM model.

◆ end()

void MPM::end ( )

Finish all program structure.

◆ getSeismicAnalysis()

bool MPM::getSeismicAnalysis ( )
private

◆ loadState()

void MPM::loadState ( )

Load model state.

◆ readInputFile()

void MPM::readInputFile ( int argument_counter,
char ** argument_vector )

Read the input file of the model.

Parameters
[in]argument_counterArgument counter
[in]argument_vectorArgument vector

◆ saveState()

void MPM::saveState ( )

Save model state.

◆ setInterpolationFunctions()

void MPM::setInterpolationFunctions ( )
private

Configure the interpolation functions.

◆ setNumberPhasesInSimulation()

void MPM::setNumberPhasesInSimulation ( )
private

Configure number of phases in the simulation.

◆ setSeismicAnalysis()

void MPM::setSeismicAnalysis ( bool )
private

◆ setSimulationTime()

void MPM::setSimulationTime ( )
private

Configure the simulation time.

◆ setSolver()

void MPM::setSolver ( )
private

Configure the solver of the model.

◆ setThreads()

void MPM::setThreads ( )
private

Configure number of threads.

◆ setTimeStep()

void MPM::setTimeStep ( )
private

Configure the time step.

◆ setupBodyList()

void MPM::setupBodyList ( )
private

Configure the body list.

◆ setupDamping()

void MPM::setupDamping ( )
private

Configure damping forces.

◆ setupLoads()

void MPM::setupLoads ( )
private

Configure loads in the model.

◆ setupMaterialList()

void MPM::setupMaterialList ( )
private

Configures the material list.

◆ setupMesh()

void MPM::setupMesh ( )
private

Configure the mesh.

◆ setupParticles()

void MPM::setupParticles ( )
private

Configure particles.

◆ setupResults()

void MPM::setupResults ( )
private

Configure results to be written.

◆ solve()

void MPM::solve ( )

Solve the problem in time.

Member Data Documentation

◆ bodies

vector<Body*> MPM::bodies
private

bodies discretized by material points

◆ materials

vector<Material*> MPM::materials
private

bodies discretized by material points

◆ mesh

Mesh MPM::mesh
private

grid mesh

◆ particles

vector<Particle*> MPM::particles
private

material points list

◆ solver

Solver* MPM::solver
private

operation for solve the equations in time


The documentation for this class was generated from the following file: