Optimization and Automatic Differentiation

Grid configuration for the case of a non-axisymmetric magnetopause.