SST Lab Dokuwiki Header header picture

ユーザ用ツール

サイト用ツール


seminar:jacapo_ref

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
seminar:jacapo_ref [2019/05/22 14:19] – [Notes] kimiseminar:jacapo_ref [2022/08/23 13:34] (現在) – 外部編集 127.0.0.1
行 41: 行 41:
           'position':None}           'position':None}
 </code> </code>
 +===== Class methods =====
 +  * [[ase:jacapo:jcl|JOB control]]
 +  * [[ase:jacapo:params|Get/Set constuctor parameters]]
 +  * [[ase:jacapo:results|Get calculation results]]
 +  * [[ase:jacapo:cond|Get/Set calculation condition]]
 +  * [[ase:jacapo:psp|Pseudopotential related method]]
 +  * [[ase:jacapo:pdos|Projected DOS related method]]
 +===== Static methods =====
 +<code python>read_atoms(filename)
 +</code>
 +read atoms and calculator from an existing netcdf file.
 +==== Parameters ====
 +^keyword^type^notes^
 +|filename|string|name of file to read from.|
 +==== example ====
 +<code python>
 +atoms = Jacapo.read_atoms(ncfile)
 +calc = atoms.get_calculator()
 +</code>      
 +this method is here for legacy purposes. I used to use it alot.
 +===== Function =====
 +
 +function read in module ase.calculators.jacapo.jacapo:
 +
 +<code python>read(ncfile)
 +</code>
 +return atoms and calculator from ncfile
 +==== example ====
 +<code python>
 +atoms, calc = read('co.nc')
 +</code>
 +
 ===== Notes ===== ===== Notes =====
  
行 46: 行 78:
    
 Modification of the nc file only occurs at calculate time if needed Modification of the nc file only occurs at calculate time if needed
 +
 we read everything directly from the ncfile to prevent we read everything directly from the ncfile to prevent
 triggering any calculations triggering any calculations
seminar/jacapo_ref.1558502372.txt.gz · 最終更新: 2022/08/23 13:34 (外部編集)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki