Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
documentation:tutorials:nio_crystal_field:nixs_m45 [2018/03/20 11:09] – Maurits W. Haverkort | documentation:tutorials:nio_crystal_field:nixs_m45 [2019/02/21 08:22] (current) – Maurits W. Haverkort | ||
---|---|---|---|
Line 30: | Line 30: | ||
NF=10 | NF=10 | ||
NB=0 | NB=0 | ||
- | IndexDn_3d={0,1,2,3,4} | + | IndexDn_3d={0, |
- | IndexUp_3d={5,6,7,8,9} | + | IndexUp_3d={1,3,5,7,9} |
-- define operators on this basis | -- define operators on this basis | ||
Line 111: | Line 111: | ||
for j = 1,#oppList do | for j = 1,#oppList do | ||
expectationvalue = Chop(psiList[i]*oppList[j]*psiList[i]) | expectationvalue = Chop(psiList[i]*oppList[j]*psiList[i]) | ||
- | io.write(string.format(" | + | io.write(string.format(" |
end | end | ||
io.write(" | io.write(" |