Znn3bq.jpeg
±±¾©Ê¯ÓÍ»¯¹¤Ñ§Ôº2026ÄêÑо¿ÉúÕÐÉú½ÓÊÕµ÷¼Á¹«¸æ
²é¿´: 1321  |  »Ø¸´: 5
µ±Ç°Ö÷ÌâÒѾ­´æµµ¡£

[×ÊÔ´] ¡¾Ô­´´¡¿Partial charge density(for any band at any k point)

ÒÔÏÂÄÚÈÝÀ´×ÔÎҵIJ©¿Í£ºhttp://blog.sina.com.cn/s/blog_5f15ead20100d3wp.html

Partial charge density¼ÆËã»ò³ÆÎªBand decomposed charge density¼ÆË㣬¼´¼ÆËãÌØ¶¨µÄij¸ö(»òijЩ)kµãºÍ±¾Õ÷Öµ(ÕâЩkµãºÍ±¾Õ÷ÖµÊÇÏ໥¶ÔÓ¦µÄ)Ëù¶ÔÓ¦µÄ±¾Õ÷²¨º¯ÊýµÄƽ·½(Ò²¾ÍÊǵçºÉÃܶÈ)¡£ÌرðÊÇÓÃÔÚ STMµÄ¼ÆËãÖУ¬ÒÔ¼°·ÖÎöÌØ¶¨ÄÜÁ¿·¶Î§ÄÚ»òÄÜÁ¿µãµÄ»¯Ñ§¼üÌØÕ÷(»òatomic characteristic)¡£
Ref£ºhttp://old.blog.edu.cn/user1/11542/archives/2005/1013029.shtml

ÒÔϹ²¸ø³öÈý¸öÀý×Ó¼ÓÒÔ˵Ã÷£º

Example 1:

  &INPUTPP
                      outdir = '/home/raman/graphene/g55/' ,
                     filplot = '/home/raman/graphene/g55/graphene-psi^2-24band.plot' ,(ÔÚpwguiÏ£¬±ØÐëÓþø¶Ô·¾¶)
                    plot_num = 7,
                      kpoint = 1,(¾ßÌåµÄkµã×ø±ê²ÎÕÕ.band.outÎļþ)
                       kband = 1,(¾ßÌåÊǵڼ¸¸öband²ÎÕÕ.band.outÎļþ)

/
&PLOT
                       nfile = 1 ,(´ú±íÖ»ÓÐÒ»¸öÊäÈëÎļþ£¬¼´INPUTTµÄÊä³öÎļþ)
                   weight(1) = 1.0,(Êä³öÊý¾ÝµÄÈ¨ÖØÊÇ1)
                     fileout = '/home/raman/graphene/g55/graphene-psi^2-24band.out' ,
                       iflag = 3 ,
               output_format = 3 ,
                       e1(1) = 10,(»­Í¼Ê±£¬Êµ¿Õ¼äµÚÒ»¸ö»ùʸµÄ·½ÏòºÍ´óС)
                       e2(2) = 0,
                       e3(3) = 0,
                       e2(1) = 0,(»­Í¼Ê±£¬Êµ¿Õ¼äµÚ¶þ¸ö»ùʸµÄ·½ÏòºÍ´óС)
                       e2(2) = 10,
                       e2(3) = 0,
                       e3(1) = 0,(»­Í¼Ê±£¬Êµ¿Õ¼äµÚÈý¸ö»ùʸµÄ·½ÏòºÍ´óС)
                       e3(2) = 0,
                       e3(3) = 10,
                       x0(1) = 0,(»­Í¼Ê±£¬ÔÚʵ¿Õ¼äµÄÆðµã)
                       x0(2) = 0,
                       x0(3) = 0,
                          nx = 50,(»­Í¼Ê±£¬Êµ¿Õ¼äµÚÒ»¸ö»ùʸµÄ·½Ïò¹²·Ö¶àС¸öС¸ñ)
                          nx = 50,
                          nx = 50,

/
      The code performs two steps:
      (1) reads the output file produced by pw.x, extract and calculate he desired quantity (rho, V, ...)

      (2) writes the desired quantity to file in a suitable format for various types of plotting and various plotting programs.

       The input data of this program are read from standard input or from a file and have the following format:

NAMELIST &INPUTPP
   containing the variables for step (1), followed by

NAMELIST &PLOT
   containing the variables for step (2)

        The two steps can be performed independently. In order to perform only step (2), leave namelist &inputpp blank. In order to perform only step (1), do not specify namelist &plot

        Intermediate results from step 1 can be saved to disk (see variable "filplot" in &inputpp) and later read in step 2.Since the file with intermediate results is formatted, it can be safely transferred to a different machine. This also allows plotting of a linear combination (for instance, charge differences) by saving two intermediate files and combining them (see variables "weight" and "filepp" in &plot)

Example 2:

&INPUTPP (Áô°×)


/
&PLOT
                       nfile = 1 ,
                   filepp(1) = '/home/raman/graphene/g55/graphene-psi^2-24band.plot',
                   weight(1) = 1.0,
                     fileout = '/home/raman/graphene/g55/graphene-psi^2-24band.out' ,
                       iflag = 3 ,
               output_format = 5 ,
/

         This example shows how to exacute &INPUTPP and &PLOT independently.

Example 3:

&INPUTPP

/
&PLOT
                       nfile = 2 ,(¹²Á½¸öÊäÈëÎļþ)
                   filepp(1) = '/home/raman/graphene/g55/graphene-psi^2-24band.plot',
                   filepp(2) = '/home/raman/graphene/g55/graphene-psi^2-24band.plot',
                   weight(1) = 1.0,(µÚÒ»¸öÎļþµÄÈ¨ÖØ)
                   weight(2) = -1.0,(µÚ¶þ¸öÎļþµÄÈ¨ÖØ)
                     fileout = '/home/raman/graphene/g55/graphene-psi^2-24-25band.out' ,
                       iflag = 3 ,
               output_format = 5 ,
/
      This example exhibits how to calculate (psi^2-24 minus psi^2-25). Following this method,I can get 'difference charge density' easily.
      I got the following picture of electronic density from Xcrysden software.

[ Last edited by xirainbow on 2009-8-10 at 15:06 ]
»Ø¸´´ËÂ¥

» ²ÂÄãϲ»¶

ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

baoer3808

Òø³æ (СÓÐÃûÆø)


ËäÈ»¿´²»¶®£¬Ö§³ÖÒ»ÏÂ
2Â¥2009-08-10 19:57:41
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

chuzhaonan

Ìú¸Ëľ³æ (ÖøÃûдÊÖ)


xirainbow,Ö§³ÖÄ㣬´óÅ£°¡
3Â¥2009-08-11 11:55:29
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

awmc2008

ÖÁ×ðľ³æ (ÎÄ̳¾«Ó¢)


¡ï
Сľ³æ(½ð±Ò+0.5):¸ø¸öºì°ü£¬Ð»Ð»»ØÌû½»Á÷
ºÃ×ÊÁÏ£¬Ð»Ð»Â¥Ö÷¡£ÎåÐÇÍÆ¼ö¡£
4Â¥2009-08-11 15:26:53
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

lfhuang

ľ³æ (ÖøÃûдÊÖ)


¡ï ¡ï ¡ï
Сľ³æ(½ð±Ò+0.5):¸ø¸öºì°ü£¬Ð»Ð»»ØÌû½»Á÷
fegg7502(½ð±Ò+2,VIP+0):thank you very much! 8-16 17:32
ͦƯÁÁµÄ¹¤×÷£¬²»¹ýÔÚÏÂÏëÎÊ£ºÒªÌáµ½STM£¬ÆäͼÏñÊÇ·ñºÍÉÏͼÀàËÆ£¬ÊDz»ÊÇ»¹ÒªÕæÕýµØÍ¨¹ýSTM¼ÆËã²ÅÄÜϽáÂÛ£¿
5Â¥2009-08-14 20:46:31
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
ÒýÓûØÌû:
Originally posted by lfhuang at 2009-8-14 20:46:
ͦƯÁÁµÄ¹¤×÷£¬²»¹ýÔÚÏÂÏëÎÊ£ºÒªÌáµ½STM£¬ÆäͼÏñÊÇ·ñºÍÉÏͼÀàËÆ£¬ÊDz»ÊÇ»¹ÒªÕæÕýµØÍ¨¹ýSTM¼ÆËã²ÅÄÜϽáÂÛ£¿

ÎÒ¸ø³öµÄ²»ÊÇSTMͼÏñ
Ö»ÊÇÒ»¸öµç×ÓÃܶȷֲ¼Í¼£º£©
6Â¥2009-08-18 20:21:07
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
Ïà¹Ø°æ¿éÌø×ª ÎÒÒª¶©ÔÄÂ¥Ö÷ xirainbow µÄÖ÷Ìâ¸üÐÂ
¡î ÎÞÐǼ¶ ¡ï Ò»ÐǼ¶ ¡ï¡ï¡ï ÈýÐǼ¶ ¡ï¡ï¡ï¡ï¡ï ÎåÐǼ¶
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[¿¼ÑÐ] ר˶085403£¬291·Ö£¬ÓÐÁ½Æª×¨Àû£¬Ò»¹úÒ»½± +3 ¹þ¼ªßä¹þ¼ªßä 2026-04-07 3/150 2026-04-07 18:21 by À¶ÔÆË¼Óê
[¿¼ÑÐ] ÉúÎïÓëÒ½Ò©273Çóµ÷¼Á +14 ÀóÌâÄÏǽ 2026-04-05 15/750 2026-04-07 16:29 by ¿É¿Ú¿ÉÀÖ²»¼Ó±ùØ
[¿¼ÑÐ] Ò»Ö¾Ô¸ÎäÀí³µÁ¾×¨Ë¶×Ü·Ö 281 Çóµ÷¼Á +4 Éϰ¶Ñо¿Éú. 2026-04-02 4/200 2026-04-07 09:52 by ¼ÓÓÍÏòδÀ´°¡
[¿¼ÑÐ] 081200-11408-367ѧ˶Çóµ÷¼Á +4 1_2_3111 2026-04-06 4/200 2026-04-07 08:13 by jp9609
[¿¼ÑÐ] 302·ÖÇóµ÷¼Á Ò»Ö¾Ô¸°²»Õ´óѧ085601 +12 zyxÉϰ¶£¡ 2026-04-04 12/600 2026-04-07 02:09 by BruceLiu320
[¿¼ÑÐ] ²ÄÁϹ¤³Ì310ר˶µ÷¼Á +14 ÀÌÀÌÎÒ¡­. 2026-04-04 15/750 2026-04-06 14:18 by lqwchd
[¿¼ÑÐ] 301Çóµ÷¼Á +7 ϸ°ûÏà¹Øµ°°× 2026-04-03 7/350 2026-04-06 11:47 by lijunpoly
[¿¼ÑÐ] Çóµ÷¼Á£¬Ò»Ö¾Ô¸Ö£ÖÝ´óѧ²ÄÁÏÓ뻯¹¤×¨Ë¶£¬Ó¢¶þÊý¶þ342·Ö£¬ÇóÀÏʦÊÕÁô +19 v12abo 2026-04-02 21/1050 2026-04-06 09:29 by À¶ÔÆË¼Óê
[¿¼ÑÐ] 372·Ö£¬²ÄÁÏÓ뻯¹¤£¬Ò»Ö¾Ô¸ºþÄÏ´óѧ£¬Çóµ÷¼Á +3 À¶¼ãƬ 2026-04-01 3/150 2026-04-06 09:04 by Î޼ʵIJÝÔ­
[¿¼ÑÐ] 331Çóµ÷¼Á +8 ÓÚÕ÷yz 2026-04-05 8/400 2026-04-06 00:54 by fmesaito
[¿¼ÑÐ] 320·ÖÈ˹¤ÖÇÄܵ÷¼Á +8 Õñ¡ªTZ 2026-04-03 8/400 2026-04-05 22:33 by ·¶Ê½Ë¼Î¬
[¿¼ÑÐ] 308Çóµ÷¼Á +3 ÖÕ²»ËÆ´Óǰ 2026-04-05 3/150 2026-04-05 22:23 by hemengdong
[¿¼ÑÐ] ²ÄÁϵ÷¼Á +7 dxyµ÷¼Á 2026-04-04 7/350 2026-04-05 09:15 by İÇï26
[¿¼ÑÐ] 324Çóµ÷¼Á +9 ÏëÉÏѧÇóµ÷ 2026-04-03 9/450 2026-04-04 23:57 by ¹û¶³´óÍõ
[¿¼ÑÐ] ²ÄÁÏÇóµ÷¼Á +10 ÄØÄØÄÝÄÝ 2026-04-01 10/500 2026-04-04 23:12 by Î޼ʵIJÝÔ­
[¿¼ÑÐ] 280Çóµ÷¼Á +21 ¹¾ààÏþÏþ 2026-04-02 22/1100 2026-04-04 11:12 by Öí»á·É
[¿¼ÑÐ] 357Çóµ÷¼Á +13 1050389037 2026-04-03 13/650 2026-04-03 22:27 by Î޼ʵIJÝÔ­
[¿¼ÑÐ] һ־Ըɽ¶«´óѧ£¬085600£¬344 +7 κ×Óper 2026-04-02 8/400 2026-04-02 21:12 by °ÙÁéͯ888
[¿¼ÑÐ] 26¿¼Ñе÷¼Á +4 Wnz.20030617 2026-04-01 5/250 2026-04-02 16:11 by 1939136013¹·×³
[¿¼ÑÐ] 279Çóµ÷¼Á +7 Īxiao 2026-04-01 7/350 2026-04-01 22:05 by ¿Í¶ûÃÀµÂ
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û