Skip to content

Commit a5702cd

Browse files
author
cclib
committed
See cclib/cclib@2193e9b from refs/heads/master
1 parent b6c82c9 commit a5702cd

20 files changed

Lines changed: 132 additions & 100 deletions

_sources/bridge.rst.txt

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ An example code below demonstrates how Becke charges can be calculated based on
4343
from cclib.method.density import Density
4444
from cclib.bridge.cclib2horton import makehorton
4545
from cclib.parser import ccopen
46-
46+
4747
from horton import BeckeMolGrid, getgobasis, BeckeWPart
4848
from horton.matrix.dense import DenseTwoIndex
4949
5050
d = ccopen(sys.argv[1]).parse()
5151
ht = makehorton(d)
52-
52+
5353
# Calculate density matrix using cclib
5454
dens = Density(d)
5555
dens.calculate()
@@ -61,7 +61,7 @@ An example code below demonstrates how Becke charges can be calculated based on
6161
6262
# Define Gaussian basis set
6363
gob = get_gobasis(ht.coordinates, ht.numbers, default = 'STO-3G')
64-
64+
6565
# Partition charges
6666
wpart = BeckeWPart(ht.coordinates, ht.numbers, ht.pseudo_numbers, grid, moldens, local=True)
6767
wpart.do_charges()
@@ -82,14 +82,14 @@ Then read in the densities as below to calculate Hirshfeld or Hirshfeld-like cha
8282
from cclib.method.density import Density
8383
from cclib.bridge.cclib2horton import makehorton
8484
from cclib.parser import ccopen
85-
85+
8686
from horton import BeckeMolGrid, getgobasis, HirshfeldWPart
8787
from horton.matrix.dense import DenseTwoIndex
8888
from horton.part.proatomdb import ProAtomDB
8989
9090
d = ccopen(sys.argv[1]).parse()
9191
ht = makehorton(d)
92-
92+
9393
# Calculate density matrix using cclib
9494
dens = Density(d)
9595
dens.calculate()
@@ -101,7 +101,7 @@ Then read in the densities as below to calculate Hirshfeld or Hirshfeld-like cha
101101
102102
# Define Gaussian basis set
103103
gob = get_gobasis(ht.coordinates, ht.numbers, default = 'STO-3G')
104-
104+
105105
# Read in pro-atomic density database
106106
db = ProAtomDB.from_file('atoms.h5')
107107
@@ -111,4 +111,3 @@ Then read in the densities as below to calculate Hirshfeld or Hirshfeld-like cha
111111
print(wpart['charges'])
112112
113113
..
114-

_sources/data_notes.rst.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ A dictionary containing metadata_ (data about data) for the calculation. Current
347347
* ``basis_set``: A string with the name of the basis set, if it is printed anywhere as a standard name.
348348
* ``coord_type``: For the ``coords`` field, a string for the representation of stored coordinates. Currently, it is one of ``xyz``, ``int``/``internal``, or ``gzmat``.
349349
* ``coords``: A list of lists with shape ``[natoms, 4]`` which contains the input coordinates (those found in the input file). The first column is the atomic symbol as a string, and the next three columns are floats. This is useful as many programs reorient coordinates for symmetry reasons.
350-
* ``cpu_time``: A list of datetime.timedeltas containing the CPU time of each calculation in the output.
350+
* ``cpu_time``: A list of datetime.timedeltas containing the CPU time of each calculation in the output.
351351
* ``functional``: A string with the name of the density functional used.
352352
* ``info``: A list of strings, each of which is an information or log message produced during a calculation.
353353
* ``input_file_contents``: A string containing the entire input file, if it is echoed back during the calculation.
@@ -360,7 +360,7 @@ A dictionary containing metadata_ (data about data) for the calculation. Current
360360
* ``symmetry_used``: A string representing the point group used by the program for the calculation. This may be different from ``symmetry_detected`` if the full point group is non-abelian and the program can only take advantage of abelian groups. For example, when performing a calculation on benzene with symmetry turned on, ``symmetry_detected`` may be ``d6h``, but ``symmetry_used`` is most likely ``d2h``, since D2h is the largest abelian subgroup of D6h.
361361
* ``success``: A boolean for whether or not the calculation completed properly.
362362
* ``unrestricted``: A boolean for whether or not the calculation was performed with a unrestricted wavefunction.
363-
* ``wall_time``: A list of datetime.timedeltas containing the wall time of each calculation in the output.
363+
* ``wall_time``: A list of datetime.timedeltas containing the wall time of each calculation in the output.
364364
* ``warnings``: A list of strings, each of which is a warning produced during a calculation.
365365

366366
The implementation and coverage of metadata is currently inconsistent. In the future, metadata may receive its own page similar to :doc:`extracted data <data>`.
@@ -551,7 +551,7 @@ A list containing the names of each parameter scanned.
551551
scanparm
552552
--------
553553

554-
A list of lists where each list contains the values scanned for each parameter in `scannames`.
554+
A list of lists where each list contains the values scanned for each parameter in `scannames`.
555555

556556
scfenergies
557557
-----------
@@ -624,4 +624,3 @@ vibrmasses
624624
----------
625625

626626
The attribute ``vibrmasses`` stores the reduced masses in Daltons (Da) from vibrational frequency calculation. It is a rank 1 array having dimension ``M``, where ``M`` is the number of normal modes.
627-

_sources/methods.rst.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ Notes
308308

309309
.. index::
310310
single: methods; Bader's QTAIM
311-
311+
312312
Bader's QTAIM
313313
----------------
314314

@@ -350,7 +350,7 @@ To calculate Bader charges from a cube file, a ``Volume`` object should be prepa
350350
from cclib.parser import ccopen
351351
from cclib.progress import TextProgress
352352
import logging
353-
353+
354354
progress = TextProgress()
355355
d = ccopen("mycalc.out", logging.ERROR).parse(progress)
356356
@@ -363,7 +363,7 @@ To calculate Bader charges from a cube file, a ``Volume`` object should be prepa
363363
364364
.. index::
365365
single: methods; DDEC6
366-
366+
367367
DDEC6
368368
----------------
369369

@@ -407,7 +407,7 @@ After the calculate() method is called, the following attributes are available:
407407

408408
.. index::
409409
single: methods; Hirshfeld Population Analysis
410-
410+
411411
Hirshfeld Population Analysis
412412
-----------------------------
413413

@@ -471,7 +471,7 @@ Calculate the nuclear repulsion energy using the snippet below:
471471
nre = nuclear.repulsion_energy()
472472
print(nre)
473473
474-
474+
475475
Accessing additional methods through bridge
476476
-------------------------------------------
477477

attributes.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
<!DOCTYPE html>
2-
<html class="writer-html5" lang="en" >
2+
<html class="writer-html5" lang="en" data-content_root="./">
33
<head>
4-
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
4+
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
55

66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>&lt;no title&gt; &mdash; cclib 1.8 documentation</title>
8-
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
9-
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
10-
<link rel="stylesheet" href="_static/increase_max_width.css" type="text/css" />
8+
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
9+
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
10+
<link rel="stylesheet" type="text/css" href="_static/increase_max_width.css?v=eea1f72d" />
11+
12+
1113
<!--[if lt IE 9]>
1214
<script src="_static/js/html5shiv.min.js"></script>
1315
<![endif]-->

attributes_dev.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
<!DOCTYPE html>
2-
<html class="writer-html5" lang="en" >
2+
<html class="writer-html5" lang="en" data-content_root="./">
33
<head>
4-
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
4+
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
55

66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>&lt;no title&gt; &mdash; cclib 1.8 documentation</title>
8-
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
9-
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
10-
<link rel="stylesheet" href="_static/increase_max_width.css" type="text/css" />
8+
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
9+
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
10+
<link rel="stylesheet" type="text/css" href="_static/increase_max_width.css?v=eea1f72d" />
11+
12+
1113
<!--[if lt IE 9]>
1214
<script src="_static/js/html5shiv.min.js"></script>
1315
<![endif]-->

bridge.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
<!DOCTYPE html>
2-
<html class="writer-html5" lang="en" >
2+
<html class="writer-html5" lang="en" data-content_root="./">
33
<head>
4-
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
4+
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
55

66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>Bridges to other packages &mdash; cclib 1.8 documentation</title>
8-
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
9-
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
10-
<link rel="stylesheet" href="_static/increase_max_width.css" type="text/css" />
8+
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
9+
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
10+
<link rel="stylesheet" type="text/css" href="_static/increase_max_width.css?v=eea1f72d" />
11+
12+
1113
<!--[if lt IE 9]>
1214
<script src="_static/js/html5shiv.min.js"></script>
1315
<![endif]-->

changelog.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
<!DOCTYPE html>
2-
<html class="writer-html5" lang="en" >
2+
<html class="writer-html5" lang="en" data-content_root="./">
33
<head>
4-
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
4+
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
55

66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>Changelog &mdash; cclib 1.8 documentation</title>
8-
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
9-
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
10-
<link rel="stylesheet" href="_static/increase_max_width.css" type="text/css" />
8+
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
9+
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
10+
<link rel="stylesheet" type="text/css" href="_static/increase_max_width.css?v=eea1f72d" />
11+
12+
1113
<!--[if lt IE 9]>
1214
<script src="_static/js/html5shiv.min.js"></script>
1315
<![endif]-->

contents.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
<!DOCTYPE html>
2-
<html class="writer-html5" lang="en" >
2+
<html class="writer-html5" lang="en" data-content_root="./">
33
<head>
4-
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
4+
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
55

66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>Table of Contents &mdash; cclib 1.8 documentation</title>
8-
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
9-
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
10-
<link rel="stylesheet" href="_static/increase_max_width.css" type="text/css" />
8+
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
9+
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
10+
<link rel="stylesheet" type="text/css" href="_static/increase_max_width.css?v=eea1f72d" />
11+
12+
1113
<!--[if lt IE 9]>
1214
<script src="_static/js/html5shiv.min.js"></script>
1315
<![endif]-->

coverage.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
<!DOCTYPE html>
2-
<html class="writer-html5" lang="en" >
2+
<html class="writer-html5" lang="en" data-content_root="./">
33
<head>
4-
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
4+
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
55

66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>&lt;no title&gt; &mdash; cclib 1.8 documentation</title>
8-
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
9-
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
10-
<link rel="stylesheet" href="_static/increase_max_width.css" type="text/css" />
8+
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
9+
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
10+
<link rel="stylesheet" type="text/css" href="_static/increase_max_width.css?v=eea1f72d" />
11+
12+
1113
<!--[if lt IE 9]>
1214
<script src="_static/js/html5shiv.min.js"></script>
1315
<![endif]-->

coverage_dev.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
<!DOCTYPE html>
2-
<html class="writer-html5" lang="en" >
2+
<html class="writer-html5" lang="en" data-content_root="./">
33
<head>
4-
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
4+
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
55

66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>&lt;no title&gt; &mdash; cclib 1.8 documentation</title>
8-
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
9-
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
10-
<link rel="stylesheet" href="_static/increase_max_width.css" type="text/css" />
8+
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
9+
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
10+
<link rel="stylesheet" type="text/css" href="_static/increase_max_width.css?v=eea1f72d" />
11+
12+
1113
<!--[if lt IE 9]>
1214
<script src="_static/js/html5shiv.min.js"></script>
1315
<![endif]-->

0 commit comments

Comments
 (0)