You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/calculation.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Cclib also allows to further analyse calculation ouputs.
4
4
5
-
# C squared population analysis (CSPA)
5
+
##C squared population analysis (CSPA)
6
6
**CSPA** can be used to determine and interpret the electron density of a molecule. The contribution of the a-th atomic orbital to the i-th molecular orbital can be written in terms of the molecular orbital coefficients:
*``fragresults``: a three dimensional array with spin, molecular orbital, and atoms as the axes, so that ``fragresults[1, 24, 5]`` gives the contribution of the 5th fragment orbitals to the 24th beta molecular orbital)
18
18
*``fragcharges``: a vector with the number of (partial) electrons in each fragment, so that ``fragcharges[3]`` gives the number of electrons in the 3rd fragment.
19
19
20
-
# Mulliken population analysis (MPA)
20
+
##Mulliken population analysis (MPA)
21
21
MPA can be used to determine and interpret the electron density of a molecule. The contribution of the a-th atomic orbital to the i-th molecular orbital in this method is written in terms of the molecular orbital coefficients, c, and the overlap matrix, S:
*``fragresults``: a three dimensional array with spin, molecular orbital, and atoms as the axes, so that ``fragresults[1, 24, 5]`` gives the contribution of the 5th fragment orbitals to the 24th beta molecular orbital)
32
32
*``fragcharges``: a vector with the number of (partial) electrons in each fragment, so that ``fragcharges[3]`` gives the number of electrons in the 3rd fragment.
*``fragresults``: a three dimensional array with spin, molecular orbital, and atoms as the axes, so that ``fragresults[1, 24, 5]`` gives the contribution of the 5th fragment orbitals to the 24th beta molecular orbital)
42
42
*``fragcharges``: a vector with the number of (partial) electrons in each fragment, so that ``fragcharges[3]`` gives the number of electrons in the 3rd fragment.
43
43
44
-
# Bickelhaupt Population Analysis
44
+
##Bickelhaupt Population Analysis
45
45
The Bickelhaupt class available from cclib.method performs Bickelhaupt population analysis that has been proposed in *Organometallics* 1996, 15, 13, 2923–2931. [doi:10.1021/om950966x](https://pubs.acs.org/doi/abs/10.1021/om950966x)
46
46
47
47
The contribution of the a-th atomic orbital to the i-th molecular orbital in this method is written in terms of the molecular orbital coefficients, c, and the overlap matrix, S:
*``fragresults``: a three dimensional array with spin, molecular orbital, and atoms as the axes, so that ``fragresults[1, 24, 5]`` gives the contribution of the 5th fragment orbitals to the 24th beta molecular orbital)
64
64
*``fragcharges``: a vector with the number of (partial) electrons in each fragment, so that ``fragcharges[3]`` gives the number of electrons in the 3rd fragment.
65
65
66
-
# Density Matrix calculation
66
+
##Density Matrix calculation
67
67
Calculates the electron density matrix
68
68
```Julia
69
69
julia>using Cclib
70
70
julia> result =density("./Trp_polar.fchk")
71
71
```
72
72
Returns an array with three axes. The first axis is for the spin contributions, the second and the third axes for the density matrix, which follows standard definition.
73
-
# Mayer’s Bond Orders (MBO)
73
+
##Mayer’s Bond Orders (MBO)
74
74
Calculates Mayer's bond orders
75
75
```Julia
76
76
julia>using Cclib
77
77
julia> result =mbo("./Trp_polar.fchk")
78
78
```
79
79
Returns an array with three axes. The first axis is for contributions of each spin to the MBO, while the second and the third correspond to the indices of the atoms.
80
-
# Charge Decomposition Analysis
80
+
##Charge Decomposition Analysis
81
81
The Charge Decomposition Analysis (CDA) as developed by Gernot Frenking et al. is used to study the donor-acceptor interactions of a molecule in terms of two user-specified fragments.
Copy file name to clipboardExpand all lines: docs/src/index.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
[Cclib.jl](https://github.com/cclib/Cclib.jl) is a Julia wrapper around [Cclib](https://cclib.github.io/index.html) - an open source library written in Python for parsing and interpreting the results of computational chemistry packages.
4
4
5
-
# Features
5
+
##Features
6
6
7
7
- Parsing outputs from 15 different programs: ADF, DALTON, Firefly, GAMESS (US), GAMESS-UK, Gaussian, Jaguar, Molpro, MOLCAS, MOPAC, NWChem, ORCA, Psi4, NBO, QChem and Turbomole.
8
8
@@ -12,7 +12,7 @@
12
12
- By extension, provides interoperability with libraries that use AtomsBase.jl, such as [DFTK.jl](https://github.com/JuliaMolSim/DFTK.jl), [Molly.jl](https://github.com/JuliaMolSim/Molly.jl), and [InteratomicPotentials.jl](https://github.com/cesmix-mit/InteratomicPotentials.jl).
13
13
- Integration with [Fermi.jl](https://github.com/FermiQC/Fermi.jl) - quantum chemistry framework written in Julia.
14
14
15
-
# How to install
15
+
##How to install
16
16
To install [Cclib.jl](https://github.com/cclib/Cclib.jl), start up and type the following into the REPL.
Copy file name to clipboardExpand all lines: docs/src/interop.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
# Interoperability With Other Tools
2
2
3
-
# AtomsBase.jl
3
+
##AtomsBase.jl
4
4
5
5
Cclib.jl provides interoperability with [AtomsBase.jl](https://github.com/JuliaMolSim/AtomsBase.jl) by allowing to create AtomsBase systems.
6
6
7
7
The documentaiton below provides some essential functionality, such as creating and editing AtomsBase.jl systems.
8
8
9
9
For a detailed overview, or if you want to know how AtomsBase.jl operates behind the scenes, refer to its official documentation.
10
10
11
-
## Creating AtomsBase Systems
11
+
###Creating AtomsBase Systems
12
12
We can load information contained in a Cclib.jl-supported file into a system by using the following functions:
13
13
-`make_flexible_system` - for creating an AtomsBase `FlexibleSystem`
14
14
@@ -64,7 +64,7 @@ julia> atoms[1]
64
64
Atom(O, atomic_number =8, atomic_mass =15.999 u):
65
65
position : [0,0,-0.066678532]u"Å"
66
66
```
67
-
## Accessing System Properties
67
+
###Accessing System Properties
68
68
In case we need to look at what our system contains, we can use regular `keys` to see available system-level properties and `atomkeys` to see available atom-level properties
69
69
70
70
```Julia
@@ -90,7 +90,7 @@ julia> bounding_box(system)
90
90
:H
91
91
```
92
92
93
-
## Updating and/or adding system properties
93
+
### Updating and/or adding system properties
94
94
We can also update and/or add system properties by using `update_system` function that accepts keywords arguments. Below is an example of adding data that was parsed using `ccread` to a system.
95
95
```Julia
96
96
julia>using Cclib
@@ -101,7 +101,7 @@ julia> system[:nbasis]
101
101
7
102
102
```
103
103
104
-
# AtomsBase.jl-supported libraries
104
+
### AtomsBase.jl-supported libraries
105
105
106
106
We can use data loaded with Cclib.jl to perform calculations using other libraries that use AtomsBase.jl, such as [InteratomicPotentials.jl](https://github.com/cesmix-mit/InteratomicPotentials.jl) or [DFTK.jl](https://github.com/JuliaMolSim/DFTK.jl).
107
107
@@ -155,7 +155,7 @@ n Energy log10(ΔE) log10(Δρ) Diag Δtime
155
155
For a full list of tools that support AtomsBase.jl, refer to its [official
We can use information loaded using Cclib and use it for [Fermi.jl](https://github.com/FermiQC/Fermi.jl) calculations, which accept atom numbers and XYZ coordinates as input. The latter is accessible using Cclib's `getXYZ` function.
Copy file name to clipboardExpand all lines: docs/src/io.md
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
# Reading and writing files
2
2
3
-
# Supported formats
3
+
##Supported formats
4
4
Properties that can be parsed and supported file formats can be found [here](https://cclib.github.io/data.html#details-of-current-implementation").
5
5
6
-
# How to read files
6
+
##How to read files
7
7
```Julia
8
8
# Input files can be found in the in the repo under "test" folder
9
9
julia>using Cclib
@@ -22,5 +22,4 @@ Accessing the data is identical to how one would access data in a dictionary:
22
22
```Julia
23
23
julia> mol["natom"]
24
24
12
25
-
```
26
-
Note that files may contain more than one geometry, in which case the index of the geometry can be specified by passing `geomIdx` argument. Be default, `writeXYZ` will use the last read geometry.
0 commit comments