|
91 | 91 | <li class="toctree-l2"><a class="reference internal" href="#nmo">nmo</a></li> |
92 | 92 | <li class="toctree-l2"><a class="reference internal" href="#nmrtensors">nmrtensors</a></li> |
93 | 93 | <li class="toctree-l2"><a class="reference internal" href="#optdone">optdone</a></li> |
| 94 | +<li class="toctree-l2"><a class="reference internal" href="#optstatus">optstatus</a></li> |
94 | 95 | <li class="toctree-l2"><a class="reference internal" href="#scancoords">scancoords</a></li> |
95 | 96 | <li class="toctree-l2"><a class="reference internal" href="#scanenergies">scanenergies</a></li> |
96 | 97 | <li class="toctree-l2"><a class="reference internal" href="#scannames">scannames</a></li> |
@@ -607,6 +608,19 @@ <h2>nmrtensors<a class="headerlink" href="#nmrtensors" title="Link to this headi |
607 | 608 | <h2>optdone<a class="headerlink" href="#optdone" title="Link to this heading"></a></h2> |
608 | 609 | <p>A list that indexes which elements of <a class="reference internal" href="#atomcoords">atomcoords</a> represent converged geometries.</p> |
609 | 610 | </section> |
| 611 | +<section id="optstatus"> |
| 612 | +<h2>optstatus<a class="headerlink" href="#optstatus" title="Link to this heading"></a></h2> |
| 613 | +<p>A list of integers representing the status of each step in an optimisation. The possible optimisation statuses are defined in bit value notation to allow for coding for multiple states and are given by:</p> |
| 614 | +<blockquote> |
| 615 | +<div><ul class="simple"> |
| 616 | +<li><p><code class="docutils literal notranslate"><span class="pre">OPT_UNKNOWN</span> <span class="pre">=</span> <span class="pre">0b000</span> <span class="pre">=</span> <span class="pre">0</span></code> is the default and means optimisation is in progress.</p></li> |
| 617 | +<li><p><code class="docutils literal notranslate"><span class="pre">OPT_NEW</span> <span class="pre">=</span> <span class="pre">0b001</span> <span class="pre">=</span> <span class="pre">1</span></code> is set for every new optimisation (e.g. PES, IRCs, etc.)</p></li> |
| 618 | +<li><p><code class="docutils literal notranslate"><span class="pre">OPT_DONE</span> <span class="pre">=</span> <span class="pre">0b010</span> <span class="pre">=</span> <span class="pre">2</span></code> is set for the last step of an optimisation that converged.</p></li> |
| 619 | +<li><p><code class="docutils literal notranslate"><span class="pre">OPT_UNCONVERGED</span> <span class="pre">=</span> <span class="pre">0b100</span> <span class="pre">=</span> <span class="pre">4</span></code> is set for every unconverged step (e.g. should be mutually exclusive with <code class="docutils literal notranslate"><span class="pre">OPT_DONE</span></code>)</p></li> |
| 620 | +</ul> |
| 621 | +</div></blockquote> |
| 622 | +<p>So, to robustly check if step <code class="docutils literal notranslate"><span class="pre">i</span></code> has converged, one should check <code class="docutils literal notranslate"><span class="pre">data.optstatus[i]</span> <span class="pre">&</span> <span class="pre">OPT_DONE</span></code> instead of <code class="docutils literal notranslate"><span class="pre">data.optstatus[i]</span> <span class="pre">==</span> <span class="pre">OPT_DONE</span></code>.</p> |
| 623 | +</section> |
610 | 624 | <section id="scancoords"> |
611 | 625 | <h2>scancoords<a class="headerlink" href="#scancoords" title="Link to this heading"></a></h2> |
612 | 626 | <p>An array containing the geometries for each step of shape <code class="docutils literal notranslate"><span class="pre">[number</span> <span class="pre">of</span> <span class="pre">scan</span> <span class="pre">steps,</span> <span class="pre">number</span> <span class="pre">of</span> <span class="pre">atoms,</span> <span class="pre">3]</span></code>. In the case of an unrelaxed scan this is equivalent to <a class="reference internal" href="#atomcoords">atomcoords</a>, however this is not the case for a relaxed scan as a geometry optimization is performed at each scan step.</p> |
|
0 commit comments