<SPAN id="yiv1110133197yui_3_2_0_18_134154424361457">Dear Wien2K users and Prof. Blaha:<BR><BR></SPAN><SPAN lang="">
<DIV><SPAN id="yiv1110133197yui_3_2_0_18_134154424361464"></SPAN></DIV>
<DIV><SPAN id="yiv1110133197yui_3_2_0_18_134154424361467">When calculating band structure with band character for plotting, we need to change <BR>"case.insp" file accordingly. I have two questions concerning with 'jtype':<BR><BR></SPAN></DIV>
<DIV><SPAN>1. Is jtype (0,1,2,3) correspoding to orbital (s,p,d,f) for each atom speficified ?<BR><BR></SPAN></DIV>
<DIV><SPAN>2. How to define 'jtype' if I want to calculate band character of projected orbitals, such as Px, Py<BR>and dx2-y2 and so on? <BR><BR>In the </SPAN><SPAN><SPAN>SRC_spaghetti/spag.f, PX, PY, PZ, DXY, DYZ, DXZ, DX2Y2 and DZ2 as listed below may give<BR>some hint, but </SPAN>I am still confused with it.<BR><BR></SPAN></DIV>
<DIV><SPAN>===============================================</SPAN></DIV>
<DIV><SPAN> 430 xmlabel1(:)=label1(:)<BR> 431 index_shift=0<BR> 432 do jj1=1,3<BR> 433 do ii1=1,39<BR> 434 if(xmlabel1(ii1:ii1+1).eq.'PX') then<BR> 435 index_shift = index_shift+4<BR> 436 xmlabel1(!
ii1+6:12+index_shift) = xmlabel1(ii1+2:12+index_shift-4) <BR> 437 xmlabel1(ii1:ii1+5) ='p'//achar(92)//'sx'//achar(92)//'N'<BR> 438 endif<BR> 439 if(xmlabel1(ii1:ii1+1).eq.'PY') then<BR> 440 index_shift = index_shift+4<BR> 441 xmlabel1(ii1+6:12+index_shift) = xmlabel1(ii1+2:12+index_shift-4) <BR> 442 &nb!
sp; &
nbsp; xmlabel1(ii1:ii1+5) ='p'//achar(92)//'sy'//achar(92)//'N'<BR> 443 endif<BR> 444 if(xmlabel1(ii1:ii1+1).eq.'PZ') then<BR> 445 index_shift = index_shift+4<BR> 446 xmlabel1(ii1+6:12+index_shift) = xmlabel1(ii1+2:12+index_shift-4) <BR> 447 xmlabel1(ii1:ii1+5) ='p'//achar(92)//'sz'//achar(92)//'N'<BR>&n!
bsp; 448 endif<BR> 449 enddo !ii1<BR> 450 do ii1=1,39<BR> 451 if(xmlabel1(ii1:ii1+2).eq.'DZ2') then<BR> 452 index_shift = index_shift+6<BR> 453 xmlabel1(ii1+9:12+index_shift) = xmlabel1(ii1+3:12+index_shift-6) <BR> 454 &n!
bsp;
xmlabel1(ii1:ii1+8) ='d'//achar(92)//'sz'//achar(92)//'S2'//achar(92)//'N'<BR> 455 endif<BR> 456 if(xmlabel1(ii1:ii1+2).eq.'DXY') then<BR> 457 index_shift = index_shift+4<BR> 458 xmlabel1(ii1+7:12+index_shift) = xmlabel1(ii1+3:12+index_shift-4) <BR> 459 xmlabel1(ii1:ii1+6) ='d'//achar(92)//'sxy'//achar(92)//'!
N'//achar(92)//'N'<BR> 460 endif<BR> 461 if(xmlabel1(ii1:ii1+2).eq.'DXZ') then<BR> 462 index_shift = index_shift+4<BR> 463 xmlabel1(ii1+7:12+index_shift) = xmlabel1(ii1+3:12+index_shift-4) <BR> 464 xmlabel1(ii1:ii1+6) ='d'//achar(92)//'sxz'//achar(92)//'N'//achar(92)//'N'<BR> 465 !
end
if<BR> 466 if(xmlabel1(ii1:ii1+2).eq.'DYZ') then<BR> 467 index_shift = index_shift+4<BR> 468 xmlabel1(ii1+7:12+index_shift) = xmlabel1(ii1+3:12+index_shift-4) <BR> 469 xmlabel1(ii1:ii1+6) ='d'//achar(92)//'syz'//achar(92)//'N'//achar(92)//'N'<BR> 470 endif<BR> 471  !
; enddo !ii1<BR> 472 do ii1=1,39<BR> 473 if(xmlabel1(ii1:ii1+4).eq.'DX2Y2') then<BR> 474 index_shift = index_shift+13<BR> 475 xmlabel1(ii1+18:12+index_shift) = xmlabel1(ii1+5:12+index_shift-13) <BR> 476 xmlabel1(ii1:ii1+17)='d'//achar(92)//'sx'//achar(92)//'S2'//achar(92)//'N'//achar(92)//'s-y'//achar(92)//'S2'//achar(92)//'N'<BR> 477 endif<BR>==============================!
=======================================</SPAN></DIV>
<DIV><SPAN><BR><BR>Can you please give me some tips about it, thanks in advance.</SPAN></DIV>
<DIV><SPAN></SPAN> </DIV>
<DIV><SPAN>Yours,</SPAN></DIV>
<DIV><SPAN></SPAN><SPAN><BR>H.H. GUO</SPAN></DIV>
<DIV><SPAN></SPAN></DIV></SPAN><BR><SPAN>Magnetism and Magnetic Materials Division<BR>Shenyang Materials Science National Laboratory<BR>Institute of Metal Research <BR>Chinese Academy of Sciences<BR>72 Wenhua Road,Shenyang 110016, China<BR><BR><BR>+86-15140243901 (mobile)<BR>work: hhguo@imr.ac.cn<BR></SPAN><br><br><br>