Skip to content

Commit 1f79677

Browse files
author
cclib
committed
See cclib/cclib@136e7e1 from refs/heads/master
1 parent 323c272 commit 1f79677

4 files changed

Lines changed: 29 additions & 2 deletions

File tree

_sources/methods.rst.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,26 @@ After the calculate() method is called, the following attributes are available:
450450

451451
.. index::
452452
single: methods; Accessing additional methods through bridge
453+
454+
455+
Nuclear Properties
456+
------------------
457+
458+
This method calculates various properties of nuclei based on the parsed data.
459+
460+
Calculate the nuclear repulsion energy using the snippet below:
461+
462+
.. code-block:: python
463+
import cclib
464+
from cclib.method import Nuclear
465+
466+
parser = cclib.io.ccopen("test.log")
467+
data = parser.parse()
468+
nuclear = Nuclear(data)
469+
470+
nre = nuclear.repulsion_energy()
471+
print(nre)
472+
453473
454474
Accessing additional methods through bridge
455475
-------------------------------------------

contents.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@
170170
<li class="toctree-l2"><a class="reference internal" href="methods.html#bader-s-qtaim">Bader’s QTAIM</a></li>
171171
<li class="toctree-l2"><a class="reference internal" href="methods.html#ddec6">DDEC6</a></li>
172172
<li class="toctree-l2"><a class="reference internal" href="methods.html#hirshfeld-population-analysis">Hirshfeld Population Analysis</a></li>
173+
<li class="toctree-l2"><a class="reference internal" href="methods.html#nuclear-properties">Nuclear Properties</a></li>
173174
<li class="toctree-l2"><a class="reference internal" href="methods.html#accessing-additional-methods-through-bridge">Accessing additional methods through bridge</a></li>
174175
</ul>
175176
</li>

methods.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
<li class="toctree-l2"><a class="reference internal" href="#bader-s-qtaim">Bader’s QTAIM</a></li>
8080
<li class="toctree-l2"><a class="reference internal" href="#ddec6">DDEC6</a></li>
8181
<li class="toctree-l2"><a class="reference internal" href="#hirshfeld-population-analysis">Hirshfeld Population Analysis</a></li>
82+
<li class="toctree-l2"><a class="reference internal" href="#nuclear-properties">Nuclear Properties</a></li>
8283
<li class="toctree-l2"><a class="reference internal" href="#accessing-additional-methods-through-bridge">Accessing additional methods through bridge</a></li>
8384
</ul>
8485
</li>
@@ -472,8 +473,13 @@ <h3>Notes<a class="headerlink" href="#notes" title="Permalink to this heading">
472473
<li><p><code class="docutils literal notranslate"><span class="pre">fragcharges</span></code>: a vector with the number of (partial) electrons in each atom, so that <code class="docutils literal notranslate"><span class="pre">fragcharges[2]</span></code> gives the number of electrons in the 3rd atom.</p></li>
473474
</ul>
474475
</section>
476+
<section id="nuclear-properties">
477+
<span id="index-8"></span><h2>Nuclear Properties<a class="headerlink" href="#nuclear-properties" title="Permalink to this heading"></a></h2>
478+
<p>This method calculates various properties of nuclei based on the parsed data.</p>
479+
<p>Calculate the nuclear repulsion energy using the snippet below:</p>
480+
</section>
475481
<section id="accessing-additional-methods-through-bridge">
476-
<span id="index-8"></span><h2>Accessing additional methods through bridge<a class="headerlink" href="#accessing-additional-methods-through-bridge" title="Permalink to this heading"></a></h2>
482+
<h2>Accessing additional methods through bridge<a class="headerlink" href="#accessing-additional-methods-through-bridge" title="Permalink to this heading"></a></h2>
477483
<p>Some other population analyses methods including Hirshfeld partial charges and Iterative Stockholder charges can be calculated using bridge functions implemented in cclib. For more information, refer to <a class="reference external" href="bridge.html">bridge</a> section of the documentation.</p>
478484
<p class="rubric">Footnotes</p>
479485
<aside class="footnote-list brackets">

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)