Stav dette: Potential theory in gravity and magnetic applications