MPM-Geomechanics
Material Point Method for simulating geo-materials under large deformation conditions
Loading...
Searching...
No Matches
Energy.h
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2021-2025 MPM-Geomechanics Development Team
3
4#ifndef INC_ENERGY_H_
5#define INC_ENERGY_H_
6
7#include "Body/Body.h"
8
9namespace Energy
10{
12 void setCurrentKineticEnergy(double energy); //<!< Set current kinetic energy
14 void setLastKineticEnergy(double energy); //<!< Set last kinetic energy
15 double deltaKineticEnergy(); //<!< Set last kinetic energy as current
16 void computeKineticEnergy(vector<Particle*>* particles);
17};
18
19#endif /* INC_ENERGY_H_ */
Definition Energy.h:10
double getLastKineticEnergy()
Get last kinetic energy.
void computeKineticEnergy(vector< Particle * > *particles)
Compute the kinetic energy of the bodies.
double deltaKineticEnergy()
void setCurrentKineticEnergy(double energy)
double getCurrentKineticEnergy()
Get current kinetic energy.
void setLastKineticEnergy(double energy)