[Pw_forum] Charge density plot for AlAs

Joshi Mitesh mitujoshi at gmail.com
Fri Aug 10 08:21:17 CEST 2007


Dear users,
        I am trying to learn how to plot the charge density in 2D and 3D, as
given in exaple/example05/si example.
I am using a simple example of AlAs, after scf calculation I run following
PP.x input files, but output shows only one kind of atoms,
How I can change that & how to visulize this in xcrysden

cat > AlAs.pp_rho.in << EOF
 &inputpp
    prefix  = 'AlAs'
    outdir = '/home/AlAs/Charge_Dens/'
    filplot = 'AlAscharge'
    plot_num= 0
 /
 &plot
    nfile = 1
    filepp(1) = 'AlAscharge'
    weight(1) = 1.0
    iflag = 2
    output_format = 2
    fileout = 'AlAs.rho.dat'
    e1(1) =0.0, e1(2)=1.0, e1(3) = 1.0,
    e2(1) =1.0, e2(2)=0.0, e2(3) = 0.0,
    nx=50, ny=30
 /
EOF

$PW_ROOT/bin/pp.x < AlAs.pp_rho.in > AlAs.pp_rho.out

-----------------------------------------------------------------------------------------------
Mitesh  Joshi
Department of Physics,
S P University, Anand Gujarat India
------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20070810/6a34c8bb/attachment.html>


More information about the users mailing list