High order well-balanced and total-energy-conserving local discontinuous Galerkin methods for compressible self-gravitating Euler equations | Synapse