ase:jacapo:psp
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
ase:jacapo:psp [2019/05/24 16:51] – [Valence charge] kimi | ase:jacapo:psp [2022/08/23 13:34] (現在) – 外部編集 127.0.0.1 | ||
---|---|---|---|
行 3: | 行 3: | ||
< | < | ||
+ | set_pseudopotentials(self, | ||
</ | </ | ||
+ | Set all the pseudopotentials from a dictionary. | ||
+ | |||
+ | The dictionary should have this form:: | ||
+ | |||
+ | {symbol1: path1, | ||
+ | | ||
+ | |||
< | < | ||
- | get_psp(self, | + | |
- | get the pseudopotential filename from the psp database | + | </ |
+ | ^argument^type^notes^ | ||
+ | |sym |string | ||
+ | |z |integer | ||
+ | |||
+ | * '' | ||
+ | * you can only specify '' | ||
+ | |||
+ | === set_psp === | ||
+ | |||
+ | < | ||
+ | set_psp(self, | ||
+ | </ | ||
+ | |||
+ | ^argument^type^notes^ | ||
+ | |sym |string | ||
+ | |z |integer | ||
+ | |psp |string | ||
+ | |||
+ | * '' | ||
+ | * you can only set '' | ||
+ | |||
+ | == examples == | ||
+ | < | ||
+ | set_psp(' | ||
+ | set_psp(z=6, | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | |||
+ | set_psp_database(self, | ||
+ | get the xc-dependent | ||
: | : | ||
- | sym : string | + | xc : string |
- | the chemical symbol | + | one of ' |
- | 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 z. Returns | + | note: this function is not supported fully. |
- | filename, not the full path. | + | imported now. Changing |
+ | a nearly empty database, and I have not thought about how to | ||
+ | resolve that | ||
</ | </ | ||
===== Nuclear charge ===== | ===== Nuclear charge ===== | ||
行 38: | 行 79: | ||
< | < | ||
+ | get_number_of_electrons = get_valence(self, | ||
get_psp_valence(self, | get_psp_valence(self, | ||
get the psp valence charge on an atom from the pspfile. | get the psp valence charge on an atom from the pspfile. | ||
- | </ | ||
- | < | ||
- | |||
- | set_pseudopotentials(self, | ||
- | Set all the pseudopotentials from a dictionary. | ||
- | |||
- | The dictionary should have this form:: | ||
- | |||
- | {symbol1: path1, | ||
- | symbol2: path2} | ||
</ | </ | ||
< | < |
ase/jacapo/psp.1558684319.txt.gz · 最終更新: 2022/08/23 13:34 (外部編集)