SST Lab Dokuwiki Header header picture

ユーザ用ツール

サイト用ツール


seminar:jacapo_object

差分

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

この比較画面へのリンク

次のリビジョン
前のリビジョン
seminar:jacapo_object [2020/08/18 13:26] – 作成 kimiseminar:jacapo_object [2022/08/23 13:34] (現在) – 外部編集 127.0.0.1
行 1: 行 1:
-<html><head><title>Python: module ase.calculators.jacapo.jacapo</title> +<code 
-</head><body bgcolor="#f0f0f8">+  
 +ase.calculators.jacapo.jacapo 
 +index 
 +/usr/local/lib/python2.7/dist-packages/ase/calculators/jacapo/jacapo.py 
 +python module for ASE2-free and Numeric-free dacapo
 
U{John Kitchin<mailto:jkitchin@andrew.cmu.edu>} December 25, 2008
 
This module supports numpy directly.
 
* ScientificPython2.8 is required
 
 - this is the first version to use numpy by default.
 
see https://wiki.fysik.dtu.dk/stuff/nc/ for dacapo netcdf variable
documentation 
 +  
 +Modules 
 +       
 +  
 +ase.calculators.jacapo.changed 
 +exceptions 
 +glob 
 +logging 
 +numpy 
 +os 
 +pickle 
 +subprocess 
 +string 
 +sys 
 +ase.calculators.jacapo.validate 
 +  
 +Classes 
 +       
 +  
 +Jacapo  
 +exceptions.Exception(exceptions.BaseException)  
 +DacapoAbnormalTermination  
 +DacapoAborted  
 +DacapoDryrun  
 +DacapoInput  
 +DacapoRunning  
 +  
 +class DacapoAbnormalTermination(exceptions.Exception) 
 +    
 +Raised when text file does not end correctly 
 +  
 +  
 +Method resolution order: 
 +DacapoAbnormalTermination 
 +exceptions.Exception 
 +exceptions.BaseException 
 +__builtin__.object
  
-<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> +Data descriptors defined here: 
-<tr bgcolor="#7799ee"> +__weakref__ 
-<td valign=bottom>&nbsp;<br> +list of weak references to the object (if defined)
-<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="ase.html"><font color="#ffffff">ase</font></a>.<a href="ase.calculators.html"><font color="#ffffff">calculators</font></a>.<a href="ase.calculators.jacapo.html"><font color="#ffffff">jacapo</font></a>.jacapo</strong></big></big></font></td +
-><td align=right valign=bottom +
-><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/local/lib/python2.7/dist-packages/ase/calculators/jacapo/jacapo.py">/usr/local/lib/python2.7/dist-packages/ase/calculators/jacapo/jacapo.py</a></font></td></tr></table> +
-    <p><tt>python&nbsp;module&nbsp;for&nbsp;ASE2-free&nbsp;and&nbsp;Numeric-free&nbsp;dacapo<br> +
-&nbsp;<br> +
-U{John&nbsp;Kitchin&lt;mailto:jkitchin@andrew.cmu.edu&gt;}&nbsp;December&nbsp;25,&nbsp;2008<br> +
-&nbsp;<br> +
-This&nbsp;module&nbsp;supports&nbsp;numpy&nbsp;directly.<br> +
-&nbsp;<br> +
-*&nbsp;ScientificPython2.8&nbsp;is&nbsp;required<br> +
-&nbsp;<br> +
-&nbsp;-&nbsp;this&nbsp;is&nbsp;the&nbsp;first&nbsp;version&nbsp;to&nbsp;use&nbsp;numpy&nbsp;by&nbsp;default.<br> +
-&nbsp;<br> +
-see&nbsp;https://wiki.fysik.dtu.dk/stuff/nc/&nbsp;for&nbsp;dacapo&nbsp;netcdf&nbsp;variable<br> +
-documentation</tt></p> +
-<p> +
-<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +
-<tr bgcolor="#aa55cc"> +
-<td colspan=3 valign=bottom>&nbsp;<br> +
-<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> +
-     +
-<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td> +
-<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ase.calculators.jacapo.changed.html">ase.calculators.jacapo.changed</a><br> +
-<a href="exceptions.html">exceptions</a><br> +
-<a href="glob.html">glob</a><br> +
-</td><td width="25%" valign=top><a href="logging.html">logging</a><br> +
-<a href="numpy.html">numpy</a><br> +
-<a href="os.html">os</a><br> +
-</td><td width="25%" valign=top><a href="pickle.html">pickle</a><br> +
-<a href="subprocess.html">subprocess</a><br> +
-<a href="string.html">string</a><br> +
-</td><td width="25%" valign=top><a href="sys.html">sys</a><br> +
-<a href="ase.calculators.jacapo.validate.html">ase.calculators.jacapo.validate</a><br> +
-</td></tr></table></td></tr></table><p> +
-<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +
-<tr bgcolor="#ee77aa"> +
-<td colspan=3 valign=bottom>&nbsp;<br> +
-<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> +
-     +
-<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td> +
-<td width="100%"><dl> +
-<dt><font face="helvetica, arial"><a href="ase.calculators.jacapo.jacapo.html#Jacapo">Jacapo</a> +
-</font></dt><dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>+
-</font></dt><dd> +
-<dl> +
-<dt><font face="helvetica, arial"><a href="ase.calculators.jacapo.jacapo.html#DacapoAbnormalTermination">DacapoAbnormalTermination</a> +
-</font></dt><dt><font face="helvetica, arial"><a href="ase.calculators.jacapo.jacapo.html#DacapoAborted">DacapoAborted</a> +
-</font></dt><dt><font face="helvetica, arial"><a href="ase.calculators.jacapo.jacapo.html#DacapoDryrun">DacapoDryrun</a> +
-</font></dt><dt><font face="helvetica, arial"><a href="ase.calculators.jacapo.jacapo.html#DacapoInput">DacapoInput</a> +
-</font></dt><dt><font face="helvetica, arial"><a href="ase.calculators.jacapo.jacapo.html#DacapoRunning">DacapoRunning</a> +
-</font></dt></dl> +
-</dd> +
-</dl> +
- <p> +
-<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +
-<tr bgcolor="#ffc8d8"> +
-<td colspan=3 valign=bottom>&nbsp;<br> +
-<font color="#000000" face="helvetica, arial"><a name="DacapoAbnormalTermination">class <strong>DacapoAbnormalTermination</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr> +
-     +
-<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td> +
-<td colspan=2><tt>Raised&nbsp;when&nbsp;text&nbsp;file&nbsp;does&nbsp;not&nbsp;end&nbsp;correctly<br>&nbsp;</tt></td></tr> +
-<tr><td>&nbsp;</td> +
-<td width="100%"><dl><dt>Method resolution order:</dt> +
-<dd><a href="ase.calculators.jacapo.jacapo.html#DacapoAbnormalTermination">DacapoAbnormalTermination</a></dd> +
-<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> +
-<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> +
-<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> +
-</dl> +
-<hr> +
-Data descriptors defined here:<br> +
-<dl><dt><strong>__weakref__</strong></dt> +
-<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd> +
-</dl> +
-<hr> +
-Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> +
-<dl><dt><a name="DacapoAbnormalTermination-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoAbnormalTermination-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;help(type(x))&nbsp;for&nbsp;signature</tt></dd></dl>+
  
-<hr> +Methods inherited from exceptions.Exception: 
-Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> +__init__(...) 
-<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#DacapoAbnormalTermination-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>+x.__init__(...) initializes xsee help(type(x)) for signature
  
-<hr> +Data and other attributes inherited from exceptions.Exception
-Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> +__new__ = <built-in method __new__ of type object> 
-<dl><dt><a name="DacapoAbnormalTermination-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoAbnormalTermination-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>+T.__new__(S, ...) -> a new object with type S, a subtype of T
  
-<dl><dt><name="DacapoAbnormalTermination-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoAbnormalTermination-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>+Methods inherited from exceptions.BaseException: 
 +__delattr__(...) 
 +x.__delattr__('name'<==del x.name 
 +__getattribute__(...) 
 +x.__getattribute__('name'<==x.name 
 +__getitem__(...) 
 +x.__getitem__(y) <==x[y] 
 +__getslice__(...
 +x.__getslice__(i, j) <==> x[i:j] 
 +  
 +Use of negative indices is not supported. 
 +__reduce__(...) 
 +__repr__(...) 
 +x.__repr__() <==repr(x) 
 +__setattr__(...) 
 +x.__setattr__('name', value<==x.name = value 
 +__setstate__(...) 
 +__str__(...) 
 +x.__str__() <==str(x) 
 +__unicode__(...)
  
-<dl><dt><a name="DacapoAbnormalTermination-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoAbnormalTermination-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>+Data descriptors inherited from exceptions.BaseException: 
 +__dict__ 
 +args 
 +message 
 +  
 +class DacapoAborted(exceptions.Exception) 
 +    
 +Raised when ncfile.status = 'aborted' 
 +  
 +  
 +Method resolution order: 
 +DacapoAborted 
 +exceptions.Exception 
 +exceptions.BaseException 
 +__builtin__.object
  
-<dl><dt><a name="DacapoAbnormalTermination-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoAbnormalTermination-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br> +Data descriptors defined here
-&nbsp;<br> +__weakref__ 
-Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>+list of weak references to the object (if defined)
  
-<dl><dt><a name="DacapoAbnormalTermination-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>+Methods inherited from exceptions.Exception: 
 +__init__(...) 
 +x.__init__(...) initializes x; see help(type(x)) for signature
  
-<dl><dt><a name="DacapoAbnormalTermination-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoAbnormalTermination-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>+Data and other attributes inherited from exceptions.Exception: 
 +__new__ = <built-in method __new__ of type object> 
 +T.__new__(S, ...) -> a new object with type S, a subtype of T
  
-<dl><dt><a name="DacapoAbnormalTermination-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoAbnormalTermination-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>+Methods inherited from exceptions.BaseException: 
 +__delattr__(...) 
 +x.__delattr__('name'<==del x.name 
 +__getattribute__(...) 
 +x.__getattribute__('name'<==x.name 
 +__getitem__(...) 
 +x.__getitem__(y) <==> x[y] 
 +__getslice__(...
 +x.__getslice__(i, j) <==> x[i:j] 
 +  
 +Use of negative indices is not supported. 
 +__reduce__(...) 
 +__repr__(...) 
 +x.__repr__() <==repr(x) 
 +__setattr__(...) 
 +x.__setattr__('name', value) <==x.name = value 
 +__setstate__(...) 
 +__str__(...) 
 +x.__str__() <==str(x) 
 +__unicode__(...)
  
-<dl><dt><a name="DacapoAbnormalTermination-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>+Data descriptors inherited from exceptions.BaseException: 
 +__dict__ 
 +args 
 +message 
 +  
 +class DacapoDryrun(exceptions.Exception) 
 +    
 +Raised when text file does not end correctly 
 +  
 +  
 +Method resolution order: 
 +DacapoDryrun 
 +exceptions.Exception 
 +exceptions.BaseException 
 +__builtin__.object
  
-<dl><dt><a name="DacapoAbnormalTermination-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoAbnormalTermination-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>+Data descriptors defined here: 
 +__weakref__ 
 +list of weak references to the object (if defined)
  
-<dl><dt><a name="DacapoAbnormalTermination-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>+Methods inherited from exceptions.Exception: 
 +__init__(...) 
 +x.__init__(...) initializes x; see help(type(x)) for signature
  
-<hr> +Data and other attributes inherited from exceptions.Exception: 
-Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> +__new__ = <built-in method __new__ of type object> 
-<dl><dt><strong>__dict__</strong></dt> +T.__new__(S, ...) -> a new object with type S, a subtype of T
-</dl> +
-<dl><dt><strong>args</strong></dt> +
-</dl> +
-<dl><dt><strong>message</strong></dt> +
-</dl> +
-</td></tr></table> <p> +
-<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +
-<tr bgcolor="#ffc8d8"> +
-<td colspan=3 valign=bottom>&nbsp;<br> +
-<font color="#000000" face="helvetica, arial"><a name="DacapoAborted">class <strong>DacapoAborted</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr> +
-     +
-<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td> +
-<td colspan=2><tt>Raised&nbsp;when&nbsp;ncfile.status&nbsp;=&nbsp;'aborted'<br>&nbsp;</tt></td></tr> +
-<tr><td>&nbsp;</td> +
-<td width="100%"><dl><dt>Method resolution order:</dt> +
-<dd><a href="ase.calculators.jacapo.jacapo.html#DacapoAborted">DacapoAborted</a></dd> +
-<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> +
-<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> +
-<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> +
-</dl> +
-<hr> +
-Data descriptors defined here:<br> +
-<dl><dt><strong>__weakref__</strong></dt> +
-<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd+
-</dl> +
-<hr> +
-Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> +
-<dl><dt><a name="DacapoAborted-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoAborted-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;help(type(x))&nbsp;for&nbsp;signature</tt></dd></dl>+
  
-<hr> +Methods inherited from exceptions.BaseException: 
-Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br+__delattr__(...) 
-<dl><dt><strong>__new__</strong> &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#DacapoAborted-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>+x.__delattr__('name'<==del x.name 
 +__getattribute__(...) 
 +x.__getattribute__('name'<==x.name 
 +__getitem__(...) 
 +x.__getitem__(y) <==x[y] 
 +__getslice__(...) 
 +x.__getslice__(i, j) <==x[i:j] 
 +  
 +Use of negative indices is not supported. 
 +__reduce__(...) 
 +__repr__(...) 
 +x.__repr__() <==repr(x) 
 +__setattr__(...) 
 +x.__setattr__('name'value) <==x.name = value 
 +__setstate__(...) 
 +__str__(...) 
 +x.__str__() <==str(x) 
 +__unicode__(...)
  
-<hr> +Data descriptors inherited from exceptions.BaseException: 
-Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> +__dict__ 
-<dl><dt><a name="DacapoAborted-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoAborted-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>+args 
 +message 
 +  
 +class DacapoInput(exceptions.Exception) 
 +    
 +raised for bad input variables 
 +  
 +  
 +Method resolution order: 
 +DacapoInput 
 +exceptions.Exception 
 +exceptions.BaseException 
 +__builtin__.object
  
-<dl><dt><a name="DacapoAborted-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoAborted-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>+Data descriptors defined here: 
 +__weakref__ 
 +list of weak references to the object (if defined)
  
-<dl><dt><a name="DacapoAborted-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoAborted-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>+Methods inherited from exceptions.Exception: 
 +__init__(...) 
 +x.__init__(...initializes xsee help(type(x)) for signature
  
-<dl><dt><a name="DacapoAborted-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoAborted-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br> +Data and other attributes inherited from exceptions.Exception: 
-&nbsp;<br> +__new__ = <built-in method __new__ of type object> 
-Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>+T.__new__(S, ...) -> a new object with type Sa subtype of T
  
-<dl><dt><a name="DacapoAborted-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>+Methods inherited from exceptions.BaseException: 
 +__delattr__(...) 
 +x.__delattr__('name'<==del x.name 
 +__getattribute__(...) 
 +x.__getattribute__('name'<==x.name 
 +__getitem__(...) 
 +x.__getitem__(y) <==> x[y] 
 +__getslice__(...) 
 +x.__getslice__(i, j) <==x[i:j] 
 +  
 +Use of negative indices is not supported. 
 +__reduce__(...) 
 +__repr__(...) 
 +x.__repr__() <==repr(x) 
 +__setattr__(...) 
 +x.__setattr__('name', value) <==x.name = value 
 +__setstate__(...
 +__str__(...) 
 +x.__str__() <==str(x) 
 +__unicode__(...)
  
-<dl><dt><a name="DacapoAborted-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoAborted-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>+Data descriptors inherited from exceptions.BaseException: 
 +__dict__ 
 +args 
 +message 
 +  
 +class DacapoRunning(exceptions.Exception) 
 +    
 +Raised when ncfile.status = 'running' 
 +  
 +  
 +Method resolution order: 
 +DacapoRunning 
 +exceptions.Exception 
 +exceptions.BaseException 
 +__builtin__.object
  
-<dl><dt><a name="DacapoAborted-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoAborted-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>+Data descriptors defined here: 
 +__weakref__ 
 +list of weak references to the object (if defined)
  
-<dl><dt><a name="DacapoAborted-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>+Methods inherited from exceptions.Exception: 
 +__init__(...) 
 +x.__init__(...) initializes x; see help(type(x)) for signature
  
-<dl><dt><a name="DacapoAborted-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoAborted-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>+Data and other attributes inherited from exceptions.Exception: 
 +__new__ = <built-in method __new__ of type object> 
 +T.__new__(S, ...) -> a new object with type S, a subtype of T
  
-<dl><dt><a name="DacapoAborted-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>+Methods inherited from exceptions.BaseException: 
 +__delattr__(...) 
 +x.__delattr__('name'<==del x.name 
 +__getattribute__(...) 
 +x.__getattribute__('name'<==x.name 
 +__getitem__(...) 
 +x.__getitem__(y) <==> x[y] 
 +__getslice__(...) 
 +x.__getslice__(i, j) <==x[i:j] 
 +  
 +Use of negative indices is not supported. 
 +__reduce__(...) 
 +__repr__(...) 
 +x.__repr__() <==repr(x) 
 +__setattr__(...) 
 +x.__setattr__('name', value) <==x.name = value 
 +__setstate__(...
 +__str__(...) 
 +x.__str__() <==str(x) 
 +__unicode__(...)
  
-<hr> +Data descriptors inherited from exceptions.BaseException
-Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> +__dict__ 
-<dl><dt><strong>__dict__</strong></dt+args 
-</dl> +message 
-<dl><dt><strong>args</strong></dt+  
-</dl> +class Jacapo 
-<dl><dt><strong>message</strong></dt+    
-</dl> +Python interface to the Fortran DACAPO code 
-</td></tr></table> <p+  
-<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +  
-<tr bgcolor="#ffc8d8"> +Methods defined here: 
-<td colspan=3 valign=bottom>&nbsp;<br> +__del__(self) 
-<font color="#000000face="helvetica, arial"><a name="DacapoDryrun">class <strong>DacapoDryrun</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr> +If calculator is deleted try to stop dacapo program 
-     +__init__(self, nc='out.nc', outnc=None, deletenc=False, debug=30, stay_alive=False, **kwargs) 
-<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td> +Initialize the Jacapo calculator 
-<td colspan=2><tt>Raised&nbsp;when&nbsp;text&nbsp;file&nbsp;does&nbsp;not&nbsp;end&nbsp;correctly<br>&nbsp;</tt></td></tr> +  
-<tr><td>&nbsp;</td> +:Parameters
-<td width="100%"><dl><dt>Method resolution order:</dt> +  
-<dd><a href="ase.calculators.jacapo.jacapo.html#DacapoDryrun">DacapoDryrun</a></dd> +  nc : string 
-<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> +   output netcdf file, or input file if nc already exists 
-<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> +  
-<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> +  outnc : string 
-</dl> +   output file. by default equal to nc 
-<hr> +  
-Data descriptors defined here:<br> +  deletenc : Boolean 
-<dl><dt><strong>__weakref__</strong></dt+   determines whether the ncfile is deleted on initialization 
-<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd> +   so a fresh run occurs. If True, the ncfile is deleted if 
-</dl> +   it exists. 
-<hr> +  
-Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> +  debug : integer 
-<dl><dt><a name="DacapoDryrun-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoDryrun-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;help(type(x))&nbsp;for&nbsp;signature</tt></dd></dl>+   logging debug level. 
 +  
 +Valid kwargs: 
 +  
 +  atoms : ASE.Atoms instance 
 +    atoms is an ase.Atoms object that will be attached 
 +    to this calculator. 
 +  
 +  pw : integer 
 +    sets planewave cutoff 
 +  
 +  dw : integer 
 +    sets density cutoff 
 +  
 +  kpts : iterable 
 +    set chadi-cohen, monkhorst-pack kpt grid, 
 +    e.g. kpts = (2,2,1) or explicit list of kpts 
 +  
 +  spinpol : Boolean 
 +    sets whether spin-polarization is used or not. 
 +  
 +  fixmagmom : float 
 +    set the magnetic moment of the unit cell. only used 
 +    in spin polarize calculations 
 +  
 +  ft : float 
 +    set the Fermi temperature used in occupation smearing 
 +  
 +  xc : string 
 +    set the exchange-correlation functional. 
 +    one of ['PZ','VWN','PW91','PBE','RPBE','revPBE'], 
 +  
 +  dipole 
 +    boolean 
 +    turn the dipole correction on (True) or off (False) 
 +  
 +    or: 
 +    dictionary of parameters to fine-tune behavior 
 +    {'status':False, 
 +    'mixpar':0.2, 
 +    'initval':0.0, 
 +    'adddipfield':0.0, 
 +    'position':None} 
 +  
 +  nbands : integer 
 +    set the number of bands 
 +  
 +  symmetry : Boolean 
 +    Turn symmetry reduction on (True) or off (False) 
 +  
 +  stress : Boolean 
 +    Turn stress calculation on (True) or off (False) 
 +  
 +  debug : level for logging 
 +    could be something like 
 +    logging.DEBUG or an integer 0-50. The higher the integer, 
 +    the less information you see set debug level (0 = off, 10 = 
 +    extreme) 
 +  
 +Modification of the nc file only occurs at calculate time if needed 
 +  
 +>>> calc = Jacapo('CO.nc'
 +  
 +reads the calculator from CO.nc if it exists or 
 +minimally initializes CO.nc with dimensions if it does not exist. 
 +  
 +>>> calc = Jacapo('CO.nc', pw=300) 
 +  
 +reads the calculator from CO.nc or initializes it if 
 +it does not exist and changes the planewave cutoff energy to 
 +300eV 
 +  
 + >>> atoms = Jacapo.read_atoms('CO.nc'
 +  
 +returns the atoms in the netcdffile CO.nc, with the calculator 
 +attached to it. 
 +  
 +>>> atoms, calc = read('CO.nc') 
 +__str__(self) 
 +pretty-print the calculator and atoms. 
 +  
 +we read everything directly from the ncfile to prevent 
 +triggering any calculations 
 +atoms_are_equal(self, atoms) 
 +comparison of atoms to self.atoms using tolerances to account 
 +for float/double differences and float math. 
 +attach_child(self, child) 
 +calculate(self) 
 +run a calculation. 
 +  
 +you have to be a little careful with code in here. Use the 
 +calculation_required function to tell if a calculation is 
 +required. It is assumed here that if you call this, you mean 
 +it. 
 +calculation_required(self, atoms=None, quantities=None) 
 +determines if a calculation is needed. 
 +  
 +return True if a calculation is needed to get up to date data. 
 +return False if no calculation is needed. 
 +  
 +quantities is here because of the ase interface. 
 +delete_ncattdimvar(self, ncf, ncattrs=None, ncdims=None, ncvars=None) 
 +helper function to delete attributes, 
 +dimensions and variables in a netcdffile 
 +  
 +this functionality is not implemented for some reason in 
 +netcdf, so the only way to do this is to copy all the 
 +attributes, dimensions, and variables to a new file, excluding 
 +the ones you want to delete and then rename the new file. 
 +  
 +if you delete a dimension, all variables with that dimension 
 +are also deleted. 
 +execute_external_dynamics(self, nc=None, txt=None, stoppfile='stop', stopprogram=None) 
 +Implementation of the stay alive functionality with socket 
 +communication between dacapo and python.  Known limitations: 
 +It is not possible to start 2 independent Dacapo calculators 
 +from the same python process, since the python PID is used as 
 +identifier for the script[PID].py file. 
 +execute_parent_calculation(self) 
 +Implementation of an extra level of parallelization, where one jacapo calculator spawns several 
 +dacapo.run processes. This is used for NEBs parallelized over images. 
 +get(self, *args) 
 +get values for args. 
 +  
 +e.g. calc.get('nbands'
 +get_ados(self, **kwargs) 
 +attempt at maintaining backward compatibility with get_ados 
 +returning data 
 +  
 +Now when we call calc.get_ados() it will return settings, 
 +  
 +and calc.get_ados(atoms=[],...) should return data 
 +get_ados_data(self, atoms, orbitals, cutoff, spin) 
 +get atom projected data 
 +  
 +:Parameters: 
 +  
 +  atoms 
 +      list of atom indices (integers) 
 +  
 +  orbitals 
 +      list of strings 
 +      ['s','p','d'], 
 +      ['px','py','pz'
 +      ['d_zz', 'dxx-yy', 'd_xy', 'd_xz', 'd_yz'
 +  
 +  cutoff : string 
 +    cutoff radius you want the results for 'short' or 'infinite' 
 +  
 +  spin 
 +    : list of integers 
 +    spin you want the results for 
 +    [0] or [1] or [0,1] for both 
 +  
 +returns (egrid, ados) 
 +egrid has the fermi level at 0 eV 
 +get_all_eigenvalues(self, spin=0) 
 +return all the eigenvalues at all the kpoints for a spin. 
 +  
 +:Parameters: 
 +  
 +  spin : integer 
 +    which spin the eigenvalues are for 
 +get_ascii_debug(self) 
 +Return the debug settings in Dacapo 
 +get_atoms(self) 
 +return the atoms attached to a calculator() 
 +get_bz_k_points(self) 
 +return list of kpoints in the Brillouin zone 
 +get_calculate_stress(self) 
 +return whether stress is calculated or not 
 +get_cd = get_charge_density(self, spin=0
 +get_charge_density(self, spin=0) 
 +return x,y,z,charge density data 
 +  
 +x,y,z are grids sampling the unit cell 
 +cd is the charge density data 
 +  
 +netcdf documentation:: 
 +  
 +  ChargeDensity(number_of_spin, 
 +                hardgrid_dim3, 
 +                hardgrid_dim2, 
 +                hardgrid_dim1) 
 +  ChargeDensity:Description = "realspace charge density; 
 +          ChargeDensity:unit = "-e/A^3; 
 +get_charge_mixing(self) 
 +return charge mixing parameters 
 +get_convergence(self) 
 +return convergence settings for Dacapo 
 +get_debug(self) 
 +Return the python logging level 
 +get_decoupling(self) 
 +return the electrostatic decoupling parameters 
 +get_dipole(self) 
 +return dictionary of parameters if the DipoleCorrection was used 
 +get_dipole_moment(self, atoms=None) 
 +return dipole moment of unit cell 
 +  
 +Defined by the vector connecting the center of electron charge 
 +density to the center of nuclear charge density. 
 +  
 +Units eV*angstrom 
 +  
 +1 Debye = 0.208194 eV*angstrom 
 +get_dw(self) 
 +return the density wave cutoff 
 +get_ef = get_fermi_level(self) 
 +get_effective_potential(self, spin=1) 
 +returns the realspace local effective potential for the spin. 
 +the units of the potential are eV 
 +  
 +:Parameters: 
 +  
 +  spin : integer 
 +     specify which spin you want, 0 or 1 
 +get_eigenvalues(self, kpt=0, spin=0) 
 +return the eigenvalues for a kpt and spin 
 +  
 +:Parameters: 
 +  
 +  kpt : integer 
 +    index of the IBZ kpoint 
 +  
 +  spin : integer 
 +    which spin the eigenvalues are for 
 +get_electronic_minimization(self) 
 +get method and diagonalizations per band for electronic 
 +minimization algorithms 
 +get_electronic_temperature = get_ft(self) 
 +get_electrostatic_potential(self, spin=0) 
 +get electrostatic potential 
 +  
 +Netcdf documentation:: 
 +  
 +  double ElectrostaticPotential(number_of_spin, 
 +                                hardgrid_dim3, 
 +                                hardgrid_dim2, 
 +                                hardgrid_dim1) 
 +         ElectrostaticPotential: 
 +             Description = "realspace local effective potential
 +             unit = "eV
 +get_ensemble_coefficients(self) 
 +returns exchange correlation ensemble coefficients 
 +get_esp get_electrostatic_potential(self, spin=0) 
 +get_external_dipole(self) 
 +return the External dipole settings 
 +get_extpot(self) 
 +return the external potential set in teh calculator 
 +get_extracharge(self) 
 +Return the extra charge set in teh calculator 
 +get_fermi_level(self) 
 +return Fermi level 
 +get_fftgrid(self) 
 +return soft and hard fft grids 
 +get_fixmagmom(self) 
 +returns the value of FixedMagneticMoment 
 +get_forces(self, atoms=None) 
 +Calculate atomic forces 
 +get_ft(self) 
 +return the FermiTemperature used in the calculation 
 +get_ibz_k_points = get_ibz_kpoints(self) 
 +get_ibz_kpoints(self) 
 +return list of kpoints in the irreducible brillouin zone 
 +get_k_point_weights(self) 
 +return the weights on the IBZ kpoints 
 +get_kpts(self) 
 +return the BZ kpts 
 +get_kpts_type(self) 
 +return the kpt grid type 
 +get_magnetic_moment(self, atoms=None) 
 +calculates the magnetic moment (Bohr-magnetons) of the supercell 
 +get_magnetic_moments(self, atoms=None) 
 +return magnetic moments on each atom after the calculation is 
 +run 
 +get_mdos(self) 
 +return multicentered projected dos parameters 
 +get_mdos_data(self, spin=0, cutoffradius='infinite'
 +returns data from multicentered projection 
 +  
 +  
 +returns (mdos, rotmat) 
 +  
 +the rotation matrices are retrieved from the text fileI am 
 +not sure what you would do with these, but there was a note 
 +about them in the old documentation so I put the code to 
 +retrieve them here. the syntax for the return value is: 
 +rotmat[atom#][label] returns the rotation matrix for the 
 +center on the atom# for labelI do not not know what the 
 +label refers to. 
 +get_nbands(self
 +return the number of bands used in the calculation 
 +get_nc(self) 
 +return the ncfile used for output 
 +get_ncoutput(self) 
 +returns the control variables for the ncfile 
 +get_number_of_bands get_nbands(self) 
 +get_number_of_electrons = get_valence(self, atoms=None) 
 +get_number_of_grid_points(self) 
 +return soft fft grid 
 +get_number_of_iterations(self) 
 +get_number_of_spins(self) 
 +if spin-polarized returns 2, if not returns 1 
 +get_occ = get_occupation_numbers(self, kpt=0, spin=0) 
 +get_occupation_numbers(self, kpt=0, spin=0) 
 +return occupancies of eigenstates for a kpt and spin 
 +  
 +:Parameters: 
 +  
 +  kpt : integer 
 +    index of the IBZ kpoint you want the occupation of 
 +  
 +  spin : integer 
 +    0 or 1 
 +get_occupationstatistics(self) 
 +return occupation statistics method 
 +get_potential_energy(self, atoms=None, force_consistent=False) 
 +return the potential energy. 
 +get_pseudo_wave_function(self, band=0, kpt=0, spin=0, pad=True) 
 +return the pseudo wavefunction 
 +get_pseudopotentials(self) 
 +get pseudopotentials set for atoms attached to calculator 
 +get_psp(self, sym=None, z=None) 
 +get the pseudopotential filename from the psp database 
 +  
 +:Parameters: 
 +  
 +  sym : string 
 +    the chemical symbol of the species 
 +  
 +  z : integer 
 +    the atomic number of the species 
 +  
 +  
 +you can only specify sym or z. Returns the pseudopotential 
 +filename, not the full path. 
 +get_psp_nuclear_charge(self, psp) 
 +get the nuclear charge of the atom from teh psp-file. 
 +  
 +This is not the same as the atomic number, nor is it 
 +necessarily the negative of the number of valence electrons, 
 +since a psp may be an ion. this function is needed to compute 
 +centers of ion charge for the dipole moment calculation. 
 +  
 +We read in the valence ion configuration from the psp file and 
 +add up the charges in each shell. 
 +get_psp_valence(self, psp) 
 +get the psp valence charge on an atom from the pspfile. 
 +get_pw(self) 
 +return the planewave cutoff used 
 +get_reciprocal_bloch_function(self, band=0, kpt=0, spin=0) 
 +return the reciprocal bloch function. Need for Jacapo 
 +Wannier class. 
 +get_reciprocal_fft_index(self, kpt=0) 
 +return the Wave Function FFT Index 
 +get_scratch(self) 
 +finds an appropriate scratch directory for the calculation 
 +get_spin_polarized(self) 
 +Return True if calculate is spin-polarized or False if not 
 +get_spinpol(self) 
 +Returns the spin polarization setting, either True or False 
 +get_status(self) 
 +get status of calculation from ncfile. usually one of: 
 +'new', 
 +'aborted' 
 +'running' 
 +'finished' 
 +None 
 +get_stay_alive(self) 
 +return the stay alive settings 
 +get_stress(self, atoms=None) 
 +get stress on the atoms. 
 +  
 +you should have set up the calculation 
 +to calculate stress first. 
 +  
 +returns [sxx, syy, szz, syz, sxz, sxy] 
 +get_symmetry(self) 
 +return the type of symmetry used 
 +get_txt(self) 
 +return the txt file used for output 
 +get_ucgrid(self, dims) 
 +Return X,Y,Z grids for uniform sampling of the unit cell 
 +  
 +dims = (n0,n1,n2) 
 +  
 +n0 points along unitcell vector 0 
 +n1 points along unitcell vector 1 
 +n2 points along unitcell vector 2 
 +get_valence(self, atoms=None) 
 +return the total number of valence electrons for the 
 +atoms. valence electrons are read directly from the 
 +pseudopotentials. 
 +  
 +the psp filenames are stored in the ncfile. They may be just 
 +the name of the file, in which case the psp may exist in the 
 +same directory as the ncfile, or in $DACAPOPATH, or the psp 
 +may be defined by an absolute or relative path. This function 
 +deals with all these possibilities. 
 +get_wannier_localization_matrix(self, nbands, dirG, kpoint, nextkpoint, G_I, spin) 
 +return wannier localization  matrix 
 +get_wave_function(self, band=0, kpt=0, spin=0) 
 +return the wave function. This is the pseudo wave function 
 +divided by volume. 
 +get_wf = get_wave_function(self, band=0, kpt=0, spin=0) 
 +get_xc(self) 
 +return the self-consistent exchange-correlation functional used 
 +  
 +returns a string 
 +get_xc_energies(self, *functional) 
 +Get energies for different functionals self-consistent and 
 +non-self-consistent. 
 +  
 +:Parameters: 
 +  
 +  functional : strings 
 +    some set of 'PZ','VWN','PW91','PBE','revPBE', 'RPBE' 
 +  
 +This function returns the self-consistent energy and/or 
 +energies associated with various functionals. 
 +The functionals are currently PZ,VWN,PW91,PBE,revPBE, RPBE. 
 +The different energies may be useful for calculating improved 
 +adsorption energies as in B. Hammer, L.B. Hansen and 
 +J.K. Norskov, Phys. Rev. B 59,7413. 
 +Examples: 
 +get_xcenergies() #returns all the energies 
 +get_xcenergies('PBE') # returns the PBE total energy 
 +get_xcenergies('PW91','PBE','revPBE') # returns a 
 +# list of energies in the order asked for 
 +initial_wannier(self, initialwannier, kpointgrid, fixedstates, edf, spin) 
 +return initial wannier 
 +initnc(self, ncfile=None) 
 +create an ncfile with minimal dimensions in it 
 +  
 +this makes sure the dimensions needed for other set functions 
 +exist when needed. 
 +read_only_atoms(self, ncfile) 
 +read only the atoms from an existing netcdf file. Used to 
 +initialize a calculator from a ncfilename. 
 +  
 +:Parameters: 
 +  
 +  ncfile : string 
 +    name of file to read from. 
 +  
 +return ASE.Atoms with no calculator attached or None if no 
 +atoms found 
 +restart(self) 
 +Restart the calculator by deleting nc dimensions that will 
 +be rewritten on the next calculation. This is sometimes required 
 +when certain dimensions change related to unitcell size changes 
 +planewave/densitywave cutoffs and kpt changes. These can cause 
 +fortran netcdf errors if the data does not match the pre-defined 
 +dimension sizes. 
 +  
 +also delete all the output from previous calculation. 
 +set(self, **kwargs) 
 +set a parameter 
 +  
 +parameter is stored in dictionary that is processed later if a 
 +calculation is need. 
 +set_ados(self, energywindow=(-15, 5), energywidth=0.2, npoints=250, cutoff=1.0) 
 +setup calculation of atom-projected density of states 
 +  
 +:Parameters: 
 +  
 +  energywindow : (float, float) 
 +    sets (emin,emax) in eV referenced to the Fermi level 
 +  
 +  energywidth : float 
 +    the gaussian used in smearing 
 +  
 +  npoints : integer 
 +    the number of points to sample the DOS at 
 +  
 +  cutoff : float 
 +    the cutoff radius in angstroms for the integration. 
 +set_ascii_debug(self, level) 
 +set the debug level for Dacapo 
 +  
 +:Parameters: 
 +  
 +  level : string 
 +    one of 'Off', 'MediumLevel', 'HighLevel' 
 +set_atoms(self, atoms) 
 +attach an atoms to the calculator and update the ncfile 
 +  
 +:Parameters: 
 +  
 +  atoms 
 +    ASE.Atoms instance 
 +set_calculate_stress(self, stress=True) 
 +Turn on stress calculation 
 +  
 +:Parameters: 
 +  
 +  stress : boolean 
 +    set_calculate_stress(True) calculates stress 
 +    set_calculate_stress(False) do not calculate stress 
 +set_charge_mixing(self, method='Pulay', mixinghistory=10, mixingcoeff=0.1, precondition='No', updatecharge='Yes'
 +set density mixing method and parameters 
 +  
 +:Parameters: 
 +  
 +  method : string 
 +    'Pulay' for Pulay mixing. only one supported now 
 +  
 +  mixinghistory : integer 
 +    number of iterations to mix 
 +    Number of charge residual vectors stored for generating 
 +    the Pulay estimate on the self-consistent charge density, 
 +    see Sec. 4.2 in Kresse/Furthmuller: 
 +    Comp. Mat. Sci. 6 (1996) p34ff 
 +  
 +  mixingcoeff : float 
 +    Mixing coefficient for Pulay charge mixing, corresponding 
 +    to A in G$^1$ in Sec. 4.2 in Kresse/Furthmuller: 
 +    Comp. Mat. Sci. 6 (1996) p34ff 
 +  
 +  precondition : string 
 +    'Yes' or 'No' 
 +  
 +    * "Yes" : Kerker preconditiong is used, 
 +       i.e. q$_0$ is different from zero, see eq. 82 
 +       in Kresse/Furthmuller: Comp. Mat. Sci. 6 (1996). 
 +       The value of q$_0$ is fix to give a damping of 20 
 +       of the lowest q vector. 
 +  
 +    * "No" : q$_0$ is zero and mixing is linear (default). 
 +  
 +  updatecharge : string 
 +    'Yes' or 'No' 
 +  
 +    * "Yes" : Perform charge mixing according to 
 +       ChargeMixing:Method setting 
 +  
 +    * "No" : Freeze charge to initial value. 
 +       This setting is useful when evaluating the Harris-Foulkes 
 +       density functional 
 +set_convergence(self, energy=1e-05, density=0.0001, occupation=0.001, maxsteps=None, maxtime=None) 
 +set convergence criteria for stopping the dacapo calculator. 
 +  
 +:Parameters: 
 +  
 +  energy : float 
 +    set total energy change (eV) required for stopping 
 +  
 +  density : float 
 +    set density change required for stopping 
 +  
 +  occupation : float 
 +    set occupation change required for stopping 
 +  
 +  maxsteps : integer 
 +    specify maximum number of steps to take 
 +  
 +  maxtime : integer 
 +    specify maximum number of hours to run. 
 +  
 +Autopilot not supported here. 
 +set_debug(self, debug) 
 +set debug level for python logging 
 +  
 +debug should be an integer from 0-100 or one of the logging 
 +constants like logging.DEBUG, logging.WARN, etc... 
 +set_decoupling(self, ngaussians=3, ecutoff=100, gausswidth=0.35) 
 +Decoupling activates the three dimensional electrostatic 
 +decoupling. Based on paper by Peter E. Bloechl: JCP 103 
 +page7422 (1995). 
 +  
 +:Parameters: 
 +  
 +  ngaussians : int 
 +    The number of gaussian functions per atom 
 +    used for constructing the model charge of the system 
 +  
 +  ecutoff : int 
 +    The cut off energy (eV) of system charge density in 
 +    g-space used when mapping constructing the model change of 
 +    the system, i.e. only charge density components below 
 +    ECutoff enters when constructing the model change. 
 +  
 +  gausswidth : float 
 +    The width of the Gaussians defined by 
 +    $widthofgaussian*1.5^(n-1)$  $n$=(1 to numberofgaussians) 
 +set_dipole(self, status=True, mixpar=0.2, initval=0.0, adddipfield=0.0, position=None) 
 +turn on and set dipole correction scheme 
 +  
 +:Parameters: 
 +  
 +  status : Boolean 
 +    True turns dipole on. False turns Dipole off 
 +  
 +  mixpar : float 
 +    Mixing Parameter for the the dipole correction field 
 +    during the electronic minimization process. If instabilities 
 +    occur during electronic minimization, this value may be 
 +    decreased. 
 +  
 +  initval : float 
 +    initial value to start at 
 +  
 +  adddipfield : float 
 +    additional dipole field to add 
 +    units : V/ang 
 +    External additive, constant electrostatic field along 
 +    third unit cell vector, corresponding to an external 
 +    dipole layer. The field discontinuity follows the position 
 +    of the dynamical dipole correction, i.e. if 
 +    DipoleCorrection:DipoleLayerPosition is set, the field 
 +    discontinuity is at this value, otherwise it is at the 
 +    vacuum position farthest from any other atoms on both 
 +    sides of the slab. 
 +  
 +  position : float 
 +    scaled coordinates along third unit cell direction. 
 +    If this attribute is set, DACAPO will position the 
 +    compensation dipole layer plane in at the provided value. 
 +    If this attribute is not set, DACAPO will put the compensation 
 +    dipole layer plane in the vacuum position farthest from any 
 +    other atoms on both sides of the slab. Do not set this to 
 +    0.0 
 +  
 +  
 +calling set_dipole() sets all default values. 
 +set_dw(self, dw) 
 +set the density wave cutoff energy. 
 +  
 +:Parameters: 
 +  
 +  dw : integer 
 +    the density wave cutoff 
 +  
 +The function checks to make sure it is not less than the 
 +planewave cutoff. 
 +  
 +Density_WaveCutoff describes the kinetic energy neccesary to 
 +represent a wavefunction associated with the total density, 
 +i.e. G-vectors for which $ ert G ert^2$ $<
 +4*Density_WaveCutoff will be used to describe the total 
 +density (including augmentation charge and partial core 
 +density). If Density_WaveCutoff is equal to PlaneWaveCutoff 
 +this implies that the total density is as soft as the 
 +wavefunctions described by the kinetic energy cutoff 
 +PlaneWaveCutoff. If a value of Density_WaveCutoff is specified 
 +(must be larger than or equal to PlaneWaveCutoff) the program 
 +will run using two grids, one for representing the 
 +wavefunction density (softgrid_dim) and one representing the 
 +total density (hardgrid_dim). If the density can be 
 +reprensented on the same grid as the wavefunction density 
 +Density_WaveCutoff can be chosen equal to PlaneWaveCutoff 
 +(default). 
 +set_electronic_minimization(self, method='eigsolve', diagsperband=2) 
 +set the eigensolver method 
 +  
 +Selector for which subroutine to use for electronic 
 +minimization 
 +  
 +Recognized options : "resmin", "eigsolve" and "rmm-diis". 
 +  
 +"resmin" : Power method (Lennart Bengtson), can only handle 
 +   k-point parallization
 +  
 +"eigsolve : Block Davidson algorithm 
 +   (Claus Bendtsen et al). 
 +  
 +"rmm-diis : Residual minimization 
 +   method (RMM), using DIIS (direct inversion in the iterate 
 +   subspace) The implementaion follows closely the algorithm 
 +   outlined in Kresse and Furthmuller, CompMat. Sci, III.G/III.H 
 +  
 +:Parameters: 
 +  
 +  method : string 
 +    should be 'resmin', 'eigsolve' or 'rmm-diis' 
 +  
 +  diagsperband : int 
 +    The number of diagonalizations per band for 
 +    electronic minimization algorithms (maps onto internal 
 +    variable ndiapb). Applies for both 
 +    ElectronicMinimization:Method = "resmin" and "eigsolve". 
 +    default value = 2 
 +set_external_dipole(self, value, position=None) 
 +Externally imposed dipole potential. This option overwrites 
 +DipoleCorrection if set. 
 +  
 +:Parameters: 
 +  
 +  value : float 
 +    units of volts 
 +  
 +  position : float 
 +    scaled coordinates along third unit cell direction. 
 +    if None, the compensation dipole layer plane in the 
 +    vacuum position farthest from any other atoms on both 
 +    sides of the slab. Do not set to 0.0. 
 +set_extpot(self, potgrid) 
 +add external potential of value 
 +  
 +see this link before using this 
 +https://listserv.fysik.dtu.dk/pipermail/campos/2003-August/000657.html 
 +  
 +:Parameters: 
 +  
 +  potgrid : np.array with shape (nx,ny,nz) 
 +    the shape must be the same as the fft soft grid 
 +    the value of the potential to add 
 +  
 +  
 +you have to know both of the fft grid dimensions ahead of time! 
 +if you know what you are doing, you can set the fft_grid you want 
 +before hand with: 
 +calc.set_fftgrid((n1,n2,n3)) 
 +set_extracharge(self, val) 
 +add extra charge to unit cell 
 +  
 +:Parameters: 
 +  
 +  val : float 
 +    extra electrons to add or subtract from the unit cell 
 +  
 +Fixed extra charge in the unit cell (i.e. deviation from 
 +charge neutrality). This assumes a compensating, positive 
 +constant backgound charge (jellium) to forge overall charge 
 +neutrality. 
 +set_fftgrid(self, soft=None, hard=None) 
 +sets the dimensions of the FFT grid to be used 
 +  
 +:Parameters: 
 +  
 +  soft : (n1,n2,n3) integers 
 +    make a n1 x n2 x n3 grid 
 +  
 +  hard : (n1,n2,n3) integers 
 +    make a n1 x n2 x n3 grid 
 +  
 +  
 +>>> calc.set_fftgrid(soft=[42,44,46]) 
 +sets the soft and hard grid dimensions to 42,44,46 
 +  
 +>>> calc.set_fftgrid(soft=[42,44,46],hard=[80,84,88]) 
 +sets the soft grid dimensions to 42,44,46 and the hard 
 +grid dimensions to 80,84,88 
 +  
 +These are the fast FFt grid numbers listed in fftdimensions.F 
 +  
 +data list_of_fft /2,  4,  6,  8, 10, 12, 14, 16, 18, 20, & 
 +22,24, 28, 30,32, 36, 40, 42, 44, 48, & 
 +56,60, 64, 66, 70, 72, 80, 84, 88, 90, & 
 +96,108,110,112,120,126,128,132,140,144,154, & 
 +160,168,176,180,192,198,200, & 
 +216,240,264,270,280,288,324,352,360,378,384,400,432, & 
 +450,480,540,576,640/ 
 +  
 +otherwise you will get some errors from mis-dimensioned variables. 
 +  
 +this is usually automatically set by Dacapo. 
 +set_fixmagmom(self, fixmagmom=None
 +set a fixed magnetic moment for a spin polarized calculation 
 +  
 +:Parameters: 
 +  
 +  fixmagmom : float 
 +    the magnetic moment of the cell in Bohr magnetons 
 +set_ft(self, ft) 
 +set the Fermi temperature for occupation smearing 
 +  
 +:Parameters: 
 +  
 +  ft : float 
 +    Fermi temperature in kT (eV) 
 +  
 +Electronic temperature, corresponding to gaussian occupation 
 +statistics. Device used to stabilize the convergence towards 
 +the electronic ground state. Higher values stabilizes the 
 +convergence. Values in the range 0.1-1.0 eV are recommended, 
 +depending on the complexity of the Fermi surface (low values 
 +for d-metals and narrow gap semiconducters, higher for free 
 +electron-like metals). 
 +set_kpts(self, kpts) 
 +set the kpt grid. 
 +  
 +Parameters: 
 +  
 +kpts: (n1,n2,n3) or [k1,k2,k3,...] or one of these 
 +chadi-cohen sets: 
 +  
 +* cc6_1x1 
 +* cc12_2x3 
 +* cc18_sq3xsq3 
 +* cc18_1x1 
 +* cc54_sq3xsq3 
 +* cc54_1x1 
 +* cc162_sq3xsq3 
 +* cc162_1x1 
 +  
 +(n1,n2,n3) creates an n1 x n2 x n3 monkhorst-pack grid, 
 +[k1,k2,k3,...] creates a kpt-grid based on the kpoints 
 +defined in k1,k2,k3,... 
 +  
 +There is also a possibility to have Dacapo (fortran) create 
 +the Kpoints in chadi-cohen or monkhorst-pack form. To do this 
 +you need to set the KpointSetup.gridtype attribute, and 
 +KpointSetup. 
 +  
 +KpointSetup [3,0,0] 
 +KpointSetup.gridtype = 'ChadiCohen' 
 +  
 +KpointSetup(1)  Chadi-Cohen k-point set 
 +1       6 k-points 1x1 
 +2       18-kpoints sqrt(3)*sqrt(3) 
 +3       18-kpoints 1x1 
 +4       54-kpoints sqrt(3)*sqrt(3) 
 +5       54-kpoints 1x1 
 +6       162-kpoints 1x1 
 +7       12-kpoints 2x3 
 +8       162-kpoints 3xsqrt 3 
 +  
 +or 
 +KpointSetup = [4,4,4] 
 +KpointSetup.gridtype = 'MonkhorstPack' 
 +we do not use this functionality. 
 +set_mdos(self, mcenters=None, energywindow=(-15, 5), energywidth=0.2, numberenergypoints=250, cutoffradius=1.0) 
 +Setup multicentered projected DOS. 
 +  
 +mcenters 
 +   a list of tuples containing (atom#,l,m,weight) 
 +   (0,0,0,1.0) specifies (atom 0, l=0, m=0, weight=1.0) an s orbital 
 +   on atom 0 
 +  
 +   (1,1,1,1.0) specifies (atom 1, l=1, m=1, weight=1.0) a p orbital 
 +   with m = +1 on atom 0 
 +  
 +   l=0 s-orbital 
 +   l=1 p-orbital 
 +   l=2 d-orbital 
 +  
 +   m in range of ( -l ... 0 ... +l ) 
 +  
 +   The direction cosines for which the spherical harmonics are 
 +   set up are using the next different atom in the list 
 +   (cyclic) as direction pointer, so the z-direction is chosen 
 +   along the direction to this next atom. At the moment the 
 +   rotation matrices is only given in the text file, you can 
 +   use grep'MULRmatrix' out_o2.txt to get this information. 
 +  
 +adapated from old MultiCenterProjectedDOS.py 
 +set_nbands(self, nbands=None) 
 +Set the number of bands. a few unoccupied bands are 
 +recommended. 
 +  
 +:Parameters: 
 +  
 +  nbands : integer 
 +    the number of bands. 
 +  
 +if nbands = None the function returns with nothing done. At 
 +calculate time, if there are still no bands, they will be set 
 +by: 
 +  
 +the number of bands is calculated as 
 +$nbands=nvalence*0.65 + 4$ 
 +set_nc(self, nc='out.nc'
 +set filename for the netcdf and text output for this calculation 
 +  
 +:Parameters: 
 +  
 +  nc : string 
 +    filename for netcdf file 
 +  
 +if the ncfile attached to the calculator is changing, the old 
 +file will be copied to the new file if it doesn not exist so 
 +that all the calculator details are preserved. Otherwise, the 
 +  
 +if the ncfile does not exist, it will get initialized. 
 +  
 +the text file will have the same basename as the ncfile, but 
 +with a .txt extension. 
 +set_ncoutput(self, wf=None, cd=None, efp=None, esp=None) 
 +set the output of large variables in the netcdf output file 
 +  
 +:Parameters: 
 +  
 +  wf : string 
 +    controls output of wavefunction. values can 
 +    be 'Yes' or 'No' 
 +  
 +  cd : string 
 +    controls output of charge density. values can 
 +    be 'Yes' or 'No' 
 +  
 +  efp : string 
 +    controls output of effective potential. values can 
 +    be 'Yes' or 'No' 
 +  
 +  esp : string 
 +    controls output of electrostatic potential. values can 
 +    be 'Yes' or 'No' 
 +set_occupationstatistics(self, method) 
 +set the method used for smearing the occupations. 
 +  
 +:Parameters: 
 +  
 +  method : string 
 +    one of 'FermiDirac' or 'MethfesselPaxton' 
 +    Currently, the Methfessel-Paxton scheme (PRB 40, 3616 (1989).
 +    is implemented to 1th order (which is recommemded by most authors). 
 +    'FermiDirac' is the default 
 +set_parent(self, parent) 
 +set_pseudopotentials(self, pspdict) 
 +Set all the pseudopotentials from a dictionary. 
 +  
 +The dictionary should have this form:: 
 +  
 +    {symbol1: path1, 
 +     symbol2: path2} 
 +set_psp(self, sym=None, z=None, psp=None) 
 +set the pseudopotential file for a species or an atomic number. 
 +  
 +:Parameters: 
 +  
 + sym : string 
 +   chemical symbol of the species 
 +  
 +  z : integer 
 +    the atomic number of the species 
 +  
 +  psp : string 
 +    filename of the pseudopotential 
 +  
 +  
 +you can only set sym or z. 
 +  
 +examples:: 
 +  
 +  set_psp('N',psp='pspfile'
 +  set_psp(z=6,psp='pspfile'
 +set_psp_database(self, xc=None) 
 +get the xc-dependent psp database 
 +  
 +:Parameters: 
 +  
 + xc : string 
 +   one of 'PW91', 'PBE', 'revPBE', 'RPBE', 'PZ' 
 +  
 +  
 +not all the databases are complete, and that means 
 +some psp do not exist. 
 +  
 +note: this function is not supported fully. only pw91 is 
 +imported now. Changing the xc at this point results in loading 
 +a nearly empty database, and I have not thought about how to 
 +resolve that 
 +set_pw(self, pw) 
 +set the planewave cutoff. 
 +  
 +:Parameters: 
 +  
 + pw : integer 
 +   the planewave cutoff in eV 
 +  
 +this function checks to make sure the density wave cutoff is 
 +greater than or equal to the planewave cutoff. 
 +set_spinpol(self, spinpol=False) 
 +set Spin polarization. 
 +  
 +:Parameters: 
 +  
 + spinpol : Boolean 
 +   set_spinpol(True)  spin-polarized. 
 +   set_spinpol(False) no spin polarization, default 
 +  
 +Specify whether to perform a spin polarized or unpolarized 
 +calculation. 
 +set_status(self, status) 
 +set the status flag in the netcdf file 
 +  
 +:Parameters: 
 +  
 +  status : string 
 +    status flag, e.g. 'new', 'finished' 
 +set_stay_alive(self, value) 
 +set the stay alive setting 
 +set_symmetry(self, val=False) 
 +set how symmetry is used to reduce k-points 
 +  
 +:Parameters: 
 +  
 + val : Boolean 
 +   set_sym(True) Maximum symmetry is used 
 +   set_sym(False) No symmetry is used 
 +  
 +This variable controls the if and how DACAPO should attempt 
 +using symmetry in the calculation. Imposing symmetry generally 
 +speeds up the calculation and reduces numerical noise to some 
 +extent. Symmetry should always be applied to the maximum 
 +extent, when ions are not moved. When relaxing ions, however, 
 +the symmetry of the equilibrium state may be lower than the 
 +initial state. Such an equilibrium state with lower symmetry 
 +is missed, if symmetry is imposed. Molecular dynamics-like 
 +algorithms for ionic propagation will generally not break the 
 +symmetry of the initial state, but some algorithms, like the 
 +BFGS may break the symmetry of the initial state. Recognized 
 +options: 
 +  
 +"Off": No symmetry will be imposed, apart from time inversion 
 +symmetry in recipical space. This is utilized to reduce the 
 +k-point sampling set for Brillouin zone integration and has no 
 +influence on the ionic forces/motion. 
 +  
 +"Maximum": DACAPO will look for symmetry in the supplied 
 +atomic structure and extract the highest possible symmetry 
 +groupDuring the calculation, DACAPO will impose the found 
 +spatial symmetry on ionic forces and electronic structure, 
 +i.e. the symmetry will be conserved during the calculation. 
 +set_xc(self, xc) 
 +Set the self-consistent exchange-correlation functional 
 +  
 +:Parameters: 
 +  
 + xc : string 
 +   Must be one of 'PZ', 'VWN', 'PW91', 'PBE', 'revPBE', 'RPBE' 
 +  
 +Selects which density functional to use for 
 +exchange-correlation when performing electronic minimization 
 +(the electronic energy is minimized with respect to this 
 +selected functional) Notice that the electronic energy is also 
 +evaluated non-selfconsistently by DACAPO for other 
 +exchange-correlation functionals Recognized options : 
 +  
 +* "PZ" (Perdew Zunger LDA-parametrization) 
 +* "VWN" (Vosko Wilk Nusair LDA-parametrization) 
 +* "PW91" (Perdew Wang 91 GGA-parametrization) 
 +* "PBE" (Perdew Burke Ernzerhof GGA-parametrization) 
 +* "revPBE" (revised PBE/1 GGA-parametrization) 
 +* "RPBE" (revised PBE/2 GGA-parametrization) 
 +  
 +option "PZ" is not allowed for spin polarized 
 +calculation; use "VWN" instead. 
 +strip(self) 
 +remove all large memory nc variables not needed for 
 +anything I use very often. 
 +update_input_parameters(self) 
 +read in all the input parameters from the netcdfile 
 +write(self, new=False) 
 +write out everything to the ncfile : get_nc() 
 +  
 +new determines whether to delete any existing ncfile, and rewrite it. 
 +write_input(self) 
 +write out input parameters as needed 
 +  
 +you must define a self._set_keyword function that does all the 
 +actual writing. 
 +write_nc(self, nc=None, atoms=None) 
 +write out atoms to a netcdffile. 
 +  
 +This does not write out the calculation parameters! 
 +  
 +:Parameters: 
 +  
 +  nc : string 
 +    ncfilename to write to. this file will get clobbered 
 +    if it already exists. 
 +  
 +  atoms : ASE.Atoms 
 +    atoms to write. if None use the attached atoms 
 +    if no atoms are attached only the calculator is 
 +    written out. 
 +  
 +the ncfile is always opened in 'a' mode. 
 +  
 +note: it is good practice to use the atoms argument to make 
 +sure that the geometry you mean gets written! Otherwise, the 
 +atoms in the calculator is used, which may be different than 
 +the external copy of the atoms.
  
-<hr> +Static methods defined here: 
-Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> +read_atoms(filename) 
-<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#DacapoDryrun-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>+read atoms and calculator from an existing netcdf file. 
 +  
 +:Parameters: 
 +  
 +  filename : string 
 +    name of file to read from. 
 +  
 +static method 
 +  
 +example:
 +  
 +  >>> atoms Jacapo.read_atoms(ncfile) 
 +  >>> calc = atoms.get_calculator() 
 +  
 +this method is here for legacy purposesI used to use it alot.
  
-<hr> +Data and other attributes defined here: 
-Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> +__version__ '0.4' 
-<dl><dt><a name="DacapoDryrun-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoDryrun-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>+default_input {'ados': None, 'ascii_debug': 'Off', 'atoms': None, 'calculate_stress': False, 'charge_mixing': {'method': 'Pulay', 'mixingcoeff': 0.1, 'mixinghistory': 10, 'precondition': 'No', 'updatecharge': 'Yes'}, 'convergence': {'density': 0.0001, 'energy': 1e-05, 'maxsteps': None, 'maxtime': None, 'occupation': 0.001}, 'decoupling': None, 'dipole': {'adddipfield': 0.0, 'initval': 0.0, 'mixpar': 0.2, 'position': None, 'status': False}, 'dw': 350, 'electronic_minimization': {'diagsperband': 2, 'method': 'eigsolve'}, ...} 
 +  
 +Functions 
 +       
 +  
 +read(ncfile) 
 +return atoms and calculator from ncfile 
 +  
 +>>> atoms, calc read('co.nc') 
 +  
 +Data 
 +       
 +  
 +__docformat__ 'restructuredtext' 
 +formatstring = '%(levelname)-10s function: %(funcName)s lineno: %(lineno)-4d %(message)s' 
 +formatter = <logging.Formatter object> 
 +handler = <logging.StreamHandler object> 
 +log = <logging.Logger object>
  
-<dl><dt><a name="DacapoDryrun-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoDryrun-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl> +</code>
- +
-<dl><dt><a name="DacapoDryrun-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoDryrun-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl> +
- +
-<dl><dt><a name="DacapoDryrun-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoDryrun-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br> +
-&nbsp;<br> +
-Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl> +
- +
-<dl><dt><a name="DacapoDryrun-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl> +
- +
-<dl><dt><a name="DacapoDryrun-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoDryrun-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl> +
- +
-<dl><dt><a name="DacapoDryrun-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoDryrun-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl> +
- +
-<dl><dt><a name="DacapoDryrun-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl> +
- +
-<dl><dt><a name="DacapoDryrun-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoDryrun-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl> +
- +
-<dl><dt><a name="DacapoDryrun-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl> +
- +
-<hr> +
-Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> +
-<dl><dt><strong>__dict__</strong></dt> +
-</dl> +
-<dl><dt><strong>args</strong></dt> +
-</dl> +
-<dl><dt><strong>message</strong></dt> +
-</dl> +
-</td></tr></table> <p> +
-<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +
-<tr bgcolor="#ffc8d8"> +
-<td colspan=3 valign=bottom>&nbsp;<br> +
-<font color="#000000" face="helvetica, arial"><a name="DacapoInput">class <strong>DacapoInput</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr> +
-     +
-<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td> +
-<td colspan=2><tt>raised&nbsp;for&nbsp;bad&nbsp;input&nbsp;variables<br>&nbsp;</tt></td></tr> +
-<tr><td>&nbsp;</td> +
-<td width="100%"><dl><dt>Method resolution order:</dt> +
-<dd><a href="ase.calculators.jacapo.jacapo.html#DacapoInput">DacapoInput</a></dd> +
-<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> +
-<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> +
-<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> +
-</dl> +
-<hr> +
-Data descriptors defined here:<br> +
-<dl><dt><strong>__weakref__</strong></dt> +
-<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd> +
-</dl> +
-<hr> +
-Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> +
-<dl><dt><a name="DacapoInput-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoInput-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;help(type(x))&nbsp;for&nbsp;signature</tt></dd></dl> +
- +
-<hr> +
-Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> +
-<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#DacapoInput-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl> +
- +
-<hr> +
-Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> +
-<dl><dt><a name="DacapoInput-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoInput-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl> +
- +
-<dl><dt><a name="DacapoInput-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoInput-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl> +
- +
-<dl><dt><a name="DacapoInput-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoInput-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl> +
- +
-<dl><dt><a name="DacapoInput-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoInput-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br> +
-&nbsp;<br> +
-Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl> +
- +
-<dl><dt><a name="DacapoInput-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl> +
- +
-<dl><dt><a name="DacapoInput-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoInput-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl> +
- +
-<dl><dt><a name="DacapoInput-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoInput-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl> +
- +
-<dl><dt><a name="DacapoInput-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl> +
- +
-<dl><dt><a name="DacapoInput-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoInput-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl> +
- +
-<dl><dt><a name="DacapoInput-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl> +
- +
-<hr> +
-Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> +
-<dl><dt><strong>__dict__</strong></dt> +
-</dl> +
-<dl><dt><strong>args</strong></dt> +
-</dl> +
-<dl><dt><strong>message</strong></dt> +
-</dl> +
-</td></tr></table> <p> +
-<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +
-<tr bgcolor="#ffc8d8"> +
-<td colspan=3 valign=bottom>&nbsp;<br> +
-<font color="#000000" face="helvetica, arial"><a name="DacapoRunning">class <strong>DacapoRunning</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr> +
-     +
-<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td> +
-<td colspan=2><tt>Raised&nbsp;when&nbsp;ncfile.status&nbsp;=&nbsp;'running'<br>&nbsp;</tt></td></tr> +
-<tr><td>&nbsp;</td> +
-<td width="100%"><dl><dt>Method resolution order:</dt> +
-<dd><a href="ase.calculators.jacapo.jacapo.html#DacapoRunning">DacapoRunning</a></dd> +
-<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> +
-<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> +
-<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> +
-</dl> +
-<hr> +
-Data descriptors defined here:<br> +
-<dl><dt><strong>__weakref__</strong></dt> +
-<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd> +
-</dl> +
-<hr> +
-Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> +
-<dl><dt><a name="DacapoRunning-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoRunning-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;help(type(x))&nbsp;for&nbsp;signature</tt></dd></dl> +
- +
-<hr> +
-Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> +
-<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#DacapoRunning-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl> +
- +
-<hr> +
-Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> +
-<dl><dt><a name="DacapoRunning-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoRunning-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl> +
- +
-<dl><dt><a name="DacapoRunning-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoRunning-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl> +
- +
-<dl><dt><a name="DacapoRunning-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoRunning-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl> +
- +
-<dl><dt><a name="DacapoRunning-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoRunning-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br> +
-&nbsp;<br> +
-Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl> +
- +
-<dl><dt><a name="DacapoRunning-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl> +
- +
-<dl><dt><a name="DacapoRunning-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoRunning-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl> +
- +
-<dl><dt><a name="DacapoRunning-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoRunning-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl> +
- +
-<dl><dt><a name="DacapoRunning-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl> +
- +
-<dl><dt><a name="DacapoRunning-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#DacapoRunning-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl> +
- +
-<dl><dt><a name="DacapoRunning-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl> +
- +
-<hr> +
-Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> +
-<dl><dt><strong>__dict__</strong></dt> +
-</dl> +
-<dl><dt><strong>args</strong></dt> +
-</dl> +
-<dl><dt><strong>message</strong></dt> +
-</dl> +
-</td></tr></table> <p> +
-<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +
-<tr bgcolor="#ffc8d8"> +
-<td colspan=3 valign=bottom>&nbsp;<br> +
-<font color="#000000" face="helvetica, arial"><a name="Jacapo">class <strong>Jacapo</strong></a></font></td></tr> +
-     +
-<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td> +
-<td colspan=2><tt>Python&nbsp;interface&nbsp;to&nbsp;the&nbsp;Fortran&nbsp;DACAPO&nbsp;code<br>&nbsp;</tt></td></tr> +
-<tr><td>&nbsp;</td> +
-<td width="100%">Methods defined here:<br> +
-<dl><dt><a name="Jacapo-__del__"><strong>__del__</strong></a>(self)</dt><dd><tt>If&nbsp;calculator&nbsp;is&nbsp;deleted&nbsp;try&nbsp;to&nbsp;stop&nbsp;dacapo&nbsp;program</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-__init__"><strong>__init__</strong></a>(self, nc<font color="#909090">='out.nc'</font>, outnc<font color="#909090">=None</font>, deletenc<font color="#909090">=False</font>, debug<font color="#909090">=30</font>, stay_alive<font color="#909090">=False</font>, **kwargs)</dt><dd><tt>Initialize&nbsp;the&nbsp;<a href="#Jacapo">Jacapo</a>&nbsp;calculator<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;nc&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;output&nbsp;netcdf&nbsp;file,&nbsp;or&nbsp;input&nbsp;file&nbsp;if&nbsp;nc&nbsp;already&nbsp;exists<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;outnc&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;output&nbsp;file.&nbsp;by&nbsp;default&nbsp;equal&nbsp;to&nbsp;nc<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;deletenc&nbsp;:&nbsp;Boolean<br> +
-&nbsp;&nbsp;&nbsp;determines&nbsp;whether&nbsp;the&nbsp;ncfile&nbsp;is&nbsp;deleted&nbsp;on&nbsp;initialization<br> +
-&nbsp;&nbsp;&nbsp;so&nbsp;a&nbsp;fresh&nbsp;run&nbsp;occurs.&nbsp;If&nbsp;True,&nbsp;the&nbsp;ncfile&nbsp;is&nbsp;deleted&nbsp;if<br> +
-&nbsp;&nbsp;&nbsp;it&nbsp;exists.<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;debug&nbsp;:&nbsp;integer<br> +
-&nbsp;&nbsp;&nbsp;logging&nbsp;debug&nbsp;level.<br> +
-&nbsp;<br> +
-Valid&nbsp;kwargs:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;atoms&nbsp;:&nbsp;ASE.Atoms&nbsp;instance<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;atoms&nbsp;is&nbsp;an&nbsp;ase.Atoms&nbsp;object&nbsp;that&nbsp;will&nbsp;be&nbsp;attached<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;to&nbsp;this&nbsp;calculator.<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;pw&nbsp;:&nbsp;integer<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;sets&nbsp;planewave&nbsp;cutoff<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;dw&nbsp;:&nbsp;integer<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;sets&nbsp;density&nbsp;cutoff<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;kpts&nbsp;:&nbsp;iterable<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;set&nbsp;chadi-cohen,&nbsp;monkhorst-pack&nbsp;kpt&nbsp;grid,<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;e.g.&nbsp;kpts&nbsp;=&nbsp;(2,2,1)&nbsp;or&nbsp;explicit&nbsp;list&nbsp;of&nbsp;kpts<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;spinpol&nbsp;:&nbsp;Boolean<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;sets&nbsp;whether&nbsp;spin-polarization&nbsp;is&nbsp;used&nbsp;or&nbsp;not.<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;fixmagmom&nbsp;:&nbsp;float<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;set&nbsp;the&nbsp;magnetic&nbsp;moment&nbsp;of&nbsp;the&nbsp;unit&nbsp;cell.&nbsp;only&nbsp;used<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;spin&nbsp;polarize&nbsp;calculations<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;ft&nbsp;:&nbsp;float<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;set&nbsp;the&nbsp;Fermi&nbsp;temperature&nbsp;used&nbsp;in&nbsp;occupation&nbsp;smearing<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;xc&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;set&nbsp;the&nbsp;exchange-correlation&nbsp;functional.<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;one&nbsp;of&nbsp;['PZ','VWN','PW91','PBE','RPBE','revPBE'],<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;dipole<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;boolean<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;turn&nbsp;the&nbsp;dipole&nbsp;correction&nbsp;on&nbsp;(True)&nbsp;or&nbsp;off&nbsp;(False)<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;or:<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;dictionary&nbsp;of&nbsp;parameters&nbsp;to&nbsp;fine-tune&nbsp;behavior<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;{'status':False,<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;'mixpar':0.2,<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;'initval':0.0,<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;'adddipfield':0.0,<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;'position':None}<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;nbands&nbsp;:&nbsp;integer<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;set&nbsp;the&nbsp;number&nbsp;of&nbsp;bands<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;symmetry&nbsp;:&nbsp;Boolean<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;Turn&nbsp;symmetry&nbsp;reduction&nbsp;on&nbsp;(True)&nbsp;or&nbsp;off&nbsp;(False)<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;stress&nbsp;:&nbsp;Boolean<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;Turn&nbsp;stress&nbsp;calculation&nbsp;on&nbsp;(True)&nbsp;or&nbsp;off&nbsp;(False)<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;debug&nbsp;:&nbsp;level&nbsp;for&nbsp;logging<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;could&nbsp;be&nbsp;something&nbsp;like<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;logging.DEBUG&nbsp;or&nbsp;an&nbsp;integer&nbsp;0-50.&nbsp;The&nbsp;higher&nbsp;the&nbsp;integer,<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;less&nbsp;information&nbsp;you&nbsp;see&nbsp;set&nbsp;debug&nbsp;level&nbsp;(0&nbsp;=&nbsp;off,&nbsp;10&nbsp;=<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;extreme)<br> +
-&nbsp;<br> +
-Modification&nbsp;of&nbsp;the&nbsp;nc&nbsp;file&nbsp;only&nbsp;occurs&nbsp;at&nbsp;calculate&nbsp;time&nbsp;if&nbsp;needed<br> +
-&nbsp;<br> +
-&gt;&gt;&gt;&nbsp;calc&nbsp;=&nbsp;<a href="#Jacapo">Jacapo</a>('CO.nc')<br> +
-&nbsp;<br> +
-reads&nbsp;the&nbsp;calculator&nbsp;from&nbsp;CO.nc&nbsp;if&nbsp;it&nbsp;exists&nbsp;or<br> +
-minimally&nbsp;initializes&nbsp;CO.nc&nbsp;with&nbsp;dimensions&nbsp;if&nbsp;it&nbsp;does&nbsp;not&nbsp;exist.<br> +
-&nbsp;<br> +
-&gt;&gt;&gt;&nbsp;calc&nbsp;=&nbsp;<a href="#Jacapo">Jacapo</a>('CO.nc',&nbsp;pw=300)<br> +
-&nbsp;<br> +
-reads&nbsp;the&nbsp;calculator&nbsp;from&nbsp;CO.nc&nbsp;or&nbsp;initializes&nbsp;it&nbsp;if<br> +
-it&nbsp;does&nbsp;not&nbsp;exist&nbsp;and&nbsp;changes&nbsp;the&nbsp;planewave&nbsp;cutoff&nbsp;energy&nbsp;to<br> +
-300eV<br> +
-&nbsp;<br> +
-&nbsp;&gt;&gt;&gt;&nbsp;atoms&nbsp;=&nbsp;<a href="#Jacapo">Jacapo</a>.<a href="#Jacapo-read_atoms">read_atoms</a>('CO.nc')<br> +
-&nbsp;<br> +
-returns&nbsp;the&nbsp;atoms&nbsp;in&nbsp;the&nbsp;netcdffile&nbsp;CO.nc,&nbsp;with&nbsp;the&nbsp;calculator<br> +
-attached&nbsp;to&nbsp;it.<br> +
-&nbsp;<br> +
-&gt;&gt;&gt;&nbsp;atoms,&nbsp;calc&nbsp;=&nbsp;<a href="#-read">read</a>('CO.nc')</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-__str__"><strong>__str__</strong></a>(self)</dt><dd><tt>pretty-print&nbsp;the&nbsp;calculator&nbsp;and&nbsp;atoms.<br> +
-&nbsp;<br> +
-we&nbsp;read&nbsp;everything&nbsp;directly&nbsp;from&nbsp;the&nbsp;ncfile&nbsp;to&nbsp;prevent<br> +
-triggering&nbsp;any&nbsp;calculations</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-atoms_are_equal"><strong>atoms_are_equal</strong></a>(self, atoms)</dt><dd><tt>comparison&nbsp;of&nbsp;atoms&nbsp;to&nbsp;self.<strong>atoms</strong>&nbsp;using&nbsp;tolerances&nbsp;to&nbsp;account<br> +
-for&nbsp;float/double&nbsp;differences&nbsp;and&nbsp;float&nbsp;math.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-attach_child"><strong>attach_child</strong></a>(self, child)</dt></dl> +
- +
-<dl><dt><a name="Jacapo-calculate"><strong>calculate</strong></a>(self)</dt><dd><tt>run&nbsp;a&nbsp;calculation.<br> +
-&nbsp;<br> +
-you&nbsp;have&nbsp;to&nbsp;be&nbsp;a&nbsp;little&nbsp;careful&nbsp;with&nbsp;code&nbsp;in&nbsp;here.&nbsp;Use&nbsp;the<br> +
-calculation_required&nbsp;function&nbsp;to&nbsp;tell&nbsp;if&nbsp;a&nbsp;calculation&nbsp;is<br> +
-required.&nbsp;It&nbsp;is&nbsp;assumed&nbsp;here&nbsp;that&nbsp;if&nbsp;you&nbsp;call&nbsp;this,&nbsp;you&nbsp;mean<br> +
-it.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-calculation_required"><strong>calculation_required</strong></a>(self, atoms<font color="#909090">=None</font>, quantities<font color="#909090">=None</font>)</dt><dd><tt>determines&nbsp;if&nbsp;a&nbsp;calculation&nbsp;is&nbsp;needed.<br> +
-&nbsp;<br> +
-return&nbsp;True&nbsp;if&nbsp;a&nbsp;calculation&nbsp;is&nbsp;needed&nbsp;to&nbsp;get&nbsp;up&nbsp;to&nbsp;date&nbsp;data.<br> +
-return&nbsp;False&nbsp;if&nbsp;no&nbsp;calculation&nbsp;is&nbsp;needed.<br> +
-&nbsp;<br> +
-quantities&nbsp;is&nbsp;here&nbsp;because&nbsp;of&nbsp;the&nbsp;ase&nbsp;interface.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-delete_ncattdimvar"><strong>delete_ncattdimvar</strong></a>(self, ncf, ncattrs<font color="#909090">=None</font>, ncdims<font color="#909090">=None</font>, ncvars<font color="#909090">=None</font>)</dt><dd><tt>helper&nbsp;function&nbsp;to&nbsp;delete&nbsp;attributes,<br> +
-dimensions&nbsp;and&nbsp;variables&nbsp;in&nbsp;a&nbsp;netcdffile<br> +
-&nbsp;<br> +
-this&nbsp;functionality&nbsp;is&nbsp;not&nbsp;implemented&nbsp;for&nbsp;some&nbsp;reason&nbsp;in<br> +
-netcdf,&nbsp;so&nbsp;the&nbsp;only&nbsp;way&nbsp;to&nbsp;do&nbsp;this&nbsp;is&nbsp;to&nbsp;copy&nbsp;all&nbsp;the<br> +
-attributes,&nbsp;dimensions,&nbsp;and&nbsp;variables&nbsp;to&nbsp;a&nbsp;new&nbsp;file,&nbsp;excluding<br> +
-the&nbsp;ones&nbsp;you&nbsp;want&nbsp;to&nbsp;delete&nbsp;and&nbsp;then&nbsp;rename&nbsp;the&nbsp;new&nbsp;file.<br> +
-&nbsp;<br> +
-if&nbsp;you&nbsp;delete&nbsp;a&nbsp;dimension,&nbsp;all&nbsp;variables&nbsp;with&nbsp;that&nbsp;dimension<br> +
-are&nbsp;also&nbsp;deleted.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-execute_external_dynamics"><strong>execute_external_dynamics</strong></a>(self, nc<font color="#909090">=None</font>, txt<font color="#909090">=None</font>, stoppfile<font color="#909090">='stop'</font>, stopprogram<font color="#909090">=None</font>)</dt><dd><tt>Implementation&nbsp;of&nbsp;the&nbsp;stay&nbsp;alive&nbsp;functionality&nbsp;with&nbsp;socket<br> +
-communication&nbsp;between&nbsp;dacapo&nbsp;and&nbsp;python.&nbsp;&nbsp;Known&nbsp;limitations:<br> +
-It&nbsp;is&nbsp;not&nbsp;possible&nbsp;to&nbsp;start&nbsp;2&nbsp;independent&nbsp;Dacapo&nbsp;calculators<br> +
-from&nbsp;the&nbsp;same&nbsp;python&nbsp;process,&nbsp;since&nbsp;the&nbsp;python&nbsp;PID&nbsp;is&nbsp;used&nbsp;as<br> +
-identifier&nbsp;for&nbsp;the&nbsp;script[PID].py&nbsp;file.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-execute_parent_calculation"><strong>execute_parent_calculation</strong></a>(self)</dt><dd><tt>Implementation&nbsp;of&nbsp;an&nbsp;extra&nbsp;level&nbsp;of&nbsp;parallelization,&nbsp;where&nbsp;one&nbsp;jacapo&nbsp;calculator&nbsp;spawns&nbsp;several<br> +
-dacapo.run&nbsp;processes.&nbsp;This&nbsp;is&nbsp;used&nbsp;for&nbsp;NEBs&nbsp;parallelized&nbsp;over&nbsp;images.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get"><strong>get</strong></a>(self, *args)</dt><dd><tt>get&nbsp;values&nbsp;for&nbsp;args.<br> +
-&nbsp;<br> +
-e.g.&nbsp;calc.<a href="#Jacapo-get">get</a>('nbands')</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_ados"><strong>get_ados</strong></a>(self, **kwargs)</dt><dd><tt>attempt&nbsp;at&nbsp;maintaining&nbsp;backward&nbsp;compatibility&nbsp;with&nbsp;get_ados<br> +
-returning&nbsp;data<br> +
-&nbsp;<br> +
-Now&nbsp;when&nbsp;we&nbsp;call&nbsp;calc.<a href="#Jacapo-get_ados">get_ados</a>()&nbsp;it&nbsp;will&nbsp;return&nbsp;settings,<br> +
-&nbsp;<br> +
-and&nbsp;calc.<a href="#Jacapo-get_ados">get_ados</a>(atoms=[],...)&nbsp;should&nbsp;return&nbsp;data</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_ados_data"><strong>get_ados_data</strong></a>(self, atoms, orbitals, cutoff, spin)</dt><dd><tt>get&nbsp;atom&nbsp;projected&nbsp;data<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;atoms<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;list&nbsp;of&nbsp;atom&nbsp;indices&nbsp;(integers)<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;orbitals<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;list&nbsp;of&nbsp;strings<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;['s','p','d'],<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;['px','py','pz']<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;['d_zz',&nbsp;'dxx-yy',&nbsp;'d_xy',&nbsp;'d_xz',&nbsp;'d_yz']<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;cutoff&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;cutoff&nbsp;radius&nbsp;you&nbsp;want&nbsp;the&nbsp;results&nbsp;for&nbsp;'short'&nbsp;or&nbsp;'infinite'<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;spin<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;list&nbsp;of&nbsp;integers<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;spin&nbsp;you&nbsp;want&nbsp;the&nbsp;results&nbsp;for<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;[0]&nbsp;or&nbsp;[1]&nbsp;or&nbsp;[0,1]&nbsp;for&nbsp;both<br> +
-&nbsp;<br> +
-returns&nbsp;(egrid,&nbsp;ados)<br> +
-egrid&nbsp;has&nbsp;the&nbsp;fermi&nbsp;level&nbsp;at&nbsp;0&nbsp;eV</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_all_eigenvalues"><strong>get_all_eigenvalues</strong></a>(self, spin<font color="#909090">=0</font>)</dt><dd><tt>return&nbsp;all&nbsp;the&nbsp;eigenvalues&nbsp;at&nbsp;all&nbsp;the&nbsp;kpoints&nbsp;for&nbsp;a&nbsp;spin.<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;spin&nbsp;:&nbsp;integer<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;which&nbsp;spin&nbsp;the&nbsp;eigenvalues&nbsp;are&nbsp;for</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_ascii_debug"><strong>get_ascii_debug</strong></a>(self)</dt><dd><tt>Return&nbsp;the&nbsp;debug&nbsp;settings&nbsp;in&nbsp;Dacapo</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_atoms"><strong>get_atoms</strong></a>(self)</dt><dd><tt>return&nbsp;the&nbsp;atoms&nbsp;attached&nbsp;to&nbsp;a&nbsp;calculator()</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_bz_k_points"><strong>get_bz_k_points</strong></a>(self)</dt><dd><tt>return&nbsp;list&nbsp;of&nbsp;kpoints&nbsp;in&nbsp;the&nbsp;Brillouin&nbsp;zone</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_calculate_stress"><strong>get_calculate_stress</strong></a>(self)</dt><dd><tt>return&nbsp;whether&nbsp;stress&nbsp;is&nbsp;calculated&nbsp;or&nbsp;not</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_cd"><strong>get_cd</strong></a> = <a href="#Jacapo-get_charge_density">get_charge_density</a>(self, spin<font color="#909090">=0</font>)</dt></dl> +
- +
-<dl><dt><a name="Jacapo-get_charge_density"><strong>get_charge_density</strong></a>(self, spin<font color="#909090">=0</font>)</dt><dd><tt>return&nbsp;x,y,z,charge&nbsp;density&nbsp;data<br> +
-&nbsp;<br> +
-x,y,z&nbsp;are&nbsp;grids&nbsp;sampling&nbsp;the&nbsp;unit&nbsp;cell<br> +
-cd&nbsp;is&nbsp;the&nbsp;charge&nbsp;density&nbsp;data<br> +
-&nbsp;<br> +
-netcdf&nbsp;documentation::<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;ChargeDensity(number_of_spin,<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hardgrid_dim3,<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hardgrid_dim2,<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hardgrid_dim1)<br> +
-&nbsp;&nbsp;ChargeDensity:Description&nbsp;=&nbsp;"realspace&nbsp;charge&nbsp;density"&nbsp;;<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ChargeDensity:unit&nbsp;=&nbsp;"-e/A^3"&nbsp;;</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_charge_mixing"><strong>get_charge_mixing</strong></a>(self)</dt><dd><tt>return&nbsp;charge&nbsp;mixing&nbsp;parameters</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_convergence"><strong>get_convergence</strong></a>(self)</dt><dd><tt>return&nbsp;convergence&nbsp;settings&nbsp;for&nbsp;Dacapo</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_debug"><strong>get_debug</strong></a>(self)</dt><dd><tt>Return&nbsp;the&nbsp;python&nbsp;logging&nbsp;level</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_decoupling"><strong>get_decoupling</strong></a>(self)</dt><dd><tt>return&nbsp;the&nbsp;electrostatic&nbsp;decoupling&nbsp;parameters</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_dipole"><strong>get_dipole</strong></a>(self)</dt><dd><tt>return&nbsp;dictionary&nbsp;of&nbsp;parameters&nbsp;if&nbsp;the&nbsp;DipoleCorrection&nbsp;was&nbsp;used</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_dipole_moment"><strong>get_dipole_moment</strong></a>(self, atoms<font color="#909090">=None</font>)</dt><dd><tt>return&nbsp;dipole&nbsp;moment&nbsp;of&nbsp;unit&nbsp;cell<br> +
-&nbsp;<br> +
-Defined&nbsp;by&nbsp;the&nbsp;vector&nbsp;connecting&nbsp;the&nbsp;center&nbsp;of&nbsp;electron&nbsp;charge<br> +
-density&nbsp;to&nbsp;the&nbsp;center&nbsp;of&nbsp;nuclear&nbsp;charge&nbsp;density.<br> +
-&nbsp;<br> +
-Units&nbsp;=&nbsp;eV*angstrom<br> +
-&nbsp;<br> +
-1&nbsp;Debye&nbsp;=&nbsp;0.208194&nbsp;eV*angstrom</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_dw"><strong>get_dw</strong></a>(self)</dt><dd><tt>return&nbsp;the&nbsp;density&nbsp;wave&nbsp;cutoff</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_ef"><strong>get_ef</strong></a> = <a href="#Jacapo-get_fermi_level">get_fermi_level</a>(self)</dt></dl> +
- +
-<dl><dt><a name="Jacapo-get_effective_potential"><strong>get_effective_potential</strong></a>(self, spin<font color="#909090">=1</font>)</dt><dd><tt>returns&nbsp;the&nbsp;realspace&nbsp;local&nbsp;effective&nbsp;potential&nbsp;for&nbsp;the&nbsp;spin.<br> +
-the&nbsp;units&nbsp;of&nbsp;the&nbsp;potential&nbsp;are&nbsp;eV<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;spin&nbsp;:&nbsp;integer<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;specify&nbsp;which&nbsp;spin&nbsp;you&nbsp;want,&nbsp;0&nbsp;or&nbsp;1</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_eigenvalues"><strong>get_eigenvalues</strong></a>(self, kpt<font color="#909090">=0</font>, spin<font color="#909090">=0</font>)</dt><dd><tt>return&nbsp;the&nbsp;eigenvalues&nbsp;for&nbsp;a&nbsp;kpt&nbsp;and&nbsp;spin<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;kpt&nbsp;:&nbsp;integer<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;index&nbsp;of&nbsp;the&nbsp;IBZ&nbsp;kpoint<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;spin&nbsp;:&nbsp;integer<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;which&nbsp;spin&nbsp;the&nbsp;eigenvalues&nbsp;are&nbsp;for</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_electronic_minimization"><strong>get_electronic_minimization</strong></a>(self)</dt><dd><tt>get&nbsp;method&nbsp;and&nbsp;diagonalizations&nbsp;per&nbsp;band&nbsp;for&nbsp;electronic<br> +
-minimization&nbsp;algorithms</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_electronic_temperature"><strong>get_electronic_temperature</strong></a> = <a href="#Jacapo-get_ft">get_ft</a>(self)</dt></dl> +
- +
-<dl><dt><a name="Jacapo-get_electrostatic_potential"><strong>get_electrostatic_potential</strong></a>(self, spin<font color="#909090">=0</font>)</dt><dd><tt>get&nbsp;electrostatic&nbsp;potential<br> +
-&nbsp;<br> +
-Netcdf&nbsp;documentation::<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;double&nbsp;ElectrostaticPotential(number_of_spin,<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hardgrid_dim3,<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hardgrid_dim2,<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hardgrid_dim1)&nbsp;;<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ElectrostaticPotential:<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Description&nbsp;=&nbsp;"realspace&nbsp;local&nbsp;effective&nbsp;potential"&nbsp;;<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unit&nbsp;=&nbsp;"eV"&nbsp;;</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_ensemble_coefficients"><strong>get_ensemble_coefficients</strong></a>(self)</dt><dd><tt>returns&nbsp;exchange&nbsp;correlation&nbsp;ensemble&nbsp;coefficients</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_esp"><strong>get_esp</strong></a> = <a href="#Jacapo-get_electrostatic_potential">get_electrostatic_potential</a>(self, spin<font color="#909090">=0</font>)</dt></dl> +
- +
-<dl><dt><a name="Jacapo-get_external_dipole"><strong>get_external_dipole</strong></a>(self)</dt><dd><tt>return&nbsp;the&nbsp;External&nbsp;dipole&nbsp;settings</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_extpot"><strong>get_extpot</strong></a>(self)</dt><dd><tt>return&nbsp;the&nbsp;external&nbsp;potential&nbsp;set&nbsp;in&nbsp;teh&nbsp;calculator</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_extracharge"><strong>get_extracharge</strong></a>(self)</dt><dd><tt>Return&nbsp;the&nbsp;extra&nbsp;charge&nbsp;set&nbsp;in&nbsp;teh&nbsp;calculator</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_fermi_level"><strong>get_fermi_level</strong></a>(self)</dt><dd><tt>return&nbsp;Fermi&nbsp;level</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_fftgrid"><strong>get_fftgrid</strong></a>(self)</dt><dd><tt>return&nbsp;soft&nbsp;and&nbsp;hard&nbsp;fft&nbsp;grids</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_fixmagmom"><strong>get_fixmagmom</strong></a>(self)</dt><dd><tt>returns&nbsp;the&nbsp;value&nbsp;of&nbsp;FixedMagneticMoment</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_forces"><strong>get_forces</strong></a>(self, atoms<font color="#909090">=None</font>)</dt><dd><tt>Calculate&nbsp;atomic&nbsp;forces</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_ft"><strong>get_ft</strong></a>(self)</dt><dd><tt>return&nbsp;the&nbsp;FermiTemperature&nbsp;used&nbsp;in&nbsp;the&nbsp;calculation</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_ibz_k_points"><strong>get_ibz_k_points</strong></a> = <a href="#Jacapo-get_ibz_kpoints">get_ibz_kpoints</a>(self)</dt></dl> +
- +
-<dl><dt><a name="Jacapo-get_ibz_kpoints"><strong>get_ibz_kpoints</strong></a>(self)</dt><dd><tt>return&nbsp;list&nbsp;of&nbsp;kpoints&nbsp;in&nbsp;the&nbsp;irreducible&nbsp;brillouin&nbsp;zone</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_k_point_weights"><strong>get_k_point_weights</strong></a>(self)</dt><dd><tt>return&nbsp;the&nbsp;weights&nbsp;on&nbsp;the&nbsp;IBZ&nbsp;kpoints</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_kpts"><strong>get_kpts</strong></a>(self)</dt><dd><tt>return&nbsp;the&nbsp;BZ&nbsp;kpts</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_kpts_type"><strong>get_kpts_type</strong></a>(self)</dt><dd><tt>return&nbsp;the&nbsp;kpt&nbsp;grid&nbsp;type</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_magnetic_moment"><strong>get_magnetic_moment</strong></a>(self, atoms<font color="#909090">=None</font>)</dt><dd><tt>calculates&nbsp;the&nbsp;magnetic&nbsp;moment&nbsp;(Bohr-magnetons)&nbsp;of&nbsp;the&nbsp;supercell</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_magnetic_moments"><strong>get_magnetic_moments</strong></a>(self, atoms<font color="#909090">=None</font>)</dt><dd><tt>return&nbsp;magnetic&nbsp;moments&nbsp;on&nbsp;each&nbsp;atom&nbsp;after&nbsp;the&nbsp;calculation&nbsp;is<br> +
-run</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_mdos"><strong>get_mdos</strong></a>(self)</dt><dd><tt>return&nbsp;multicentered&nbsp;projected&nbsp;dos&nbsp;parameters</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_mdos_data"><strong>get_mdos_data</strong></a>(self, spin<font color="#909090">=0</font>, cutoffradius<font color="#909090">='infinite'</font>)</dt><dd><tt>returns&nbsp;data&nbsp;from&nbsp;multicentered&nbsp;projection<br> +
-&nbsp;<br> +
-&nbsp;<br> +
-returns&nbsp;(mdos,&nbsp;rotmat)<br> +
-&nbsp;<br> +
-the&nbsp;rotation&nbsp;matrices&nbsp;are&nbsp;retrieved&nbsp;from&nbsp;the&nbsp;text&nbsp;file.&nbsp;I&nbsp;am<br> +
-not&nbsp;sure&nbsp;what&nbsp;you&nbsp;would&nbsp;do&nbsp;with&nbsp;these,&nbsp;but&nbsp;there&nbsp;was&nbsp;a&nbsp;note<br> +
-about&nbsp;them&nbsp;in&nbsp;the&nbsp;old&nbsp;documentation&nbsp;so&nbsp;I&nbsp;put&nbsp;the&nbsp;code&nbsp;to<br> +
-retrieve&nbsp;them&nbsp;here.&nbsp;the&nbsp;syntax&nbsp;for&nbsp;the&nbsp;return&nbsp;value&nbsp;is:<br> +
-rotmat[atom#][label]&nbsp;returns&nbsp;the&nbsp;rotation&nbsp;matrix&nbsp;for&nbsp;the<br> +
-center&nbsp;on&nbsp;the&nbsp;atom#&nbsp;for&nbsp;label.&nbsp;I&nbsp;do&nbsp;not&nbsp;not&nbsp;know&nbsp;what&nbsp;the<br> +
-label&nbsp;refers&nbsp;to.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_nbands"><strong>get_nbands</strong></a>(self)</dt><dd><tt>return&nbsp;the&nbsp;number&nbsp;of&nbsp;bands&nbsp;used&nbsp;in&nbsp;the&nbsp;calculation</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_nc"><strong>get_nc</strong></a>(self)</dt><dd><tt>return&nbsp;the&nbsp;ncfile&nbsp;used&nbsp;for&nbsp;output</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_ncoutput"><strong>get_ncoutput</strong></a>(self)</dt><dd><tt>returns&nbsp;the&nbsp;control&nbsp;variables&nbsp;for&nbsp;the&nbsp;ncfile</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_number_of_bands"><strong>get_number_of_bands</strong></a> = <a href="#Jacapo-get_nbands">get_nbands</a>(self)</dt></dl> +
- +
-<dl><dt><a name="Jacapo-get_number_of_electrons"><strong>get_number_of_electrons</strong></a> = <a href="#Jacapo-get_valence">get_valence</a>(self, atoms<font color="#909090">=None</font>)</dt></dl> +
- +
-<dl><dt><a name="Jacapo-get_number_of_grid_points"><strong>get_number_of_grid_points</strong></a>(self)</dt><dd><tt>return&nbsp;soft&nbsp;fft&nbsp;grid</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_number_of_iterations"><strong>get_number_of_iterations</strong></a>(self)</dt></dl> +
- +
-<dl><dt><a name="Jacapo-get_number_of_spins"><strong>get_number_of_spins</strong></a>(self)</dt><dd><tt>if&nbsp;spin-polarized&nbsp;returns&nbsp;2,&nbsp;if&nbsp;not&nbsp;returns&nbsp;1</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_occ"><strong>get_occ</strong></a> = <a href="#Jacapo-get_occupation_numbers">get_occupation_numbers</a>(self, kpt<font color="#909090">=0</font>, spin<font color="#909090">=0</font>)</dt></dl> +
- +
-<dl><dt><a name="Jacapo-get_occupation_numbers"><strong>get_occupation_numbers</strong></a>(self, kpt<font color="#909090">=0</font>, spin<font color="#909090">=0</font>)</dt><dd><tt>return&nbsp;occupancies&nbsp;of&nbsp;eigenstates&nbsp;for&nbsp;a&nbsp;kpt&nbsp;and&nbsp;spin<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;kpt&nbsp;:&nbsp;integer<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;index&nbsp;of&nbsp;the&nbsp;IBZ&nbsp;kpoint&nbsp;you&nbsp;want&nbsp;the&nbsp;occupation&nbsp;of<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;spin&nbsp;:&nbsp;integer<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;or&nbsp;1</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_occupationstatistics"><strong>get_occupationstatistics</strong></a>(self)</dt><dd><tt>return&nbsp;occupation&nbsp;statistics&nbsp;method</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_potential_energy"><strong>get_potential_energy</strong></a>(self, atoms<font color="#909090">=None</font>, force_consistent<font color="#909090">=False</font>)</dt><dd><tt>return&nbsp;the&nbsp;potential&nbsp;energy.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_pseudo_wave_function"><strong>get_pseudo_wave_function</strong></a>(self, band<font color="#909090">=0</font>, kpt<font color="#909090">=0</font>, spin<font color="#909090">=0</font>, pad<font color="#909090">=True</font>)</dt><dd><tt>return&nbsp;the&nbsp;pseudo&nbsp;wavefunction</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_pseudopotentials"><strong>get_pseudopotentials</strong></a>(self)</dt><dd><tt>get&nbsp;pseudopotentials&nbsp;set&nbsp;for&nbsp;atoms&nbsp;attached&nbsp;to&nbsp;calculator</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_psp"><strong>get_psp</strong></a>(self, sym<font color="#909090">=None</font>, z<font color="#909090">=None</font>)</dt><dd><tt>get&nbsp;the&nbsp;pseudopotential&nbsp;filename&nbsp;from&nbsp;the&nbsp;psp&nbsp;database<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;sym&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;chemical&nbsp;symbol&nbsp;of&nbsp;the&nbsp;species<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;z&nbsp;:&nbsp;integer<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;atomic&nbsp;number&nbsp;of&nbsp;the&nbsp;species<br> +
-&nbsp;<br> +
-&nbsp;<br> +
-you&nbsp;can&nbsp;only&nbsp;specify&nbsp;sym&nbsp;or&nbsp;z.&nbsp;Returns&nbsp;the&nbsp;pseudopotential<br> +
-filename,&nbsp;not&nbsp;the&nbsp;full&nbsp;path.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_psp_nuclear_charge"><strong>get_psp_nuclear_charge</strong></a>(self, psp)</dt><dd><tt>get&nbsp;the&nbsp;nuclear&nbsp;charge&nbsp;of&nbsp;the&nbsp;atom&nbsp;from&nbsp;teh&nbsp;psp-file.<br> +
-&nbsp;<br> +
-This&nbsp;is&nbsp;not&nbsp;the&nbsp;same&nbsp;as&nbsp;the&nbsp;atomic&nbsp;number,&nbsp;nor&nbsp;is&nbsp;it<br> +
-necessarily&nbsp;the&nbsp;negative&nbsp;of&nbsp;the&nbsp;number&nbsp;of&nbsp;valence&nbsp;electrons,<br> +
-since&nbsp;a&nbsp;psp&nbsp;may&nbsp;be&nbsp;an&nbsp;ion.&nbsp;this&nbsp;function&nbsp;is&nbsp;needed&nbsp;to&nbsp;compute<br> +
-centers&nbsp;of&nbsp;ion&nbsp;charge&nbsp;for&nbsp;the&nbsp;dipole&nbsp;moment&nbsp;calculation.<br> +
-&nbsp;<br> +
-We&nbsp;read&nbsp;in&nbsp;the&nbsp;valence&nbsp;ion&nbsp;configuration&nbsp;from&nbsp;the&nbsp;psp&nbsp;file&nbsp;and<br> +
-add&nbsp;up&nbsp;the&nbsp;charges&nbsp;in&nbsp;each&nbsp;shell.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_psp_valence"><strong>get_psp_valence</strong></a>(self, psp)</dt><dd><tt>get&nbsp;the&nbsp;psp&nbsp;valence&nbsp;charge&nbsp;on&nbsp;an&nbsp;atom&nbsp;from&nbsp;the&nbsp;pspfile.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_pw"><strong>get_pw</strong></a>(self)</dt><dd><tt>return&nbsp;the&nbsp;planewave&nbsp;cutoff&nbsp;used</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_reciprocal_bloch_function"><strong>get_reciprocal_bloch_function</strong></a>(self, band<font color="#909090">=0</font>, kpt<font color="#909090">=0</font>, spin<font color="#909090">=0</font>)</dt><dd><tt>return&nbsp;the&nbsp;reciprocal&nbsp;bloch&nbsp;function.&nbsp;Need&nbsp;for&nbsp;<a href="#Jacapo">Jacapo</a><br> +
-Wannier&nbsp;class.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_reciprocal_fft_index"><strong>get_reciprocal_fft_index</strong></a>(self, kpt<font color="#909090">=0</font>)</dt><dd><tt>return&nbsp;the&nbsp;Wave&nbsp;Function&nbsp;FFT&nbsp;Index</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_scratch"><strong>get_scratch</strong></a>(self)</dt><dd><tt>finds&nbsp;an&nbsp;appropriate&nbsp;scratch&nbsp;directory&nbsp;for&nbsp;the&nbsp;calculation</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_spin_polarized"><strong>get_spin_polarized</strong></a>(self)</dt><dd><tt>Return&nbsp;True&nbsp;if&nbsp;calculate&nbsp;is&nbsp;spin-polarized&nbsp;or&nbsp;False&nbsp;if&nbsp;not</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_spinpol"><strong>get_spinpol</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;spin&nbsp;polarization&nbsp;setting,&nbsp;either&nbsp;True&nbsp;or&nbsp;False</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_status"><strong>get_status</strong></a>(self)</dt><dd><tt>get&nbsp;status&nbsp;of&nbsp;calculation&nbsp;from&nbsp;ncfile.&nbsp;usually&nbsp;one&nbsp;of:<br> +
-'new',<br> +
-'aborted'<br> +
-'running'<br> +
-'finished'<br> +
-None</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_stay_alive"><strong>get_stay_alive</strong></a>(self)</dt><dd><tt>return&nbsp;the&nbsp;stay&nbsp;alive&nbsp;settings</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_stress"><strong>get_stress</strong></a>(self, atoms<font color="#909090">=None</font>)</dt><dd><tt>get&nbsp;stress&nbsp;on&nbsp;the&nbsp;atoms.<br> +
-&nbsp;<br> +
-you&nbsp;should&nbsp;have&nbsp;set&nbsp;up&nbsp;the&nbsp;calculation<br> +
-to&nbsp;calculate&nbsp;stress&nbsp;first.<br> +
-&nbsp;<br> +
-returns&nbsp;[sxx,&nbsp;syy,&nbsp;szz,&nbsp;syz,&nbsp;sxz,&nbsp;sxy]</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_symmetry"><strong>get_symmetry</strong></a>(self)</dt><dd><tt>return&nbsp;the&nbsp;type&nbsp;of&nbsp;symmetry&nbsp;used</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_txt"><strong>get_txt</strong></a>(self)</dt><dd><tt>return&nbsp;the&nbsp;txt&nbsp;file&nbsp;used&nbsp;for&nbsp;output</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_ucgrid"><strong>get_ucgrid</strong></a>(self, dims)</dt><dd><tt>Return&nbsp;X,Y,Z&nbsp;grids&nbsp;for&nbsp;uniform&nbsp;sampling&nbsp;of&nbsp;the&nbsp;unit&nbsp;cell<br> +
-&nbsp;<br> +
-dims&nbsp;=&nbsp;(n0,n1,n2)<br> +
-&nbsp;<br> +
-n0&nbsp;points&nbsp;along&nbsp;unitcell&nbsp;vector&nbsp;0<br> +
-n1&nbsp;points&nbsp;along&nbsp;unitcell&nbsp;vector&nbsp;1<br> +
-n2&nbsp;points&nbsp;along&nbsp;unitcell&nbsp;vector&nbsp;2</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_valence"><strong>get_valence</strong></a>(self, atoms<font color="#909090">=None</font>)</dt><dd><tt>return&nbsp;the&nbsp;total&nbsp;number&nbsp;of&nbsp;valence&nbsp;electrons&nbsp;for&nbsp;the<br> +
-atoms.&nbsp;valence&nbsp;electrons&nbsp;are&nbsp;read&nbsp;directly&nbsp;from&nbsp;the<br> +
-pseudopotentials.<br> +
-&nbsp;<br> +
-the&nbsp;psp&nbsp;filenames&nbsp;are&nbsp;stored&nbsp;in&nbsp;the&nbsp;ncfile.&nbsp;They&nbsp;may&nbsp;be&nbsp;just<br> +
-the&nbsp;name&nbsp;of&nbsp;the&nbsp;file,&nbsp;in&nbsp;which&nbsp;case&nbsp;the&nbsp;psp&nbsp;may&nbsp;exist&nbsp;in&nbsp;the<br> +
-same&nbsp;directory&nbsp;as&nbsp;the&nbsp;ncfile,&nbsp;or&nbsp;in&nbsp;$DACAPOPATH,&nbsp;or&nbsp;the&nbsp;psp<br> +
-may&nbsp;be&nbsp;defined&nbsp;by&nbsp;an&nbsp;absolute&nbsp;or&nbsp;relative&nbsp;path.&nbsp;This&nbsp;function<br> +
-deals&nbsp;with&nbsp;all&nbsp;these&nbsp;possibilities.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_wannier_localization_matrix"><strong>get_wannier_localization_matrix</strong></a>(self, nbands, dirG, kpoint, nextkpoint, G_I, spin)</dt><dd><tt>return&nbsp;wannier&nbsp;localization&nbsp;&nbsp;matrix</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_wave_function"><strong>get_wave_function</strong></a>(self, band<font color="#909090">=0</font>, kpt<font color="#909090">=0</font>, spin<font color="#909090">=0</font>)</dt><dd><tt>return&nbsp;the&nbsp;wave&nbsp;function.&nbsp;This&nbsp;is&nbsp;the&nbsp;pseudo&nbsp;wave&nbsp;function<br> +
-divided&nbsp;by&nbsp;volume.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_wf"><strong>get_wf</strong></a> = <a href="#Jacapo-get_wave_function">get_wave_function</a>(self, band<font color="#909090">=0</font>, kpt<font color="#909090">=0</font>, spin<font color="#909090">=0</font>)</dt></dl> +
- +
-<dl><dt><a name="Jacapo-get_xc"><strong>get_xc</strong></a>(self)</dt><dd><tt>return&nbsp;the&nbsp;self-consistent&nbsp;exchange-correlation&nbsp;functional&nbsp;used<br> +
-&nbsp;<br> +
-returns&nbsp;a&nbsp;string</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-get_xc_energies"><strong>get_xc_energies</strong></a>(self, *functional)</dt><dd><tt>Get&nbsp;energies&nbsp;for&nbsp;different&nbsp;functionals&nbsp;self-consistent&nbsp;and<br> +
-non-self-consistent.<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;functional&nbsp;:&nbsp;strings<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;some&nbsp;set&nbsp;of&nbsp;'PZ','VWN','PW91','PBE','revPBE',&nbsp;'RPBE'<br> +
-&nbsp;<br> +
-This&nbsp;function&nbsp;returns&nbsp;the&nbsp;self-consistent&nbsp;energy&nbsp;and/or<br> +
-energies&nbsp;associated&nbsp;with&nbsp;various&nbsp;functionals.<br> +
-The&nbsp;functionals&nbsp;are&nbsp;currently&nbsp;PZ,VWN,PW91,PBE,revPBE,&nbsp;RPBE.<br> +
-The&nbsp;different&nbsp;energies&nbsp;may&nbsp;be&nbsp;useful&nbsp;for&nbsp;calculating&nbsp;improved<br> +
-adsorption&nbsp;energies&nbsp;as&nbsp;in&nbsp;B.&nbsp;Hammer,&nbsp;L.B.&nbsp;Hansen&nbsp;and<br> +
-J.K.&nbsp;Norskov,&nbsp;Phys.&nbsp;Rev.&nbsp;B&nbsp;59,7413.<br> +
-Examples:<br> +
-get_xcenergies()&nbsp;#returns&nbsp;all&nbsp;the&nbsp;energies<br> +
-get_xcenergies('PBE')&nbsp;#&nbsp;returns&nbsp;the&nbsp;PBE&nbsp;total&nbsp;energy<br> +
-get_xcenergies('PW91','PBE','revPBE')&nbsp;#&nbsp;returns&nbsp;a<br> +
-#&nbsp;list&nbsp;of&nbsp;energies&nbsp;in&nbsp;the&nbsp;order&nbsp;asked&nbsp;for</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-initial_wannier"><strong>initial_wannier</strong></a>(self, initialwannier, kpointgrid, fixedstates, edf, spin)</dt><dd><tt>return&nbsp;initial&nbsp;wannier</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-initnc"><strong>initnc</strong></a>(self, ncfile<font color="#909090">=None</font>)</dt><dd><tt>create&nbsp;an&nbsp;ncfile&nbsp;with&nbsp;minimal&nbsp;dimensions&nbsp;in&nbsp;it<br> +
-&nbsp;<br> +
-this&nbsp;makes&nbsp;sure&nbsp;the&nbsp;dimensions&nbsp;needed&nbsp;for&nbsp;other&nbsp;set&nbsp;functions<br> +
-exist&nbsp;when&nbsp;needed.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-read_only_atoms"><strong>read_only_atoms</strong></a>(self, ncfile)</dt><dd><tt>read&nbsp;only&nbsp;the&nbsp;atoms&nbsp;from&nbsp;an&nbsp;existing&nbsp;netcdf&nbsp;file.&nbsp;Used&nbsp;to<br> +
-initialize&nbsp;a&nbsp;calculator&nbsp;from&nbsp;a&nbsp;ncfilename.<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;ncfile&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;name&nbsp;of&nbsp;file&nbsp;to&nbsp;read&nbsp;from.<br> +
-&nbsp;<br> +
-return&nbsp;ASE.Atoms&nbsp;with&nbsp;no&nbsp;calculator&nbsp;attached&nbsp;or&nbsp;None&nbsp;if&nbsp;no<br> +
-atoms&nbsp;found</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-restart"><strong>restart</strong></a>(self)</dt><dd><tt>Restart&nbsp;the&nbsp;calculator&nbsp;by&nbsp;deleting&nbsp;nc&nbsp;dimensions&nbsp;that&nbsp;will<br> +
-be&nbsp;rewritten&nbsp;on&nbsp;the&nbsp;next&nbsp;calculation.&nbsp;This&nbsp;is&nbsp;sometimes&nbsp;required<br> +
-when&nbsp;certain&nbsp;dimensions&nbsp;change&nbsp;related&nbsp;to&nbsp;unitcell&nbsp;size&nbsp;changes<br> +
-planewave/densitywave&nbsp;cutoffs&nbsp;and&nbsp;kpt&nbsp;changes.&nbsp;These&nbsp;can&nbsp;cause<br> +
-fortran&nbsp;netcdf&nbsp;errors&nbsp;if&nbsp;the&nbsp;data&nbsp;does&nbsp;not&nbsp;match&nbsp;the&nbsp;pre-defined<br> +
-dimension&nbsp;sizes.<br> +
-&nbsp;<br> +
-also&nbsp;delete&nbsp;all&nbsp;the&nbsp;output&nbsp;from&nbsp;previous&nbsp;calculation.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set"><strong>set</strong></a>(self, **kwargs)</dt><dd><tt>set&nbsp;a&nbsp;parameter<br> +
-&nbsp;<br> +
-parameter&nbsp;is&nbsp;stored&nbsp;in&nbsp;dictionary&nbsp;that&nbsp;is&nbsp;processed&nbsp;later&nbsp;if&nbsp;a<br> +
-calculation&nbsp;is&nbsp;need.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_ados"><strong>set_ados</strong></a>(self, energywindow<font color="#909090">=(-15, 5)</font>, energywidth<font color="#909090">=0.2</font>, npoints<font color="#909090">=250</font>, cutoff<font color="#909090">=1.0</font>)</dt><dd><tt>setup&nbsp;calculation&nbsp;of&nbsp;atom-projected&nbsp;density&nbsp;of&nbsp;states<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;energywindow&nbsp;:&nbsp;(float,&nbsp;float)<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;sets&nbsp;(emin,emax)&nbsp;in&nbsp;eV&nbsp;referenced&nbsp;to&nbsp;the&nbsp;Fermi&nbsp;level<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;energywidth&nbsp;:&nbsp;float<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;gaussian&nbsp;used&nbsp;in&nbsp;smearing<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;npoints&nbsp;:&nbsp;integer<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;number&nbsp;of&nbsp;points&nbsp;to&nbsp;sample&nbsp;the&nbsp;DOS&nbsp;at<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;cutoff&nbsp;:&nbsp;float<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;cutoff&nbsp;radius&nbsp;in&nbsp;angstroms&nbsp;for&nbsp;the&nbsp;integration.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_ascii_debug"><strong>set_ascii_debug</strong></a>(self, level)</dt><dd><tt>set&nbsp;the&nbsp;debug&nbsp;level&nbsp;for&nbsp;Dacapo<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;level&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;one&nbsp;of&nbsp;'Off',&nbsp;'MediumLevel',&nbsp;'HighLevel'</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_atoms"><strong>set_atoms</strong></a>(self, atoms)</dt><dd><tt>attach&nbsp;an&nbsp;atoms&nbsp;to&nbsp;the&nbsp;calculator&nbsp;and&nbsp;update&nbsp;the&nbsp;ncfile<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;atoms<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;ASE.Atoms&nbsp;instance</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_calculate_stress"><strong>set_calculate_stress</strong></a>(self, stress<font color="#909090">=True</font>)</dt><dd><tt>Turn&nbsp;on&nbsp;stress&nbsp;calculation<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;stress&nbsp;:&nbsp;boolean<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;<a href="#Jacapo-set_calculate_stress">set_calculate_stress</a>(True)&nbsp;calculates&nbsp;stress<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;<a href="#Jacapo-set_calculate_stress">set_calculate_stress</a>(False)&nbsp;do&nbsp;not&nbsp;calculate&nbsp;stress</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_charge_mixing"><strong>set_charge_mixing</strong></a>(self, method<font color="#909090">='Pulay'</font>, mixinghistory<font color="#909090">=10</font>, mixingcoeff<font color="#909090">=0.1</font>, precondition<font color="#909090">='No'</font>, updatecharge<font color="#909090">='Yes'</font>)</dt><dd><tt>set&nbsp;density&nbsp;mixing&nbsp;method&nbsp;and&nbsp;parameters<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;method&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;'Pulay'&nbsp;for&nbsp;Pulay&nbsp;mixing.&nbsp;only&nbsp;one&nbsp;supported&nbsp;now<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;mixinghistory&nbsp;:&nbsp;integer<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;number&nbsp;of&nbsp;iterations&nbsp;to&nbsp;mix<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;Number&nbsp;of&nbsp;charge&nbsp;residual&nbsp;vectors&nbsp;stored&nbsp;for&nbsp;generating<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;Pulay&nbsp;estimate&nbsp;on&nbsp;the&nbsp;self-consistent&nbsp;charge&nbsp;density,<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;see&nbsp;Sec.&nbsp;4.2&nbsp;in&nbsp;Kresse/Furthmuller:<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;Comp.&nbsp;Mat.&nbsp;Sci.&nbsp;6&nbsp;(1996)&nbsp;p34ff<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;mixingcoeff&nbsp;:&nbsp;float<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;Mixing&nbsp;coefficient&nbsp;for&nbsp;Pulay&nbsp;charge&nbsp;mixing,&nbsp;corresponding<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;to&nbsp;A&nbsp;in&nbsp;G$^1$&nbsp;in&nbsp;Sec.&nbsp;4.2&nbsp;in&nbsp;Kresse/Furthmuller:<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;Comp.&nbsp;Mat.&nbsp;Sci.&nbsp;6&nbsp;(1996)&nbsp;p34ff<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;precondition&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;'Yes'&nbsp;or&nbsp;'No'<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;"Yes"&nbsp;:&nbsp;Kerker&nbsp;preconditiong&nbsp;is&nbsp;used,<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i.e.&nbsp;q$_0$&nbsp;is&nbsp;different&nbsp;from&nbsp;zero,&nbsp;see&nbsp;eq.&nbsp;82<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;Kresse/Furthmuller:&nbsp;Comp.&nbsp;Mat.&nbsp;Sci.&nbsp;6&nbsp;(1996).<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;value&nbsp;of&nbsp;q$_0$&nbsp;is&nbsp;fix&nbsp;to&nbsp;give&nbsp;a&nbsp;damping&nbsp;of&nbsp;20<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;of&nbsp;the&nbsp;lowest&nbsp;q&nbsp;vector.<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;"No"&nbsp;:&nbsp;q$_0$&nbsp;is&nbsp;zero&nbsp;and&nbsp;mixing&nbsp;is&nbsp;linear&nbsp;(default).<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;updatecharge&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;'Yes'&nbsp;or&nbsp;'No'<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;"Yes"&nbsp;:&nbsp;Perform&nbsp;charge&nbsp;mixing&nbsp;according&nbsp;to<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ChargeMixing:Method&nbsp;setting<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;"No"&nbsp;:&nbsp;Freeze&nbsp;charge&nbsp;to&nbsp;initial&nbsp;value.<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This&nbsp;setting&nbsp;is&nbsp;useful&nbsp;when&nbsp;evaluating&nbsp;the&nbsp;Harris-Foulkes<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;density&nbsp;functional</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_convergence"><strong>set_convergence</strong></a>(self, energy<font color="#909090">=1e-05</font>, density<font color="#909090">=0.0001</font>, occupation<font color="#909090">=0.001</font>, maxsteps<font color="#909090">=None</font>, maxtime<font color="#909090">=None</font>)</dt><dd><tt>set&nbsp;convergence&nbsp;criteria&nbsp;for&nbsp;stopping&nbsp;the&nbsp;dacapo&nbsp;calculator.<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;energy&nbsp;:&nbsp;float<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;set&nbsp;total&nbsp;energy&nbsp;change&nbsp;(eV)&nbsp;required&nbsp;for&nbsp;stopping<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;density&nbsp;:&nbsp;float<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;set&nbsp;density&nbsp;change&nbsp;required&nbsp;for&nbsp;stopping<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;occupation&nbsp;:&nbsp;float<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;set&nbsp;occupation&nbsp;change&nbsp;required&nbsp;for&nbsp;stopping<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;maxsteps&nbsp;:&nbsp;integer<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;specify&nbsp;maximum&nbsp;number&nbsp;of&nbsp;steps&nbsp;to&nbsp;take<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;maxtime&nbsp;:&nbsp;integer<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;specify&nbsp;maximum&nbsp;number&nbsp;of&nbsp;hours&nbsp;to&nbsp;run.<br> +
-&nbsp;<br> +
-Autopilot&nbsp;not&nbsp;supported&nbsp;here.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_debug"><strong>set_debug</strong></a>(self, debug)</dt><dd><tt>set&nbsp;debug&nbsp;level&nbsp;for&nbsp;python&nbsp;logging<br> +
-&nbsp;<br> +
-debug&nbsp;should&nbsp;be&nbsp;an&nbsp;integer&nbsp;from&nbsp;0-100&nbsp;or&nbsp;one&nbsp;of&nbsp;the&nbsp;logging<br> +
-constants&nbsp;like&nbsp;logging.DEBUG,&nbsp;logging.WARN,&nbsp;etc...</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_decoupling"><strong>set_decoupling</strong></a>(self, ngaussians<font color="#909090">=3</font>, ecutoff<font color="#909090">=100</font>, gausswidth<font color="#909090">=0.35</font>)</dt><dd><tt>Decoupling&nbsp;activates&nbsp;the&nbsp;three&nbsp;dimensional&nbsp;electrostatic<br> +
-decoupling.&nbsp;Based&nbsp;on&nbsp;paper&nbsp;by&nbsp;Peter&nbsp;E.&nbsp;Bloechl:&nbsp;JCP&nbsp;103<br> +
-page7422&nbsp;(1995).<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;ngaussians&nbsp;:&nbsp;int<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;number&nbsp;of&nbsp;gaussian&nbsp;functions&nbsp;per&nbsp;atom<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;used&nbsp;for&nbsp;constructing&nbsp;the&nbsp;model&nbsp;charge&nbsp;of&nbsp;the&nbsp;system<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;ecutoff&nbsp;:&nbsp;int<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;cut&nbsp;off&nbsp;energy&nbsp;(eV)&nbsp;of&nbsp;system&nbsp;charge&nbsp;density&nbsp;in<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;g-space&nbsp;used&nbsp;when&nbsp;mapping&nbsp;constructing&nbsp;the&nbsp;model&nbsp;change&nbsp;of<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;system,&nbsp;i.e.&nbsp;only&nbsp;charge&nbsp;density&nbsp;components&nbsp;below<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;ECutoff&nbsp;enters&nbsp;when&nbsp;constructing&nbsp;the&nbsp;model&nbsp;change.<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;gausswidth&nbsp;:&nbsp;float<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;width&nbsp;of&nbsp;the&nbsp;Gaussians&nbsp;defined&nbsp;by<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;$widthofgaussian*1.5^(n-1)$&nbsp;&nbsp;$n$=(1&nbsp;to&nbsp;numberofgaussians)</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_dipole"><strong>set_dipole</strong></a>(self, status<font color="#909090">=True</font>, mixpar<font color="#909090">=0.2</font>, initval<font color="#909090">=0.0</font>, adddipfield<font color="#909090">=0.0</font>, position<font color="#909090">=None</font>)</dt><dd><tt>turn&nbsp;on&nbsp;and&nbsp;set&nbsp;dipole&nbsp;correction&nbsp;scheme<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;status&nbsp;:&nbsp;Boolean<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;True&nbsp;turns&nbsp;dipole&nbsp;on.&nbsp;False&nbsp;turns&nbsp;Dipole&nbsp;off<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;mixpar&nbsp;:&nbsp;float<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;Mixing&nbsp;Parameter&nbsp;for&nbsp;the&nbsp;the&nbsp;dipole&nbsp;correction&nbsp;field<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;during&nbsp;the&nbsp;electronic&nbsp;minimization&nbsp;process.&nbsp;If&nbsp;instabilities<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;occur&nbsp;during&nbsp;electronic&nbsp;minimization,&nbsp;this&nbsp;value&nbsp;may&nbsp;be<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;decreased.<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;initval&nbsp;:&nbsp;float<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;initial&nbsp;value&nbsp;to&nbsp;start&nbsp;at<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;adddipfield&nbsp;:&nbsp;float<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;additional&nbsp;dipole&nbsp;field&nbsp;to&nbsp;add<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;units&nbsp;:&nbsp;V/ang<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;External&nbsp;additive,&nbsp;constant&nbsp;electrostatic&nbsp;field&nbsp;along<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;third&nbsp;unit&nbsp;cell&nbsp;vector,&nbsp;corresponding&nbsp;to&nbsp;an&nbsp;external<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;dipole&nbsp;layer.&nbsp;The&nbsp;field&nbsp;discontinuity&nbsp;follows&nbsp;the&nbsp;position<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;of&nbsp;the&nbsp;dynamical&nbsp;dipole&nbsp;correction,&nbsp;i.e.&nbsp;if<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;DipoleCorrection:DipoleLayerPosition&nbsp;is&nbsp;set,&nbsp;the&nbsp;field<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;discontinuity&nbsp;is&nbsp;at&nbsp;this&nbsp;value,&nbsp;otherwise&nbsp;it&nbsp;is&nbsp;at&nbsp;the<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;vacuum&nbsp;position&nbsp;farthest&nbsp;from&nbsp;any&nbsp;other&nbsp;atoms&nbsp;on&nbsp;both<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;sides&nbsp;of&nbsp;the&nbsp;slab.<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;position&nbsp;:&nbsp;float<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;scaled&nbsp;coordinates&nbsp;along&nbsp;third&nbsp;unit&nbsp;cell&nbsp;direction.<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;If&nbsp;this&nbsp;attribute&nbsp;is&nbsp;set,&nbsp;DACAPO&nbsp;will&nbsp;position&nbsp;the<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;compensation&nbsp;dipole&nbsp;layer&nbsp;plane&nbsp;in&nbsp;at&nbsp;the&nbsp;provided&nbsp;value.<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;If&nbsp;this&nbsp;attribute&nbsp;is&nbsp;not&nbsp;set,&nbsp;DACAPO&nbsp;will&nbsp;put&nbsp;the&nbsp;compensation<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;dipole&nbsp;layer&nbsp;plane&nbsp;in&nbsp;the&nbsp;vacuum&nbsp;position&nbsp;farthest&nbsp;from&nbsp;any<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;other&nbsp;atoms&nbsp;on&nbsp;both&nbsp;sides&nbsp;of&nbsp;the&nbsp;slab.&nbsp;Do&nbsp;not&nbsp;set&nbsp;this&nbsp;to<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;0.0<br> +
-&nbsp;<br> +
-&nbsp;<br> +
-calling&nbsp;<a href="#Jacapo-set_dipole">set_dipole</a>()&nbsp;sets&nbsp;all&nbsp;default&nbsp;values.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_dw"><strong>set_dw</strong></a>(self, dw)</dt><dd><tt>set&nbsp;the&nbsp;density&nbsp;wave&nbsp;cutoff&nbsp;energy.<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;dw&nbsp;:&nbsp;integer<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;density&nbsp;wave&nbsp;cutoff<br> +
-&nbsp;<br> +
-The&nbsp;function&nbsp;checks&nbsp;to&nbsp;make&nbsp;sure&nbsp;it&nbsp;is&nbsp;not&nbsp;less&nbsp;than&nbsp;the<br> +
-planewave&nbsp;cutoff.<br> +
-&nbsp;<br> +
-Density_WaveCutoff&nbsp;describes&nbsp;the&nbsp;kinetic&nbsp;energy&nbsp;neccesary&nbsp;to<br> +
-represent&nbsp;a&nbsp;wavefunction&nbsp;associated&nbsp;with&nbsp;the&nbsp;total&nbsp;density,<br> +
-i.e.&nbsp;G-vectors&nbsp;for&nbsp;which&nbsp;$ ert&nbsp;G ert^2$&nbsp;$&lt;$<br> +
-4*Density_WaveCutoff&nbsp;will&nbsp;be&nbsp;used&nbsp;to&nbsp;describe&nbsp;the&nbsp;total<br> +
-density&nbsp;(including&nbsp;augmentation&nbsp;charge&nbsp;and&nbsp;partial&nbsp;core<br> +
-density).&nbsp;If&nbsp;Density_WaveCutoff&nbsp;is&nbsp;equal&nbsp;to&nbsp;PlaneWaveCutoff<br> +
-this&nbsp;implies&nbsp;that&nbsp;the&nbsp;total&nbsp;density&nbsp;is&nbsp;as&nbsp;soft&nbsp;as&nbsp;the<br> +
-wavefunctions&nbsp;described&nbsp;by&nbsp;the&nbsp;kinetic&nbsp;energy&nbsp;cutoff<br> +
-PlaneWaveCutoff.&nbsp;If&nbsp;a&nbsp;value&nbsp;of&nbsp;Density_WaveCutoff&nbsp;is&nbsp;specified<br> +
-(must&nbsp;be&nbsp;larger&nbsp;than&nbsp;or&nbsp;equal&nbsp;to&nbsp;PlaneWaveCutoff)&nbsp;the&nbsp;program<br> +
-will&nbsp;run&nbsp;using&nbsp;two&nbsp;grids,&nbsp;one&nbsp;for&nbsp;representing&nbsp;the<br> +
-wavefunction&nbsp;density&nbsp;(softgrid_dim)&nbsp;and&nbsp;one&nbsp;representing&nbsp;the<br> +
-total&nbsp;density&nbsp;(hardgrid_dim).&nbsp;If&nbsp;the&nbsp;density&nbsp;can&nbsp;be<br> +
-reprensented&nbsp;on&nbsp;the&nbsp;same&nbsp;grid&nbsp;as&nbsp;the&nbsp;wavefunction&nbsp;density<br> +
-Density_WaveCutoff&nbsp;can&nbsp;be&nbsp;chosen&nbsp;equal&nbsp;to&nbsp;PlaneWaveCutoff<br> +
-(default).</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_electronic_minimization"><strong>set_electronic_minimization</strong></a>(self, method<font color="#909090">='eigsolve'</font>, diagsperband<font color="#909090">=2</font>)</dt><dd><tt>set&nbsp;the&nbsp;eigensolver&nbsp;method<br> +
-&nbsp;<br> +
-Selector&nbsp;for&nbsp;which&nbsp;subroutine&nbsp;to&nbsp;use&nbsp;for&nbsp;electronic<br> +
-minimization<br> +
-&nbsp;<br> +
-Recognized&nbsp;options&nbsp;:&nbsp;"resmin",&nbsp;"eigsolve"&nbsp;and&nbsp;"rmm-diis".<br> +
-&nbsp;<br> +
-*&nbsp;"resmin"&nbsp;:&nbsp;Power&nbsp;method&nbsp;(Lennart&nbsp;Bengtson),&nbsp;can&nbsp;only&nbsp;handle<br> +
-&nbsp;&nbsp;&nbsp;k-point&nbsp;parallization.<br> +
-&nbsp;<br> +
-*&nbsp;"eigsolve&nbsp;:&nbsp;Block&nbsp;Davidson&nbsp;algorithm<br> +
-&nbsp;&nbsp;&nbsp;(Claus&nbsp;Bendtsen&nbsp;et&nbsp;al).<br> +
-&nbsp;<br> +
-*&nbsp;"rmm-diis&nbsp;:&nbsp;Residual&nbsp;minimization<br> +
-&nbsp;&nbsp;&nbsp;method&nbsp;(RMM),&nbsp;using&nbsp;DIIS&nbsp;(direct&nbsp;inversion&nbsp;in&nbsp;the&nbsp;iterate<br> +
-&nbsp;&nbsp;&nbsp;subspace)&nbsp;The&nbsp;implementaion&nbsp;follows&nbsp;closely&nbsp;the&nbsp;algorithm<br> +
-&nbsp;&nbsp;&nbsp;outlined&nbsp;in&nbsp;Kresse&nbsp;and&nbsp;Furthmuller,&nbsp;Comp.&nbsp;Mat.&nbsp;Sci,&nbsp;III.G/III.H<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;method&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;should&nbsp;be&nbsp;'resmin',&nbsp;'eigsolve'&nbsp;or&nbsp;'rmm-diis'<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;diagsperband&nbsp;:&nbsp;int<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;number&nbsp;of&nbsp;diagonalizations&nbsp;per&nbsp;band&nbsp;for<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;electronic&nbsp;minimization&nbsp;algorithms&nbsp;(maps&nbsp;onto&nbsp;internal<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;variable&nbsp;ndiapb).&nbsp;Applies&nbsp;for&nbsp;both<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;ElectronicMinimization:Method&nbsp;=&nbsp;"resmin"&nbsp;and&nbsp;"eigsolve".<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;default&nbsp;value&nbsp;=&nbsp;2</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_external_dipole"><strong>set_external_dipole</strong></a>(self, value, position<font color="#909090">=None</font>)</dt><dd><tt>Externally&nbsp;imposed&nbsp;dipole&nbsp;potential.&nbsp;This&nbsp;option&nbsp;overwrites<br> +
-DipoleCorrection&nbsp;if&nbsp;set.<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;value&nbsp;:&nbsp;float<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;units&nbsp;of&nbsp;volts<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;position&nbsp;:&nbsp;float<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;scaled&nbsp;coordinates&nbsp;along&nbsp;third&nbsp;unit&nbsp;cell&nbsp;direction.<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;None,&nbsp;the&nbsp;compensation&nbsp;dipole&nbsp;layer&nbsp;plane&nbsp;in&nbsp;the<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;vacuum&nbsp;position&nbsp;farthest&nbsp;from&nbsp;any&nbsp;other&nbsp;atoms&nbsp;on&nbsp;both<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;sides&nbsp;of&nbsp;the&nbsp;slab.&nbsp;Do&nbsp;not&nbsp;set&nbsp;to&nbsp;0.0.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_extpot"><strong>set_extpot</strong></a>(self, potgrid)</dt><dd><tt>add&nbsp;external&nbsp;potential&nbsp;of&nbsp;value<br> +
-&nbsp;<br> +
-see&nbsp;this&nbsp;link&nbsp;before&nbsp;using&nbsp;this<br> +
-https://listserv.fysik.dtu.dk/pipermail/campos/2003-August/000657.html<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;potgrid&nbsp;:&nbsp;np.array&nbsp;with&nbsp;shape&nbsp;(nx,ny,nz)<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;shape&nbsp;must&nbsp;be&nbsp;the&nbsp;same&nbsp;as&nbsp;the&nbsp;fft&nbsp;soft&nbsp;grid<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;value&nbsp;of&nbsp;the&nbsp;potential&nbsp;to&nbsp;add<br> +
-&nbsp;<br> +
-&nbsp;<br> +
-you&nbsp;have&nbsp;to&nbsp;know&nbsp;both&nbsp;of&nbsp;the&nbsp;fft&nbsp;grid&nbsp;dimensions&nbsp;ahead&nbsp;of&nbsp;time!<br> +
-if&nbsp;you&nbsp;know&nbsp;what&nbsp;you&nbsp;are&nbsp;doing,&nbsp;you&nbsp;can&nbsp;set&nbsp;the&nbsp;fft_grid&nbsp;you&nbsp;want<br> +
-before&nbsp;hand&nbsp;with:<br> +
-calc.<a href="#Jacapo-set_fftgrid">set_fftgrid</a>((n1,n2,n3))</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_extracharge"><strong>set_extracharge</strong></a>(self, val)</dt><dd><tt>add&nbsp;extra&nbsp;charge&nbsp;to&nbsp;unit&nbsp;cell<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;val&nbsp;:&nbsp;float<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;extra&nbsp;electrons&nbsp;to&nbsp;add&nbsp;or&nbsp;subtract&nbsp;from&nbsp;the&nbsp;unit&nbsp;cell<br> +
-&nbsp;<br> +
-Fixed&nbsp;extra&nbsp;charge&nbsp;in&nbsp;the&nbsp;unit&nbsp;cell&nbsp;(i.e.&nbsp;deviation&nbsp;from<br> +
-charge&nbsp;neutrality).&nbsp;This&nbsp;assumes&nbsp;a&nbsp;compensating,&nbsp;positive<br> +
-constant&nbsp;backgound&nbsp;charge&nbsp;(jellium)&nbsp;to&nbsp;forge&nbsp;overall&nbsp;charge<br> +
-neutrality.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_fftgrid"><strong>set_fftgrid</strong></a>(self, soft<font color="#909090">=None</font>, hard<font color="#909090">=None</font>)</dt><dd><tt>sets&nbsp;the&nbsp;dimensions&nbsp;of&nbsp;the&nbsp;FFT&nbsp;grid&nbsp;to&nbsp;be&nbsp;used<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;soft&nbsp;:&nbsp;(n1,n2,n3)&nbsp;integers<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;make&nbsp;a&nbsp;n1&nbsp;x&nbsp;n2&nbsp;x&nbsp;n3&nbsp;grid<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;hard&nbsp;:&nbsp;(n1,n2,n3)&nbsp;integers<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;make&nbsp;a&nbsp;n1&nbsp;x&nbsp;n2&nbsp;x&nbsp;n3&nbsp;grid<br> +
-&nbsp;<br> +
-&nbsp;<br> +
-&gt;&gt;&gt;&nbsp;calc.<a href="#Jacapo-set_fftgrid">set_fftgrid</a>(soft=[42,44,46])<br> +
-sets&nbsp;the&nbsp;soft&nbsp;and&nbsp;hard&nbsp;grid&nbsp;dimensions&nbsp;to&nbsp;42,44,46<br> +
-&nbsp;<br> +
-&gt;&gt;&gt;&nbsp;calc.<a href="#Jacapo-set_fftgrid">set_fftgrid</a>(soft=[42,44,46],hard=[80,84,88])<br> +
-sets&nbsp;the&nbsp;soft&nbsp;grid&nbsp;dimensions&nbsp;to&nbsp;42,44,46&nbsp;and&nbsp;the&nbsp;hard<br> +
-grid&nbsp;dimensions&nbsp;to&nbsp;80,84,88<br> +
-&nbsp;<br> +
-These&nbsp;are&nbsp;the&nbsp;fast&nbsp;FFt&nbsp;grid&nbsp;numbers&nbsp;listed&nbsp;in&nbsp;fftdimensions.F<br> +
-&nbsp;<br> +
-data&nbsp;list_of_fft&nbsp;/2,&nbsp;&nbsp;4,&nbsp;&nbsp;6,&nbsp;&nbsp;8,&nbsp;10,&nbsp;12,&nbsp;14,&nbsp;16,&nbsp;18,&nbsp;20,&nbsp;&amp;<br> +
-22,24,&nbsp;28,&nbsp;30,32,&nbsp;36,&nbsp;40,&nbsp;42,&nbsp;44,&nbsp;48,&nbsp;&amp;<br> +
-56,60,&nbsp;64,&nbsp;66,&nbsp;70,&nbsp;72,&nbsp;80,&nbsp;84,&nbsp;88,&nbsp;90,&nbsp;&amp;<br> +
-96,108,110,112,120,126,128,132,140,144,154,&nbsp;&amp;<br> +
-160,168,176,180,192,198,200,&nbsp;&amp;<br> +
-216,240,264,270,280,288,324,352,360,378,384,400,432,&nbsp;&amp;<br> +
-450,480,540,576,640/<br> +
-&nbsp;<br> +
-otherwise&nbsp;you&nbsp;will&nbsp;get&nbsp;some&nbsp;errors&nbsp;from&nbsp;mis-dimensioned&nbsp;variables.<br> +
-&nbsp;<br> +
-this&nbsp;is&nbsp;usually&nbsp;automatically&nbsp;set&nbsp;by&nbsp;Dacapo.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_fixmagmom"><strong>set_fixmagmom</strong></a>(self, fixmagmom<font color="#909090">=None</font>)</dt><dd><tt>set&nbsp;a&nbsp;fixed&nbsp;magnetic&nbsp;moment&nbsp;for&nbsp;a&nbsp;spin&nbsp;polarized&nbsp;calculation<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;fixmagmom&nbsp;:&nbsp;float<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;magnetic&nbsp;moment&nbsp;of&nbsp;the&nbsp;cell&nbsp;in&nbsp;Bohr&nbsp;magnetons</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_ft"><strong>set_ft</strong></a>(self, ft)</dt><dd><tt>set&nbsp;the&nbsp;Fermi&nbsp;temperature&nbsp;for&nbsp;occupation&nbsp;smearing<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;ft&nbsp;:&nbsp;float<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;Fermi&nbsp;temperature&nbsp;in&nbsp;kT&nbsp;(eV)<br> +
-&nbsp;<br> +
-Electronic&nbsp;temperature,&nbsp;corresponding&nbsp;to&nbsp;gaussian&nbsp;occupation<br> +
-statistics.&nbsp;Device&nbsp;used&nbsp;to&nbsp;stabilize&nbsp;the&nbsp;convergence&nbsp;towards<br> +
-the&nbsp;electronic&nbsp;ground&nbsp;state.&nbsp;Higher&nbsp;values&nbsp;stabilizes&nbsp;the<br> +
-convergence.&nbsp;Values&nbsp;in&nbsp;the&nbsp;range&nbsp;0.1-1.0&nbsp;eV&nbsp;are&nbsp;recommended,<br> +
-depending&nbsp;on&nbsp;the&nbsp;complexity&nbsp;of&nbsp;the&nbsp;Fermi&nbsp;surface&nbsp;(low&nbsp;values<br> +
-for&nbsp;d-metals&nbsp;and&nbsp;narrow&nbsp;gap&nbsp;semiconducters,&nbsp;higher&nbsp;for&nbsp;free<br> +
-electron-like&nbsp;metals).</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_kpts"><strong>set_kpts</strong></a>(self, kpts)</dt><dd><tt>set&nbsp;the&nbsp;kpt&nbsp;grid.<br> +
-&nbsp;<br> +
-Parameters:<br> +
-&nbsp;<br> +
-kpts:&nbsp;(n1,n2,n3)&nbsp;or&nbsp;[k1,k2,k3,...]&nbsp;or&nbsp;one&nbsp;of&nbsp;these<br> +
-chadi-cohen&nbsp;sets:<br> +
-&nbsp;<br> +
-*&nbsp;cc6_1x1<br> +
-*&nbsp;cc12_2x3<br> +
-*&nbsp;cc18_sq3xsq3<br> +
-*&nbsp;cc18_1x1<br> +
-*&nbsp;cc54_sq3xsq3<br> +
-*&nbsp;cc54_1x1<br> +
-*&nbsp;cc162_sq3xsq3<br> +
-*&nbsp;cc162_1x1<br> +
-&nbsp;<br> +
-(n1,n2,n3)&nbsp;creates&nbsp;an&nbsp;n1&nbsp;x&nbsp;n2&nbsp;x&nbsp;n3&nbsp;monkhorst-pack&nbsp;grid,<br> +
-[k1,k2,k3,...]&nbsp;creates&nbsp;a&nbsp;kpt-grid&nbsp;based&nbsp;on&nbsp;the&nbsp;kpoints<br> +
-defined&nbsp;in&nbsp;k1,k2,k3,...<br> +
-&nbsp;<br> +
-There&nbsp;is&nbsp;also&nbsp;a&nbsp;possibility&nbsp;to&nbsp;have&nbsp;Dacapo&nbsp;(fortran)&nbsp;create<br> +
-the&nbsp;Kpoints&nbsp;in&nbsp;chadi-cohen&nbsp;or&nbsp;monkhorst-pack&nbsp;form.&nbsp;To&nbsp;do&nbsp;this<br> +
-you&nbsp;need&nbsp;to&nbsp;set&nbsp;the&nbsp;KpointSetup.gridtype&nbsp;attribute,&nbsp;and<br> +
-KpointSetup.<br> +
-&nbsp;<br> +
-KpointSetup&nbsp;=&nbsp;[3,0,0]<br> +
-KpointSetup.gridtype&nbsp;=&nbsp;'ChadiCohen'<br> +
-&nbsp;<br> +
-KpointSetup(1)&nbsp;&nbsp;Chadi-Cohen&nbsp;k-point&nbsp;set<br> +
-1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;6&nbsp;k-points&nbsp;1x1<br> +
-2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;18-kpoints&nbsp;sqrt(3)*sqrt(3)<br> +
-3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;18-kpoints&nbsp;1x1<br> +
-4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;54-kpoints&nbsp;sqrt(3)*sqrt(3)<br> +
-5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;54-kpoints&nbsp;1x1<br> +
-6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;162-kpoints&nbsp;1x1<br> +
-7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;12-kpoints&nbsp;2x3<br> +
-8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;162-kpoints&nbsp;3xsqrt&nbsp;3<br> +
-&nbsp;<br> +
-or<br> +
-KpointSetup&nbsp;=&nbsp;[4,4,4]<br> +
-KpointSetup.gridtype&nbsp;=&nbsp;'MonkhorstPack'<br> +
-we&nbsp;do&nbsp;not&nbsp;use&nbsp;this&nbsp;functionality.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_mdos"><strong>set_mdos</strong></a>(self, mcenters<font color="#909090">=None</font>, energywindow<font color="#909090">=(-15, 5)</font>, energywidth<font color="#909090">=0.2</font>, numberenergypoints<font color="#909090">=250</font>, cutoffradius<font color="#909090">=1.0</font>)</dt><dd><tt>Setup&nbsp;multicentered&nbsp;projected&nbsp;DOS.<br> +
-&nbsp;<br> +
-mcenters<br> +
-&nbsp;&nbsp;&nbsp;a&nbsp;list&nbsp;of&nbsp;tuples&nbsp;containing&nbsp;(atom#,l,m,weight)<br> +
-&nbsp;&nbsp;&nbsp;(0,0,0,1.0)&nbsp;specifies&nbsp;(atom&nbsp;0,&nbsp;l=0,&nbsp;m=0,&nbsp;weight=1.0)&nbsp;an&nbsp;s&nbsp;orbital<br> +
-&nbsp;&nbsp;&nbsp;on&nbsp;atom&nbsp;0<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;&nbsp;(1,1,1,1.0)&nbsp;specifies&nbsp;(atom&nbsp;1,&nbsp;l=1,&nbsp;m=1,&nbsp;weight=1.0)&nbsp;a&nbsp;p&nbsp;orbital<br> +
-&nbsp;&nbsp;&nbsp;with&nbsp;m&nbsp;=&nbsp;+1&nbsp;on&nbsp;atom&nbsp;0<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;&nbsp;l=0&nbsp;s-orbital<br> +
-&nbsp;&nbsp;&nbsp;l=1&nbsp;p-orbital<br> +
-&nbsp;&nbsp;&nbsp;l=2&nbsp;d-orbital<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;&nbsp;m&nbsp;in&nbsp;range&nbsp;of&nbsp;(&nbsp;-l&nbsp;...&nbsp;0&nbsp;...&nbsp;+l&nbsp;)<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;&nbsp;The&nbsp;direction&nbsp;cosines&nbsp;for&nbsp;which&nbsp;the&nbsp;spherical&nbsp;harmonics&nbsp;are<br> +
-&nbsp;&nbsp;&nbsp;set&nbsp;up&nbsp;are&nbsp;using&nbsp;the&nbsp;next&nbsp;different&nbsp;atom&nbsp;in&nbsp;the&nbsp;list<br> +
-&nbsp;&nbsp;&nbsp;(cyclic)&nbsp;as&nbsp;direction&nbsp;pointer,&nbsp;so&nbsp;the&nbsp;z-direction&nbsp;is&nbsp;chosen<br> +
-&nbsp;&nbsp;&nbsp;along&nbsp;the&nbsp;direction&nbsp;to&nbsp;this&nbsp;next&nbsp;atom.&nbsp;At&nbsp;the&nbsp;moment&nbsp;the<br> +
-&nbsp;&nbsp;&nbsp;rotation&nbsp;matrices&nbsp;is&nbsp;only&nbsp;given&nbsp;in&nbsp;the&nbsp;text&nbsp;file,&nbsp;you&nbsp;can<br> +
-&nbsp;&nbsp;&nbsp;use&nbsp;grep'MUL:&nbsp;Rmatrix'&nbsp;out_o2.txt&nbsp;to&nbsp;get&nbsp;this&nbsp;information.<br> +
-&nbsp;<br> +
-adapated&nbsp;from&nbsp;old&nbsp;MultiCenterProjectedDOS.py</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_nbands"><strong>set_nbands</strong></a>(self, nbands<font color="#909090">=None</font>)</dt><dd><tt>Set&nbsp;the&nbsp;number&nbsp;of&nbsp;bands.&nbsp;a&nbsp;few&nbsp;unoccupied&nbsp;bands&nbsp;are<br> +
-recommended.<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;nbands&nbsp;:&nbsp;integer<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;number&nbsp;of&nbsp;bands.<br> +
-&nbsp;<br> +
-if&nbsp;nbands&nbsp;=&nbsp;None&nbsp;the&nbsp;function&nbsp;returns&nbsp;with&nbsp;nothing&nbsp;done.&nbsp;At<br> +
-calculate&nbsp;time,&nbsp;if&nbsp;there&nbsp;are&nbsp;still&nbsp;no&nbsp;bands,&nbsp;they&nbsp;will&nbsp;be&nbsp;set<br> +
-by:<br> +
-&nbsp;<br> +
-the&nbsp;number&nbsp;of&nbsp;bands&nbsp;is&nbsp;calculated&nbsp;as<br> +
-$nbands=nvalence*0.65&nbsp;+&nbsp;4$</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_nc"><strong>set_nc</strong></a>(self, nc<font color="#909090">='out.nc'</font>)</dt><dd><tt>set&nbsp;filename&nbsp;for&nbsp;the&nbsp;netcdf&nbsp;and&nbsp;text&nbsp;output&nbsp;for&nbsp;this&nbsp;calculation<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;nc&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;filename&nbsp;for&nbsp;netcdf&nbsp;file<br> +
-&nbsp;<br> +
-if&nbsp;the&nbsp;ncfile&nbsp;attached&nbsp;to&nbsp;the&nbsp;calculator&nbsp;is&nbsp;changing,&nbsp;the&nbsp;old<br> +
-file&nbsp;will&nbsp;be&nbsp;copied&nbsp;to&nbsp;the&nbsp;new&nbsp;file&nbsp;if&nbsp;it&nbsp;doesn&nbsp;not&nbsp;exist&nbsp;so<br> +
-that&nbsp;all&nbsp;the&nbsp;calculator&nbsp;details&nbsp;are&nbsp;preserved.&nbsp;Otherwise,&nbsp;the<br> +
-&nbsp;<br> +
-if&nbsp;the&nbsp;ncfile&nbsp;does&nbsp;not&nbsp;exist,&nbsp;it&nbsp;will&nbsp;get&nbsp;initialized.<br> +
-&nbsp;<br> +
-the&nbsp;text&nbsp;file&nbsp;will&nbsp;have&nbsp;the&nbsp;same&nbsp;basename&nbsp;as&nbsp;the&nbsp;ncfile,&nbsp;but<br> +
-with&nbsp;a&nbsp;.txt&nbsp;extension.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_ncoutput"><strong>set_ncoutput</strong></a>(self, wf<font color="#909090">=None</font>, cd<font color="#909090">=None</font>, efp<font color="#909090">=None</font>, esp<font color="#909090">=None</font>)</dt><dd><tt>set&nbsp;the&nbsp;output&nbsp;of&nbsp;large&nbsp;variables&nbsp;in&nbsp;the&nbsp;netcdf&nbsp;output&nbsp;file<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;wf&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;controls&nbsp;output&nbsp;of&nbsp;wavefunction.&nbsp;values&nbsp;can<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;be&nbsp;'Yes'&nbsp;or&nbsp;'No'<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;cd&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;controls&nbsp;output&nbsp;of&nbsp;charge&nbsp;density.&nbsp;values&nbsp;can<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;be&nbsp;'Yes'&nbsp;or&nbsp;'No'<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;efp&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;controls&nbsp;output&nbsp;of&nbsp;effective&nbsp;potential.&nbsp;values&nbsp;can<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;be&nbsp;'Yes'&nbsp;or&nbsp;'No'<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;esp&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;controls&nbsp;output&nbsp;of&nbsp;electrostatic&nbsp;potential.&nbsp;values&nbsp;can<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;be&nbsp;'Yes'&nbsp;or&nbsp;'No'</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_occupationstatistics"><strong>set_occupationstatistics</strong></a>(self, method)</dt><dd><tt>set&nbsp;the&nbsp;method&nbsp;used&nbsp;for&nbsp;smearing&nbsp;the&nbsp;occupations.<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;method&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;one&nbsp;of&nbsp;'FermiDirac'&nbsp;or&nbsp;'MethfesselPaxton'<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;Currently,&nbsp;the&nbsp;Methfessel-Paxton&nbsp;scheme&nbsp;(PRB&nbsp;40,&nbsp;3616&nbsp;(1989).)<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;is&nbsp;implemented&nbsp;to&nbsp;1th&nbsp;order&nbsp;(which&nbsp;is&nbsp;recommemded&nbsp;by&nbsp;most&nbsp;authors).<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;'FermiDirac'&nbsp;is&nbsp;the&nbsp;default</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_parent"><strong>set_parent</strong></a>(self, parent)</dt></dl> +
- +
-<dl><dt><a name="Jacapo-set_pseudopotentials"><strong>set_pseudopotentials</strong></a>(self, pspdict)</dt><dd><tt>Set&nbsp;all&nbsp;the&nbsp;pseudopotentials&nbsp;from&nbsp;a&nbsp;dictionary.<br> +
-&nbsp;<br> +
-The&nbsp;dictionary&nbsp;should&nbsp;have&nbsp;this&nbsp;form::<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;{symbol1:&nbsp;path1,<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;symbol2:&nbsp;path2}</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_psp"><strong>set_psp</strong></a>(self, sym<font color="#909090">=None</font>, z<font color="#909090">=None</font>, psp<font color="#909090">=None</font>)</dt><dd><tt>set&nbsp;the&nbsp;pseudopotential&nbsp;file&nbsp;for&nbsp;a&nbsp;species&nbsp;or&nbsp;an&nbsp;atomic&nbsp;number.<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;sym&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;chemical&nbsp;symbol&nbsp;of&nbsp;the&nbsp;species<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;z&nbsp;:&nbsp;integer<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;atomic&nbsp;number&nbsp;of&nbsp;the&nbsp;species<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;psp&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;filename&nbsp;of&nbsp;the&nbsp;pseudopotential<br> +
-&nbsp;<br> +
-&nbsp;<br> +
-you&nbsp;can&nbsp;only&nbsp;set&nbsp;sym&nbsp;or&nbsp;z.<br> +
-&nbsp;<br> +
-examples::<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;<a href="#Jacapo-set_psp">set_psp</a>('N',psp='pspfile')<br> +
-&nbsp;&nbsp;<a href="#Jacapo-set_psp">set_psp</a>(z=6,psp='pspfile')</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_psp_database"><strong>set_psp_database</strong></a>(self, xc<font color="#909090">=None</font>)</dt><dd><tt>get&nbsp;the&nbsp;xc-dependent&nbsp;psp&nbsp;database<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;xc&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;one&nbsp;of&nbsp;'PW91',&nbsp;'PBE',&nbsp;'revPBE',&nbsp;'RPBE',&nbsp;'PZ'<br> +
-&nbsp;<br> +
-&nbsp;<br> +
-not&nbsp;all&nbsp;the&nbsp;databases&nbsp;are&nbsp;complete,&nbsp;and&nbsp;that&nbsp;means<br> +
-some&nbsp;psp&nbsp;do&nbsp;not&nbsp;exist.<br> +
-&nbsp;<br> +
-note:&nbsp;this&nbsp;function&nbsp;is&nbsp;not&nbsp;supported&nbsp;fully.&nbsp;only&nbsp;pw91&nbsp;is<br> +
-imported&nbsp;now.&nbsp;Changing&nbsp;the&nbsp;xc&nbsp;at&nbsp;this&nbsp;point&nbsp;results&nbsp;in&nbsp;loading<br> +
-a&nbsp;nearly&nbsp;empty&nbsp;database,&nbsp;and&nbsp;I&nbsp;have&nbsp;not&nbsp;thought&nbsp;about&nbsp;how&nbsp;to<br> +
-resolve&nbsp;that</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_pw"><strong>set_pw</strong></a>(self, pw)</dt><dd><tt>set&nbsp;the&nbsp;planewave&nbsp;cutoff.<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;pw&nbsp;:&nbsp;integer<br> +
-&nbsp;&nbsp;&nbsp;the&nbsp;planewave&nbsp;cutoff&nbsp;in&nbsp;eV<br> +
-&nbsp;<br> +
-this&nbsp;function&nbsp;checks&nbsp;to&nbsp;make&nbsp;sure&nbsp;the&nbsp;density&nbsp;wave&nbsp;cutoff&nbsp;is<br> +
-greater&nbsp;than&nbsp;or&nbsp;equal&nbsp;to&nbsp;the&nbsp;planewave&nbsp;cutoff.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_spinpol"><strong>set_spinpol</strong></a>(self, spinpol<font color="#909090">=False</font>)</dt><dd><tt>set&nbsp;Spin&nbsp;polarization.<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;spinpol&nbsp;:&nbsp;Boolean<br> +
-&nbsp;&nbsp;&nbsp;<a href="#Jacapo-set_spinpol">set_spinpol</a>(True)&nbsp;&nbsp;spin-polarized.<br> +
-&nbsp;&nbsp;&nbsp;<a href="#Jacapo-set_spinpol">set_spinpol</a>(False)&nbsp;no&nbsp;spin&nbsp;polarization,&nbsp;default<br> +
-&nbsp;<br> +
-Specify&nbsp;whether&nbsp;to&nbsp;perform&nbsp;a&nbsp;spin&nbsp;polarized&nbsp;or&nbsp;unpolarized<br> +
-calculation.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_status"><strong>set_status</strong></a>(self, status)</dt><dd><tt>set&nbsp;the&nbsp;status&nbsp;flag&nbsp;in&nbsp;the&nbsp;netcdf&nbsp;file<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;status&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;status&nbsp;flag,&nbsp;e.g.&nbsp;'new',&nbsp;'finished'</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_stay_alive"><strong>set_stay_alive</strong></a>(self, value)</dt><dd><tt>set&nbsp;the&nbsp;stay&nbsp;alive&nbsp;setting</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_symmetry"><strong>set_symmetry</strong></a>(self, val<font color="#909090">=False</font>)</dt><dd><tt>set&nbsp;how&nbsp;symmetry&nbsp;is&nbsp;used&nbsp;to&nbsp;reduce&nbsp;k-points<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;val&nbsp;:&nbsp;Boolean<br> +
-&nbsp;&nbsp;&nbsp;set_sym(True)&nbsp;Maximum&nbsp;symmetry&nbsp;is&nbsp;used<br> +
-&nbsp;&nbsp;&nbsp;set_sym(False)&nbsp;No&nbsp;symmetry&nbsp;is&nbsp;used<br> +
-&nbsp;<br> +
-This&nbsp;variable&nbsp;controls&nbsp;the&nbsp;if&nbsp;and&nbsp;how&nbsp;DACAPO&nbsp;should&nbsp;attempt<br> +
-using&nbsp;symmetry&nbsp;in&nbsp;the&nbsp;calculation.&nbsp;Imposing&nbsp;symmetry&nbsp;generally<br> +
-speeds&nbsp;up&nbsp;the&nbsp;calculation&nbsp;and&nbsp;reduces&nbsp;numerical&nbsp;noise&nbsp;to&nbsp;some<br> +
-extent.&nbsp;Symmetry&nbsp;should&nbsp;always&nbsp;be&nbsp;applied&nbsp;to&nbsp;the&nbsp;maximum<br> +
-extent,&nbsp;when&nbsp;ions&nbsp;are&nbsp;not&nbsp;moved.&nbsp;When&nbsp;relaxing&nbsp;ions,&nbsp;however,<br> +
-the&nbsp;symmetry&nbsp;of&nbsp;the&nbsp;equilibrium&nbsp;state&nbsp;may&nbsp;be&nbsp;lower&nbsp;than&nbsp;the<br> +
-initial&nbsp;state.&nbsp;Such&nbsp;an&nbsp;equilibrium&nbsp;state&nbsp;with&nbsp;lower&nbsp;symmetry<br> +
-is&nbsp;missed,&nbsp;if&nbsp;symmetry&nbsp;is&nbsp;imposed.&nbsp;Molecular&nbsp;dynamics-like<br> +
-algorithms&nbsp;for&nbsp;ionic&nbsp;propagation&nbsp;will&nbsp;generally&nbsp;not&nbsp;break&nbsp;the<br> +
-symmetry&nbsp;of&nbsp;the&nbsp;initial&nbsp;state,&nbsp;but&nbsp;some&nbsp;algorithms,&nbsp;like&nbsp;the<br> +
-BFGS&nbsp;may&nbsp;break&nbsp;the&nbsp;symmetry&nbsp;of&nbsp;the&nbsp;initial&nbsp;state.&nbsp;Recognized<br> +
-options:<br> +
-&nbsp;<br> +
-"Off":&nbsp;No&nbsp;symmetry&nbsp;will&nbsp;be&nbsp;imposed,&nbsp;apart&nbsp;from&nbsp;time&nbsp;inversion<br> +
-symmetry&nbsp;in&nbsp;recipical&nbsp;space.&nbsp;This&nbsp;is&nbsp;utilized&nbsp;to&nbsp;reduce&nbsp;the<br> +
-k-point&nbsp;sampling&nbsp;set&nbsp;for&nbsp;Brillouin&nbsp;zone&nbsp;integration&nbsp;and&nbsp;has&nbsp;no<br> +
-influence&nbsp;on&nbsp;the&nbsp;ionic&nbsp;forces/motion.<br> +
-&nbsp;<br> +
-"Maximum":&nbsp;DACAPO&nbsp;will&nbsp;look&nbsp;for&nbsp;symmetry&nbsp;in&nbsp;the&nbsp;supplied<br> +
-atomic&nbsp;structure&nbsp;and&nbsp;extract&nbsp;the&nbsp;highest&nbsp;possible&nbsp;symmetry<br> +
-group.&nbsp;During&nbsp;the&nbsp;calculation,&nbsp;DACAPO&nbsp;will&nbsp;impose&nbsp;the&nbsp;found<br> +
-spatial&nbsp;symmetry&nbsp;on&nbsp;ionic&nbsp;forces&nbsp;and&nbsp;electronic&nbsp;structure,<br> +
-i.e.&nbsp;the&nbsp;symmetry&nbsp;will&nbsp;be&nbsp;conserved&nbsp;during&nbsp;the&nbsp;calculation.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-set_xc"><strong>set_xc</strong></a>(self, xc)</dt><dd><tt>Set&nbsp;the&nbsp;self-consistent&nbsp;exchange-correlation&nbsp;functional<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;xc&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;Must&nbsp;be&nbsp;one&nbsp;of&nbsp;'PZ',&nbsp;'VWN',&nbsp;'PW91',&nbsp;'PBE',&nbsp;'revPBE',&nbsp;'RPBE'<br> +
-&nbsp;<br> +
-Selects&nbsp;which&nbsp;density&nbsp;functional&nbsp;to&nbsp;use&nbsp;for<br> +
-exchange-correlation&nbsp;when&nbsp;performing&nbsp;electronic&nbsp;minimization<br> +
-(the&nbsp;electronic&nbsp;energy&nbsp;is&nbsp;minimized&nbsp;with&nbsp;respect&nbsp;to&nbsp;this<br> +
-selected&nbsp;functional)&nbsp;Notice&nbsp;that&nbsp;the&nbsp;electronic&nbsp;energy&nbsp;is&nbsp;also<br> +
-evaluated&nbsp;non-selfconsistently&nbsp;by&nbsp;DACAPO&nbsp;for&nbsp;other<br> +
-exchange-correlation&nbsp;functionals&nbsp;Recognized&nbsp;options&nbsp;:<br> +
-&nbsp;<br> +
-*&nbsp;"PZ"&nbsp;(Perdew&nbsp;Zunger&nbsp;LDA-parametrization)<br> +
-*&nbsp;"VWN"&nbsp;(Vosko&nbsp;Wilk&nbsp;Nusair&nbsp;LDA-parametrization)<br> +
-*&nbsp;"PW91"&nbsp;(Perdew&nbsp;Wang&nbsp;91&nbsp;GGA-parametrization)<br> +
-*&nbsp;"PBE"&nbsp;(Perdew&nbsp;Burke&nbsp;Ernzerhof&nbsp;GGA-parametrization)<br> +
-*&nbsp;"revPBE"&nbsp;(revised&nbsp;PBE/1&nbsp;GGA-parametrization)<br> +
-*&nbsp;"RPBE"&nbsp;(revised&nbsp;PBE/2&nbsp;GGA-parametrization)<br> +
-&nbsp;<br> +
-option&nbsp;"PZ"&nbsp;is&nbsp;not&nbsp;allowed&nbsp;for&nbsp;spin&nbsp;polarized<br> +
-calculation;&nbsp;use&nbsp;"VWN"&nbsp;instead.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-strip"><strong>strip</strong></a>(self)</dt><dd><tt>remove&nbsp;all&nbsp;large&nbsp;memory&nbsp;nc&nbsp;variables&nbsp;not&nbsp;needed&nbsp;for<br> +
-anything&nbsp;I&nbsp;use&nbsp;very&nbsp;often.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-update_input_parameters"><strong>update_input_parameters</strong></a>(self)</dt><dd><tt>read&nbsp;in&nbsp;all&nbsp;the&nbsp;input&nbsp;parameters&nbsp;from&nbsp;the&nbsp;netcdfile</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-write"><strong>write</strong></a>(self, new<font color="#909090">=False</font>)</dt><dd><tt>write&nbsp;out&nbsp;everything&nbsp;to&nbsp;the&nbsp;ncfile&nbsp;:&nbsp;<a href="#Jacapo-get_nc">get_nc</a>()<br> +
-&nbsp;<br> +
-new&nbsp;determines&nbsp;whether&nbsp;to&nbsp;delete&nbsp;any&nbsp;existing&nbsp;ncfile,&nbsp;and&nbsp;rewrite&nbsp;it.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-write_input"><strong>write_input</strong></a>(self)</dt><dd><tt>write&nbsp;out&nbsp;input&nbsp;parameters&nbsp;as&nbsp;needed<br> +
-&nbsp;<br> +
-you&nbsp;must&nbsp;define&nbsp;a&nbsp;self.<strong>_set_keyword</strong>&nbsp;function&nbsp;that&nbsp;does&nbsp;all&nbsp;the<br> +
-actual&nbsp;writing.</tt></dd></dl> +
- +
-<dl><dt><a name="Jacapo-write_nc"><strong>write_nc</strong></a>(self, nc<font color="#909090">=None</font>, atoms<font color="#909090">=None</font>)</dt><dd><tt>write&nbsp;out&nbsp;atoms&nbsp;to&nbsp;a&nbsp;netcdffile.<br> +
-&nbsp;<br> +
-This&nbsp;does&nbsp;not&nbsp;write&nbsp;out&nbsp;the&nbsp;calculation&nbsp;parameters!<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;nc&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;ncfilename&nbsp;to&nbsp;write&nbsp;to.&nbsp;this&nbsp;file&nbsp;will&nbsp;get&nbsp;clobbered<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;it&nbsp;already&nbsp;exists.<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;atoms&nbsp;:&nbsp;ASE.Atoms<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;atoms&nbsp;to&nbsp;write.&nbsp;if&nbsp;None&nbsp;use&nbsp;the&nbsp;attached&nbsp;atoms<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;no&nbsp;atoms&nbsp;are&nbsp;attached&nbsp;only&nbsp;the&nbsp;calculator&nbsp;is<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;written&nbsp;out.<br> +
-&nbsp;<br> +
-the&nbsp;ncfile&nbsp;is&nbsp;always&nbsp;opened&nbsp;in&nbsp;'a'&nbsp;mode.<br> +
-&nbsp;<br> +
-note:&nbsp;it&nbsp;is&nbsp;good&nbsp;practice&nbsp;to&nbsp;use&nbsp;the&nbsp;atoms&nbsp;argument&nbsp;to&nbsp;make<br> +
-sure&nbsp;that&nbsp;the&nbsp;geometry&nbsp;you&nbsp;mean&nbsp;gets&nbsp;written!&nbsp;Otherwise,&nbsp;the<br> +
-atoms&nbsp;in&nbsp;the&nbsp;calculator&nbsp;is&nbsp;used,&nbsp;which&nbsp;may&nbsp;be&nbsp;different&nbsp;than<br> +
-the&nbsp;external&nbsp;copy&nbsp;of&nbsp;the&nbsp;atoms.</tt></dd></dl> +
- +
-<hr> +
-Static methods defined here:<br> +
-<dl><dt><a name="Jacapo-read_atoms"><strong>read_atoms</strong></a>(filename)</dt><dd><tt>read&nbsp;atoms&nbsp;and&nbsp;calculator&nbsp;from&nbsp;an&nbsp;existing&nbsp;netcdf&nbsp;file.<br> +
-&nbsp;<br> +
-:Parameters:<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;filename&nbsp;:&nbsp;string<br> +
-&nbsp;&nbsp;&nbsp;&nbsp;name&nbsp;of&nbsp;file&nbsp;to&nbsp;read&nbsp;from.<br> +
-&nbsp;<br> +
-static&nbsp;method<br> +
-&nbsp;<br> +
-example::<br> +
-&nbsp;<br> +
-&nbsp;&nbsp;&gt;&gt;&gt;&nbsp;atoms&nbsp;=&nbsp;<a href="#Jacapo">Jacapo</a>.<a href="#Jacapo-read_atoms">read_atoms</a>(ncfile)<br> +
-&nbsp;&nbsp;&gt;&gt;&gt;&nbsp;calc&nbsp;=&nbsp;atoms.get_calculator()<br> +
-&nbsp;<br> +
-this&nbsp;method&nbsp;is&nbsp;here&nbsp;for&nbsp;legacy&nbsp;purposes.&nbsp;I&nbsp;used&nbsp;to&nbsp;use&nbsp;it&nbsp;alot.</tt></dd></dl> +
- +
-<hr> +
-Data and other attributes defined here:<br> +
-<dl><dt><strong>__version__</strong> = '0.4'</dl> +
- +
-<dl><dt><strong>default_input</strong> = {'ados': None, 'ascii_debug': 'Off', 'atoms': None, 'calculate_stress': False, 'charge_mixing': {'method': 'Pulay', 'mixingcoeff': 0.1, 'mixinghistory': 10, 'precondition': 'No', 'updatecharge': 'Yes'}, 'convergence': {'density': 0.0001, 'energy': 1e-05, 'maxsteps': None, 'maxtime': None, 'occupation': 0.001}, 'decoupling': None, 'dipole': {'adddipfield': 0.0, 'initval': 0.0, 'mixpar': 0.2, 'position': None, 'status': False}, 'dw': 350, 'electronic_minimization': {'diagsperband': 2, 'method': 'eigsolve'}, ...}</dl> +
- +
-</td></tr></table></td></tr></table><p> +
-<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +
-<tr bgcolor="#eeaa77"> +
-<td colspan=3 valign=bottom>&nbsp;<br> +
-<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> +
-     +
-<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td> +
-<td width="100%"><dl><dt><a name="-read"><strong>read</strong></a>(ncfile)</dt><dd><tt>return&nbsp;atoms&nbsp;and&nbsp;calculator&nbsp;from&nbsp;ncfile<br> +
-&nbsp;<br> +
-&gt;&gt;&gt;&nbsp;atoms,&nbsp;calc&nbsp;=&nbsp;<a href="#-read">read</a>('co.nc')</tt></dd></dl> +
-</td></tr></table><p> +
-<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +
-<tr bgcolor="#55aa55"> +
-<td colspan=3 valign=bottom>&nbsp;<br> +
-<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> +
-     +
-<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td> +
-<td width="100%"><strong>__docformat__</strong> = 'restructuredtext'<br> +
-<strong>formatstring</strong> = '%(levelname)-10s function: %(funcName)s lineno: %(lineno)-4d %(message)s'<br> +
-<strong>formatter</strong> = &lt;logging.Formatter object&gt;<br> +
-<strong>handler</strong> = &lt;logging.StreamHandler object&gt;<br> +
-<strong>log</strong> = &lt;logging.Logger object&gt;</td></tr></table> +
-</body></html>+
seminar/jacapo_object.1597724780.txt.gz · 最終更新: 2022/08/23 13:34 (外部編集)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki