.. highlight:: none Calculation of magnetization curve ==================================