= Description = Magpar exits before the end of the simulation when the option -hext_ho_hstepfile is used. Bug reported by Dr. Han - thank you! == Steps to reproduce == 1. Run magpar simulation with any inp file and input files given below. 2. magpar exits at Hext=0 with the message "hextamp 0 kA/m exceeds hextfinal 0 kA/m" == Details == || '''magpar version''' || 0.8 (original) || || '''OS and version''' || any || || '''Compiler name and version''' || any || || '''Machine/hardware/CPU type''' || any || || '''Library versions''' || any || allopt.txt: {{{ -simName nanotube -meshtype 1 -size 1e-9 -inp 0001 -init_mag 8 -mode 1 -demag 1 -hextini 1591.5494 -htheta 1.5707963 -hphi 0 -hext_ho_hstepfile Hstep.txt -condinp_equil 1 -slice_n 0,0,1 -slice_p 0,0,5 -tol 1e-6 -tao_monitor }}} Hstep.txt {{{ 9 1 1 2 0.4 3 0 4 -0.6 5 -1 6 -0.6 7 0 8 0.5 9 1 }}} == Workaround == No really useful workaround available. Try "-hstep" option instead of using "-hext_ho_hstepfile" - not a full replacement though. Bug fix available: [[attachment:hext_ho.c]] = Plan = * Priority: high * Assigned to: WernerScholz * Status: fixed: fixed in development version leading up to version 0.9 = Attachments = <> <> ---- CategoryMagparBugFixed