pymem3dg._core.System.computeTotalEnergy

System.computeTotalEnergy(self: pymem3dg._core.System) float

compute the total energy, where total energy = kinetic energy + potential energy - external work