<div dir="ltr"><div>Dear  Guido Fratesi,<br></div><div><br></div><div>I really appreciate for your reply,which helps me a lot in understanding Local DOS, thank you very much,<br></div><div>I beg to be excused, I have another question. In example: 

/PP/examples/example03/ , he defined the Boxes for the first vacuum layer and  the second vacuum layer and each layer defined 4 boxes., how do i knows how many boxes and layers i will set in my structure.</div><div><br></div><div>thank you, </div><div><br></div><div>/PP/examples/example03/<br><div><div>///</div><div>&projwfc<br>    prefix  = 'AlAs110'<br>    outdir='$TMP_DIR/',<br>    ngauss=0<br>    degauss=0.01<br>    DeltaE=0.02<br>    tdosinboxes=.true.<br>    plotboxes=.true.<br>    n_proj_boxes=8<br>!! Boxes centered on the first vacuum layer:<br>  !! 1) above the surface Al<br>    irmin(1,1)= 0, irmax(1,1)= 2, irmin(2,1)= 0, irmax(2,1)= 2, irmin(3,1)=63, irmax(3,1)=65,<br>  !! 2) above the surface As<br>    irmin(1,2)= 9, irmax(1,2)=11, irmin(2,2)= 5, irmax(2,2)= 7, irmin(3,2)=63, irmax(3,2)=65,<br>  !! 3) above the 2nd layer Al<br>    irmin(1,3)= 9, irmax(1,3)=11, irmin(2,3)=14, irmax(2,3)=16, irmin(3,3)=63, irmax(3,3)=65,<br>  !! 4) as large as the surface unit cell<br>    irmin(1,4)= 1, irmax(1,4)=18, irmin(2,4)= 1, irmax(2,4)=27, irmin(3,4)=63, irmax(3,4)=65,<br>!! Same as above, centered on the second vacuum layer:<br>    irmin(1,5)= 0, irmax(1,5)= 2, irmin(2,5)= 0, irmax(2,5)= 2, irmin(3,5)=72, irmax(3,5)=74,<br>    irmin(1,6)= 9, irmax(1,6)=11, irmin(2,6)= 5, irmax(2,6)= 7, irmin(3,6)=72, irmax(3,6)=74,<br>    irmin(1,7)= 9, irmax(1,7)=11, irmin(2,7)=14, irmax(2,7)=16, irmin(3,7)=72, irmax(3,7)=74,<br>    irmin(1,8)= 1, irmax(1,8)=18, irmin(2,8)= 1, irmax(2,8)=27, irmin(3,8)=72, irmax(3,8)=74,<br> /</div></div></div></div>