Energy Dissipation in Solids due to Material Inelasticity, Viscous Coupling, and Algorithmic Damping