A three-dimensional asymmetric magnetopause model