Urgent Help Needed

34 views
Skip to first unread message

Haso Sani

unread,
Jun 4, 2026, 4:41:59 AM (9 days ago) Jun 4
to mumax2
1、 My current Mumax3 version is 3.9.1c. Can this code snippet run? (Comments removed)
Bphi_mask := NewVectorMask(Nx, Ny, Nz) x0 := 0.0 y0 := 0.0 for i:=0; i<Nx; i++{ for j:=0; j<Ny; j++{ for k:=0; k<Nz; k++{ pos := Index2Coord(i, j, k) x := pos.X() - x0 y := pos.Y() - y0 r := sqrt(x*x + y*y) if r > 0 { ex := -y/r ey := x/r Bphi_mask.SetVector(i, j, k, vector(ex, ey, 0)) } else { Bphi_mask.SetVector(i, j, k, vector(0, 0, 0)) } } } } B_ext = vector(0, 0, B_bias) B_ext.Add( Bphi_mask, B_max * (A*(1/(1+exp(-k1*(t-B_b))) - 1/(1+exp(-k2*(t-C_c)))) )

2、Now I want to download and install the latest version of Mumax3. Where can I find the complete installation procedure?  

Jonathan Maes

unread,
Jun 4, 2026, 9:56:39 AM (9 days ago) Jun 4
to mumax2
Dear Hasos,

Scripts from older versions of mumax³ should also work in newer versions of mumax³.

You can download mumax³ from our website. The downloaded file can be uncompressed and stored in a location of your choice. If you add said location to your PATH environment variable, you can then run "mumax3 some_file.mx3" to run a script. Let us know if you run into any issues.

Best regards,
Jonathan

Op donderdag 4 juni 2026 om 10:41:59 UTC+2 schreef hasos...@gmail.com:
Reply all
Reply to author
Forward
0 new messages