±±¾©Ê¯ÓÍ»¯¹¤Ñ§Ôº2026ÄêÑо¿ÉúÕÐÉú½ÓÊÕµ÷¼Á¹«¸æ
²é¿´: 740  |  »Ø¸´: 5
¡¾½±Àø¡¿ ±¾Ìû±»ÆÀ¼Û5´Î£¬×÷ÕßTIGERYZZÔö¼Ó½ð±Ò 5 ¸ö
µ±Ç°Ö÷ÌâÒѾ­´æµµ¡£

TIGERYZZ

½ð³æ (СÓÐÃûÆø)


[×ÊÔ´] ¡¾·ÖÏí¡¿ATK_adaptive_current

ÕâÊǸö¼ÆËãµçÁ÷µÄº¯Êý£¬Ó¦¸Ã»¹ËãÊÇbeta°æµÄ¡£Ã²ËÆ¿ÉÒÔÉèÖþ«¶È==
¾ßÌåµÄ¹¦ÄÜÎÒÒ²²»Ì«Çå³þ£¬°²×°ºÍʹÓ÷½·¨ÔÚÏÂÃæ¡£
Ï£Íû³æ×ÓÃÇÓÃÁËÒÔºóÒ»ÆðÀ´ËµÒ»ÏÂÕâ¸ö³ÌÐò~~~

This is not just a simple NanoLanguage script, it's actually quite
complex. So, there are binary and script files involved. I have attached
the Windows and 32-bit Linux versions in a zip file. 64-bit Linux
version is not available right now, but we can do it later.

To use it:

1) Extract the zip file in some convenient directory; it will create a
subdirectory "ATK_adaptive_current"

2) In this directory there is a subdirectory "win32" and inside it
another subdirectory called "quadpack". Copy this directory to the "lib"
directory in your ATK installation on Windows (so that "quadpack"
becomes a subdirectory of "lib". For Linux, same thing, except that
"quadpack" should become a subdirectory of lib/python2.4/site-packages.

3) To calculate the current using the new routine, edit the script
"calc_current_adaptive.py" to set the checkpoint file name (with path if
necessary), k-points (or, wait, you have hydrogen-terminated edges? if
so, 1x1 is fine), and level of accuracy.

About the accuracy:

* The syntax to the function calculateCurrentAdaptive closely resembles
that of calculateCurrent, with an import difference. Instead of setting
the number of integration points, you set the desired accuracy (and a
verbosity).
* You can specify the max absolute error you want in the result. The
routine will use as many points, with more points in areas of quickly
varying T(E), as needed to obtain this accuracy, up to a maximum of
interval subdivisions (so that it doesn't run forever).
* There is also a "relative accuracy", and the routine is not converged
until both errors are below the threshold, so if your current is 1e-8
Ampere, it will not converge until the error is less than 1e-11 Ampere,
even if epsabs=1e-6 Ampere.
* So, in some sense there is no need to use epsabs, since usually it's
more important to have a good relative accuracy. Thus you can actually
leave epsabs at 1e-6 Ampere (default).
* I would suggest using 1e-2 for epsrel to begin with, and see how many
evaluations that requires, before trying 1e-3 (default).
* If you set verbosity>0, the routine will print the current, the error,
and the number of iterations used. This will be very useful to see that
you have a good accuracy!
* If you set verbosity>1, it will also print the points E where T(E) is
evaluated, and T(E). You can pipe this output to a file, bring it into
Excel, sort it, and use this to plot T(E), and at the same see how the
routine distributes the points irregularly; more points will be used
where T(E) varies quickly.

ÄÉÃ×Å̵ØÖ·£º
http://www.namipan.com/d/ATK_ada ... 456600e82d04fa20200
zdhlover˵ϲ»ÏÂÀ´£¬¶îÎÒ´«Á˸öµ½Ð¡Ä¾³æ~~

[ Last edited by TIGERYZZ on 2009-5-11 at 13:42 ]
»Ø¸´´ËÂ¥

» ²ÂÄãϲ»¶

» ±¾Ö÷ÌâÏà¹ØÉ̼ÒÍÆ¼ö: (ÎÒÒ²ÒªÔÚÕâÀïÍÆ¹ã)

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

freer007

ľ³æ (ÕýʽдÊÖ)


¡ï¡ï¡ï¡ï¡ï ÎåÐǼ¶,ÓÅÐãÍÆ¼ö

лл·ÖÏí£¬ÎÒÊÔÊÔ¿´Äܲ»ÄÜÓá£
4Â¥2009-11-23 09:10:46
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

freshgirl

ľ³æ (ÕýʽдÊÖ)


¡ï¡ï¡ï¡ï¡ï ÎåÐǼ¶,ÓÅÐãÍÆ¼ö

ÊÔÓÃÒ»ÏÂ
5Â¥2009-11-24 10:54:21
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

cjl6137

гæ (³õÈëÎÄ̳)


¡ï¡ï¡ï¡ï¡ï ÎåÐǼ¶,ÓÅÐãÍÆ¼ö

¶¥£¬²»´íµÄ¶«Î÷!
6Â¥2010-02-27 22:35:48
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
¼òµ¥»Ø¸´
zdhlover2Â¥
2009-05-11 09:59   »Ø¸´  
 
wwxq3Â¥
2009-11-22 23:26   »Ø¸´  
 
Ïà¹Ø°æ¿éÌø×ª ÎÒÒª¶©ÔÄÂ¥Ö÷ TIGERYZZ µÄÖ÷Ìâ¸üÐÂ
¡î ÎÞÐǼ¶ ¡ï Ò»ÐǼ¶ ¡ï¡ï¡ï ÈýÐǼ¶ ¡ï¡ï¡ï¡ï¡ï ÎåÐǼ¶
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[¿¼ÑÐ] 295Çóµ÷¼Á +15 xndjjj 2026-04-04 16/800 2026-04-06 23:07 by chenzhimin
[¿¼ÑÐ] 308Çóµ÷¼Á +11 īīĮ 2026-04-06 11/550 2026-04-06 22:56 by 875465
[¿¼ÑÐ] 085600²ÄÁÏÓ뻯¹¤301·ÖÇóµ÷¼ÁԺУ +17 ´ÌÍ´jk 2026-04-06 18/900 2026-04-06 22:43 by qlm5820
[¿¼ÑÐ] 301Çóµ÷¼Á +7 ϸ°ûÏà¹Øµ°°× 2026-04-03 7/350 2026-04-06 11:47 by lijunpoly
[¿¼ÑÐ] ÇóÖú071001µ÷¼Á£¡£¡£¡ +4 »ÆÊØËÉ 2026-04-05 5/250 2026-04-06 10:55 by 1028907439
[¿¼ÑÐ] ר˶0854³õÊÔ¿¼²Ä¿Æ»ù£¬Çóµ÷¼Á +6 3220548044 2026-04-06 9/450 2026-04-06 10:26 by barlinike
[¿¼ÑÐ] ÉúÎïÓëÒ½Ò©086000µ÷¼ÁÒ»Ö¾Ô¸Î÷±±Å©ÁÖ320·Ö +3 ÃÀÃÀŮʿ 2026-04-03 3/150 2026-04-05 21:55 by ѧԱ8dgXkO
[¿¼ÑÐ] µ÷¼Á +8 ÐܶþÏëÉϰ¶ 2026-04-04 8/400 2026-04-05 05:27 by houyaoxu
[¿¼ÑÐ] 282µç×ÓÐÅÏ¢0854ר˶µ÷¼Á +4 202451007219 2026-04-02 6/300 2026-04-04 21:55 by laoshidan
[¿¼ÑÐ] 085601£¬Ò»Ö¾Ô¸Ïôó334¸´ÊÔ±»Ë¢Çóµ÷¼Á +13 ÔøÑöÖ® 2026-04-03 15/750 2026-04-04 20:13 by dongzh2009
[¿¼ÑÐ] 0856µ÷¼Á +8 ÇúÌýóÞ 2026-03-30 8/400 2026-04-04 08:46 by tianyyysss
[¿¼ÑÐ] 085601Ò»Ö¾Ô¸±±Àí325·ÖÇóµ÷¼Á +6 ÕÒµ÷¼Á£¬£¬ 2026-04-02 6/300 2026-04-03 22:20 by –¹Æ?
[¿¼ÑÐ] 08¹¤¿Æ275·ÖÇóµ÷¼Á +14 AaAa7420 2026-03-31 14/700 2026-04-03 11:13 by cocolv
[¿¼ÑÐ] Ò»Ö¾Ô¸±±¾©¿Æ¼¼´óѧ085601²ÄÁϹ¤³ÌÓ¢Ò»Êý¶þ³õÊÔ×Ü·Ö335Çóµ÷¼Á +8 Ë«ÂíβƦÀϰå2 2026-04-02 9/450 2026-04-02 14:45 by 5896
[¿¼ÑÐ] Ò»Ö¾Ô¸±±¾©¿Æ¼¼´óѧ²ÄÁÏѧ˶328·ÖÇóµ÷¼Á +6 1¶Îʱ¼ä 2026-03-31 7/350 2026-04-02 13:57 by 3041
[¿¼ÑÐ] Ò»Ö¾Ô¸±±¾©¿Æ¼¼´óѧ085601²ÄÁϹ¤³ÌÓ¢Ò»Êý¶þ³õÊÔ×Ü·Ö335Çóµ÷¼Á +9 Ë«ÂíβƦÀϰå2 2026-04-01 9/450 2026-04-02 12:14 by oooqiao
[¿¼ÑÐ] 0805Çóµ÷¼Á +8 ÊÇË®·Ö 2026-03-31 8/400 2026-04-02 10:46 by guanxin1001
[¿¼ÑÐ] 349Çóµ÷¼Á +6 ³ÔµÄ²»ÉÙ 2026-04-01 6/300 2026-04-01 17:55 by JYD2011
[¿¼ÑÐ] 358Çóµ÷¼Á +3 ÍõÏòÑô»¨ 2026-03-31 3/150 2026-04-01 09:56 by zzchen2000
[¿¼ÑÐ] 313Çóµ÷¼Á +6 Âô¸ö¹Ø×Ó°É 2026-03-31 6/300 2026-03-31 10:58 by Jaylen.
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û