Dirac Monopoles in the Ernst–Schwarzschild Spacetime