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

ÀÇÀÇǬÀ¤

Ìú¸Ëľ³æ (Ö°Òµ×÷¼Ò)

[½»Á÷] ¡¾ÇóÖú¡¿³öÏÖhdr_checkµÄÌáʾÊÇʲôԭÒò

ÕÒÁ˸ö½âÊÍ£¬Ò²²»Ì«Ã÷°×£¬Íû¸÷λָ½Ì
ÏÂÃæÊǽâÊÍ£º
!{\src2tex{textfont=tt}}
!!****f* ABINIT/hdr_check
!! NAME
!! hdr_check
!!
!! FUNCTION
!! This subroutine compare the header structured variable (hdr)
!! from input data (mostly dtset and psps) with the one (hdr0) of
!! an input data file (e.g. wf, density, potential).
!! Various values are checked for agreement or near agreement in the
!! case of floating point numbers.  The program will exit or produce
!! warning messages when unexpected values are found.
!! A record of the comparison of the headers is written to stdout.
!!
!! Decisions have been taken about whether a restart is allowed.
!! In the self-consistent case, a restart will always be allowed, but
!! one has to distinguish between a direct restart and a restart with
!! translation of wavefunction (for which the functionalities of newsp will
!! be needed). In the non-self-consistent case, the conditions below
!! must be fulfilled to allow a restart.
!!
!! COPYRIGHT
!! Copyright (C) 2002-2007 ABINIT group (DCA, XG, GMR, FB).
!! This file is distributed under the terms of the
!! GNU General Public License, see ~abinit/COPYING
!! or http://www.gnu.org/copyleft/gpl.txt .
!! For the initials of contributors, see ~abinit/doc/developers/contributors.txt .
!!
!! INPUTS
!!  fform=integer specification of data type (expected)
!!  fform0=integer specification of data type (from disk file)
!!  mode_paral : COLL or PERS, for all leave_new and wrtout calls
!!  hdr =the header structured variable from dtset and psps
!!  hdr0=the header structured variable from the disk file
!!
!! OUTPUT
!!  restart=1 if direct restart, =2 if translation is needed, =0 if no
!!              restart is possible.
!!  restartpaw= deals with the additional informations in the PAW method
!!              =1 if direct restart, =0 if no restart from spherical data is possible.
!!              also 0 if no PAW
!!
!! NOTES
!! In the current version of the user interface restarts are allowed from
!! wavefunction files for self-consistent runs and from densities for
!! non-self-consistent runs. The precise conditions under which we will
!! allow a restart in this release are as follows.
!!
!!           self-consistent case : direct restarts
!!           ======================================
!!
!! A direct restart will be allowed provided the following quantities in
!! old and new calculations are the same:
!!
!!   (A) the primitive vectors                             (tprim)
!!   (B) the plane-wave cutoff                             (tecut)
!!   (C) nkpt, kpt(3,nkpt), wtk(nkpt)                      (tkpt)
!!   (D) istwfk(nkpt), the format of wavefunctions         (twfk)
!!   (E) nspinor, the scalar or spinor wf characteristics  (tspinor)
!! For PAW calculations:
!!   (F) the use of PAW method                             (tpaw)
!!   (G) the number of lmn elements for the paw basis      (tlmn)
!!   (H) the energy cutoff for the double (fine) grid      (tdg)
!!
!!            non-self-consistent restarts
!!            ============================
!!
!! A restart will be allowed provided the following quantities in
!! old and new calculation are the same
!!
!!   (A) the primitive vectors                            (tprim)
!!   (B) the number of atoms of each type                 (tatty)
!!   (C) xred(3,natom)                                    (txred)
!!   (D) pseudopotentials (not just pseudocharges)        (tpseu)
!!   (E) the plane-wave cutoff                            (tecut)
!!   (F) ngfft(1:3)                                       (tng)
!! For PAW calculations:
!!   (G) the use of PAW method                            (tpaw)
!!   (H) the number of lmn elements for the paw basis     (tlmn)
!!   (I) the energy cutoff for the double (fine) grid     (tdg)
!!
!! TODO
!!
!! PARENTS
!!      inwffil,ioarr,mrgscr
!!
!! CHILDREN
!!      leave_new,mk_hdr_check_fmt,wrtout
!!
!! SOURCE
»Ø¸´´ËÂ¥

» ²ÂÄãϲ»¶

ŬÁ¦ÕÒ·½Ïò£¡
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

zxzj05

ÈÙÓþ°æÖ÷ (ÖøÃûдÊÖ)

¡ï ¡ï ¡ï ¡ï
fegg7502(½ð±Ò+1,VIP+0):¹ÄÀø½»Á÷2 9-27 17:04
ÀÇÀÇǬÀ¤(½ð±Ò+3,VIP+0):лл¹Ø×¢ 9-28 08:38
×öʲôµÄ³öÏֵģ¬°Ñ´íÎóÐÅÏ¢ÌáʾÌù³öÀ´¿´¿´
´¢Çâ¼Ò×å»¶Ó­´¢ÇâÑо¿Õߣ¡
2Â¥2009-09-16 21:36:07
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

ÀÇÀÇǬÀ¤

Ìú¸Ëľ³æ (Ö°Òµ×÷¼Ò)

¡ï
fegg7502(½ð±Ò+1,VIP+0):¹ÄÀø½»Á÷2 9-27 17:03
ÓÅ»¯½á¹¹µÄʱºò³öÏÖµÄ
hdr_check: WARING
Resart of the self-consistent calculation need translated wavefounctions.
Indeed, critical differences between current calculation and restart file have been detected in:
* the plane-wave cutoff
ŬÁ¦ÕÒ·½Ïò£¡
3Â¥2009-09-17 19:02:56
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

wenjlu

ľ³æ (ÕýʽдÊÖ)

¡ï ¡ï ¡ï ¡ï
fegg7502(½ð±Ò+1,VIP+0):¹ÄÀø½»Á÷2 9-27 17:03
ÀÇÀÇǬÀ¤(½ð±Ò+3,VIP+0):лл¹Ø×¢ 9-28 08:38
Ìù³öÄãµÄinputÎļþ£¬´ó¼ÒÀ´·ÖÎö¿´
4Â¥2009-09-18 09:29:12
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

casjxm

Í­³æ (ÕýʽдÊÖ)

¡ï ¡ï ¡ï ¡ï ¡ï ¡ï ¡ï ¡ï ¡ï ¡ï ¡ï ¡ï
fegg7502(½ð±Ò+2,VIP+0):¹ÄÀø½»Á÷2 9-27 17:04
ÀÇÀÇǬÀ¤(½ð±Ò+10,VIP+0):ÄÇÎҾͷÅÐÄÁË£¬·Ç³£¸Ðл£¡£¡O(¡É_¡É)O~ 9-28 08:39
ÕâÖÖwarning ÊÇÕý³£µÄ£¬²»ÓÃÀíËü£¬ÎÒ×ö¹ýһЩ¼ÆË㣬¾­³£³öÏÖÕâÖÖÎÊÌ⣬µ«¶Ô×îºóµÄ½á¹ûҳûÓÐʲôӰÏ죬Èç¹û³ÌÐòÔڴ˶ϿªÁË£¬Ó¦¸Ã²»ÊÇÕâÖÖwarningÒýÆðµÄ
5Â¥2009-09-27 08:44:01
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

wenyun0876

ľ³æ (ÕýʽдÊÖ)

ÀÏľ³æ

¡ï ¡ï ¡ï
ÀÇÀÇǬÀ¤(½ð±Ò+2,VIP+0):лл¹Ø×¢ 10-13 13:35
zxzj05(½ð±Ò+1,VIP+0):3Q! ¹ÄÀøÌÖÂÛ£¡ 10-13 13:38
ÒýÓûØÌû:
Originally posted by casjxm at 2009-9-27 08:44:
ÕâÖÖwarning ÊÇÕý³£µÄ£¬²»ÓÃÀíËü£¬ÎÒ×ö¹ýһЩ¼ÆË㣬¾­³£³öÏÖÕâÖÖÎÊÌ⣬µ«¶Ô×îºóµÄ½á¹ûҳûÓÐʲôӰÏ죬Èç¹û³ÌÐòÔڴ˶ϿªÁË£¬Ó¦¸Ã²»ÊÇÕâÖÖwarningÒýÆðµÄ

àÅ£¬Í¬Òâ¡£²»¹ý³ÌÐòÔڴ˶ϿªµÄ»°£¬Ó¦¸Ã¼ì²éһϴ˴¦µÄwarning£¬¿ÉÊÇ·ñ³öÏÖеĴíÎó¡£
ÐØÎÞ¿éÀÝÐij£Ì©£¬¸¹ÓÐÊ«Ê鯸×Ô»ª£¡
6Â¥2009-10-13 10:54:49
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

netx_ray

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

¡ï ¡ï ¡ï
ÀÇÀÇǬÀ¤(½ð±Ò+2,VIP+0):лл¹Ø×¢ 10-13 13:35
zxzj05(½ð±Ò+1,VIP+0):3Q! ¹ÄÀøÌÖÂÛ£¡ 10-13 13:38
¹ËÃû˼ÒåÂï  check header of something, ¼ì²éijЩÎļþµÄÍ·²¿£¬³öÏÖ²»·û£¬µ«ÊDz»ÊǷdz£ÑÏÖØ¾Í¸ø¸öwarning¡£
7Â¥2009-10-13 11:06:59
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
Ïà¹Ø°æ¿éÌø×ª ÎÒÒª¶©ÔÄÂ¥Ö÷ ÀÇÀÇǬÀ¤ µÄÖ÷Ìâ¸üÐÂ
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[¿¼ÑÐ] 388Çóµ÷¼Á +5 ËÄ´¨ÍõÌÎ 2026-04-07 7/350 2026-04-07 19:01 by dongzh2009
[¿¼ÑÐ] Çóµ÷¼Á +11 ÕÅzic 2026-04-05 12/600 2026-04-07 17:20 by éÙ߯£¡
[»ù½ðÉêÇë] ÇëÎʹ²Í¬Í¨Ñ¶ºÍ¹²Í¬Ò»×÷µÄÈϿɶÈÎÊÌâ 10+5 psa1234 2026-04-01 11/550 2026-04-07 16:57 by caiqing
[¿¼ÑÐ] 333Çóµ÷¼Á +6 ºÏ³ËÑîϰϦ 2026-04-06 6/300 2026-04-07 09:44 by Öí»á·É
[¿¼ÑÐ] 362Çóµ÷¼Á +7 ÎÒÒª¿¼´ó 2026-04-06 11/550 2026-04-07 09:32 by ÎÒÒª¿¼´ó
[¿¼ÑÐ] 085600£¬321·ÖÇóµ÷¼Á +14 ´ó²öС×Ó 2026-04-04 15/750 2026-04-06 22:58 by qlm5820
[¿¼ÑÐ] 26×ÔÈ»µØÀíѧ303·ÖÇóµ÷¼Á +4 Ò»Õ½³É˶°¡°¡°¡° 2026-04-06 9/450 2026-04-06 20:35 by lin-da
[¿¼ÑÐ] Ò»Ö¾Ô¸±±½»´ó²ÄÁϹ¤³Ì×Ü·Ö358Çóµ÷¼Á +10 cs0106 2026-04-05 12/600 2026-04-06 19:41 by Î޼ʵIJÝÔ­
[¿¼ÑÐ] ²ÄÁϵ÷¼Á +5 СÁõͬѧ߹߹ 2026-04-06 5/250 2026-04-06 18:34 by sherry_1901
[¿¼ÑÐ] »úеר˶274Çóµ÷¼Á£¬²»ÌôרҵѧУ +6 ·º·º2333 2026-04-05 8/400 2026-04-06 18:06 by ·º·º2333
[¿¼ÑÐ] ²ÄÁÏר˶283Çóµ÷¼Á +17 ÊÔÊÔ¿´ß 2026-04-04 18/900 2026-04-06 09:24 by 286640313
[¿¼ÑÐ] 308Çóµ÷¼Á +3 ÖÕ²»ËÆ´Óǰ 2026-04-05 3/150 2026-04-05 22:23 by hemengdong
[¿¼ÑÐ] Çóµ÷¼ÁÇóµ÷¼Á +8 121. 2026-04-02 8/400 2026-04-05 20:15 by lys0704
[¿¼ÑÐ] µ÷¼Á +9 19945159693 2026-04-03 10/500 2026-04-04 20:16 by dongzh2009
[¿¼ÑÐ] 297Çóµ÷¼Á +11 ljy20040718£¡ 2026-04-03 13/650 2026-04-04 09:23 by À´¿´Á÷ÐÇÓê10
[¿¼ÑÐ] Ò»Ö¾Ô¸ÖйúʯÓÍ´óѧ»¯Ñ§¹¤³Ì323·ÖÇóµ÷¼Á +4 »¯¹¤×¨Ë¶323·Ö 2026-04-03 6/300 2026-04-03 22:12 by dongzh2009
[¿¼ÑÐ] ÊÞÒ½µ÷¼Á +3 wh119216 2026-04-02 3/150 2026-04-03 19:34 by zrongyan
[¿¼ÑÐ] 296Çóµ÷¼Á +4 sdhu 2026-04-02 4/200 2026-04-02 21:29 by baoball
[¿¼ÑÐ] 0856³õÊÔ324·ÖÇóµ÷¼Á +6 ÏëÉÏѧÇóµ÷ 2026-04-01 6/300 2026-04-02 11:42 by ÐÇ¿ÕÐÇÔÂ
[¿¼ÑÐ] Ò»Ö¾Ô¸±±½»´ó²ÄÁϹ¤³Ì×Ü·Ö358 +3 cs0106 2026-04-02 5/250 2026-04-02 11:37 by olim
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û