magnetohydrostatics