Memory-efficient displacement-based internal friction for wave propagation simulation