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: hext_ho.c

Plan

Attachments

There are 1 attachment(s) stored for this page.

  • [get | view] (2009-05-18 13:00:37, 11.3 KB) [[attachment:hext_ho.c]]
 All files | Selected Files: delete move to page copy to page


CategoryMagparBugFixed

MagparWiki: BugTracker/ExitBeforeEndWithHstepfile (last edited 2009-07-09 18:50:29 by WernerScholz)


Copyright (C) Werner Scholz 2010