SST Lab Dokuwiki Header header picture

ユーザ用ツール

サイト用ツール


ase:atoms

差分

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

この比較画面へのリンク

次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
ase:atoms [2019/05/21 19:05] – 作成 kimiase:atoms [2019/05/21 19:10] – [Parameters] kimi
行 9: 行 9:
  
 ===== コンストラクタ ===== ===== コンストラクタ =====
 +ASE.Atoms instance atoms is an ase.Atoms object that will be attached to this calculator.
 <code python> <code python>
 atoms = Atoms([Atom('H')]) atoms = Atoms([Atom('H')])
 jacapo = Jacapo(atoms = atoms) jacapo = Jacapo(atoms = atoms)
 </code> </code>
-atoms get_atoms(self) set_atoms(self, atoms) + 
-===== get_nc =====+===== get_atoms =====
 return the ncfile used for output return the ncfile used for output
 <code python> <code python>
-jacapo = Jacapo(nc 'out.nc'+atoms = Atoms([Atom('H')]) 
-print jacapo.get_nc()+jacapo = Jacapo(atoms atoms
 +jacapo.get_atoms()
 </code> </code>
  
-===== set_nc ===== +===== set_atoms ===== 
-set filename for the netcdf and text output for this calculation+attach an atoms to the calculator and update the ncfile
 <code python> <code python>
 +atoms = Atoms([Atom('H')])
 jacapo = Jacapo() jacapo = Jacapo()
-jacapo.set_nc(nc = 'out.nc')+jacapo.set_atoms(atoms)
 </code> </code>
 +
 +==== Parameters ====
 +| atoms | ASE.Atoms instance  |  計算対象のAtomsクラスインスタンス   |
 +
 ==== Parameters ==== ==== Parameters ====
 |nc | string | filename for netcdf file | |nc | string | filename for netcdf file |
ase/atoms.txt · 最終更新: 2022/08/23 13:34 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki