One way to model Earth's magnetosphere is to divide it into an enormous mesh of cells. The more details you want to capture, the more cells you need. The complete mesh may be 100 times larger than Earth itself.