14 #ifndef KRATOS_MPM_ENERGY_CALCULATION_UTILITY
15 #define KRATOS_MPM_ENERGY_CALCULATION_UTILITY
29 namespace MPMEnergyCalculationUtility
Base class for all Elements.
Definition: element.h:60
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
#define KRATOS_API(...)
Definition: kratos_export_api.h:40
double CalculatePotentialEnergy(Element &rElement)
Assign and compute potential energy*.
Definition: mpm_energy_calculation_utility.cpp:28
Element::Pointer ElementPointerType
Definition: mpm_energy_calculation_utility.h:35
double CalculateKineticEnergy(Element &rElement)
Definition: mpm_energy_calculation_utility.cpp:60
double CalculateTotalEnergy(Element &rElement)
Assign and compute total energy.
Definition: mpm_energy_calculation_utility.cpp:127
double CalculateStrainEnergy(Element &rElement)
Definition: mpm_energy_calculation_utility.cpp:89
std::size_t IndexType
Definition: mpm_energy_calculation_utility.h:32
std::size_t SizeType
Definition: mpm_energy_calculation_utility.h:33
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21