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

Represents the operations to solve the equations in time. More...

#include <Solver.h>

Inheritance diagram for Solver:
Collaboration diagram for Solver:

Public Member Functions

 Solver ()
 Default constructor.
 
virtual ~Solver ()
 Default destructor.
 
virtual void Solve ()=0
 Solve the problem in time.
 
void registerMesh (Mesh *mesh)
 Register the mesh in the solver.
 
void registerBodies (vector< Body * > *bodies)
 Register the bodies in the solver.
 

Protected Attributes

Meshmesh
 pointer to mesh
 
vector< Body * > * bodies
 pointer to bodies
 

Detailed Description

Represents the operations to solve the equations in time.

Constructor & Destructor Documentation

◆ Solver()

Solver::Solver ( )
inline

Default constructor.

◆ ~Solver()

Solver::~Solver ( )
inlinevirtual

Default destructor.

Member Function Documentation

◆ registerBodies()

void Solver::registerBodies ( vector< Body * > * bodies)
inline

Register the bodies in the solver.

◆ registerMesh()

void Solver::registerMesh ( Mesh * mesh)
inline

Register the mesh in the solver.

◆ Solve()

virtual void Solver::Solve ( )
pure virtual

Solve the problem in time.

Implemented in SolverExplicitTwoPhaseUSL, and SolverExplicitUSL.

Member Data Documentation

◆ bodies

vector<Body*>* Solver::bodies
protected

pointer to bodies

◆ mesh

Mesh* Solver::mesh
protected

pointer to mesh


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