SST Lab Dokuwiki Header header picture

ユーザ用ツール

サイト用ツール


ase:jacapo:psp

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
ase:jacapo:psp [2019/05/24 16:57] – [Pseudopotential file] kimiase:jacapo:psp [2022/08/23 13:34] (現在) – 外部編集 127.0.0.1
行 22: 行 22:
   * you can only specify ''sym'' or ''z''. Returns the pseudopotential filename, not the full path.   * you can only specify ''sym'' or ''z''. Returns the pseudopotential filename, not the full path.
  
-<code>+=== set_psp ===
  
 +<code>
 set_psp(self, sym=None, z=None, psp=None) set_psp(self, sym=None, z=None, psp=None)
-set the pseudopotential file for a species or an atomic number.+</code>
  
-:Parameters:+^argument^type^notes^ 
 +|sym |string  |chemical symbol of the species 
 +|z |integer  |the atomic number of the species 
 +|psp |string  |filename of the pseudopotential  |
  
-sym : string +  * ''set_psp'' set the pseudopotential file for a species or an atomic number. 
-chemical symbol of the species +  you can only set ''sym'' or ''z''.
- +
-z : integer +
-the atomic number of the species +
- +
-psp : string +
-filename of the pseudopotential +
- +
- +
-you can only set sym or z. +
- +
-examples::+
  
 +== examples ==
 +<code>
 set_psp('N',psp='pspfile') set_psp('N',psp='pspfile')
 set_psp(z=6,psp='pspfile') set_psp(z=6,psp='pspfile')
 </code> </code>
 +
 <code> <code>
  
行 65: 行 61:
 resolve that resolve that
 </code> </code>
- 
 ===== Nuclear charge ===== ===== Nuclear charge =====
  
行 84: 行 79:
  
 <code> <code>
 +get_number_of_electrons = get_valence(self, atoms=None)
 get_psp_valence(self, psp) get_psp_valence(self, psp)
 get the psp valence charge on an atom from the pspfile. get the psp valence charge on an atom from the pspfile.
ase/jacapo/psp.1558684665.txt.gz · 最終更新: 2022/08/23 13:34 (外部編集)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki