Spinladder error

A place to report and discuss potential bugs
Post Reply
YuryKutin
Newbie
Posts: 3
Joined: Wed Jan 11, 2017 8:49 am

Spinladder error

Post by YuryKutin »

Dear Developers,
I'm getting the following error when I try to run the spinladder function:
Reference to non-existent field 'ee'.
error in spinladder (line 90)
This error occurs when the isotropic exchange interaction is given in the form Sys.J. If, instead, the Sys.ee form is used, the function runs without errors.
The error occurs also for the example given on the spinladder page:

Code: Select all

Sys.S = [5/2 5/2];
Sys.g = [2 2];
Sys.A = [250 0; 0 250];
Sys.Nucs = '55Mn,55Mn';
Sys.D = [1 1]*-2.3*30e3;
Sys.J = -30*30e3;
spinladder(Sys,293)
If "Sys.J = -30*30e3" is substituted by "Sys.ee = -30*30e3", the script works.

Easyspin: 5.2.11, 5.2.14;
Matlab: R2011b, R2013b.

Thank you very much for your time!
Yury
Stefan Stoll
EasySpin Creator
Posts: 1050
Joined: Mon Jul 21, 2014 10:11 pm
Location: University of Washington

Re: Spinladder error

Post by Stefan Stoll »

This is indeed a bug. We'll put it on our list of things to fix. Thanks for reporting!
Stefan Stoll
EasySpin Creator
Posts: 1050
Joined: Mon Jul 21, 2014 10:11 pm
Location: University of Washington

Re: Spinladder error

Post by Stefan Stoll »

This is fixed in 5.2.17
Post Reply