SST Lab Dokuwiki Header header picture

ユーザ用ツール

サイト用ツール


ase:jacapo:psp

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
最新のリビジョン両方とも次のリビジョン
ase:jacapo:psp [2019/05/24 16:51] – [Valence charge] kimiase:jacapo:psp [2019/05/24 17:07] – [Valence charge] kimi
行 3: 行 3:
  
 <code> <code>
 +set_pseudopotentials(self, pspdict)
 </code> </code>
 +Set all the pseudopotentials from a dictionary.
 +
 +The dictionary should have this form::
 +
 +  {symbol1: path1,
 +   symbol2: path2}
 +
 <code> <code>
-get_psp(self, sym=None, z=None) +  get_psp(self, sym=None, z=None) 
-get the pseudopotential filename from the psp database+</code> 
 +^argument^type^notes^ 
 +|sym |string  |the chemical symbol of the species   | 
 +|z |integer  |the atomic number of the species 
 + 
 +  * ''get_psp'' get the pseudopotential filename from the psp database 
 +  * you can only specify ''sym'' or ''z''. Returns the pseudopotential filename, not the full path. 
 + 
 +=== set_psp === 
 + 
 +<code> 
 +set_psp(self, sym=None, z=None, psp=None) 
 +</code> 
 + 
 +^argument^type^notes^ 
 +|sym |string  |chemical symbol of the species 
 +|z |integer  |the atomic number of the species 
 +|psp |string  |filename of the pseudopotential 
 + 
 +  * ''set_psp'' set the pseudopotential file for a species or an atomic number. 
 +  * you can only set ''sym'' or ''z''
 + 
 +== examples == 
 +<code> 
 +set_psp('N',psp='pspfile'
 +set_psp(z=6,psp='pspfile'
 +</code> 
 + 
 +<code> 
 + 
 +set_psp_database(self, xc=None) 
 +get the xc-dependent psp database
  
 :Parameters: :Parameters:
  
-sym : string +xc : string 
-the chemical symbol of the species+one of 'PW91', 'PBE', 'revPBE', 'RPBE', 'PZ'
  
-z : integer 
-the atomic number of the species 
  
 +not all the databases are complete, and that means
 +some psp do not exist.
  
-you can only specify sym or zReturns the pseudopotential +note: this function is not supported fully. only pw91 is 
-filename, not the full path.+imported nowChanging the xc at this point results in loading 
 +a nearly empty databaseand I have not thought about how to 
 +resolve that
 </code> </code>
 ===== Nuclear charge ===== ===== Nuclear charge =====
行 38: 行 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.
-</code> 
-<code> 
- 
-set_pseudopotentials(self, pspdict) 
-Set all the pseudopotentials from a dictionary. 
- 
-The dictionary should have this form:: 
- 
-{symbol1: path1, 
-symbol2: path2} 
 </code> </code>
 <code> <code>
ase/jacapo/psp.txt · 最終更新: 2022/08/23 13:34 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki