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 setupTerrainContact ()
 Configure Terrain contact.
 
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 ()
 Get seismic analysis active.
 
void setSeismicAnalysis (bool)
 Set seismic analysis active.
 

Private Attributes

Mesh mesh
 background grid mesh
 
TerrainContactterrainContact
 terrain contact object
 
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.

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

Get seismic analysis active.

◆ 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

Set seismic analysis active.

◆ 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.

◆ setupTerrainContact()

void MPM::setupTerrainContact ( )
private

Configure Terrain contact.

◆ 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

background grid mesh

◆ particles

vector<Particle*> MPM::particles
private

material points list

◆ solver

Solver* MPM::solver
private

operation for solve the equations in time

◆ terrainContact

TerrainContact* MPM::terrainContact
private

terrain contact object


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