@@ -35,13 +35,13 @@ polynomial, and :math:`N` a normalization constant such that
3535GTOs are a fundamental building block of CGF (see below) and typically a user would
3636not directly work with them. Nevertheless, GTO objects can be constructed as follows::
3737
38- from pyqint import PyQInt, cgf, gto
38+ from pyqint import PyQInt, CGF, GTO
3939
4040 coeff = 1.0 # coefficients only have meaning for GTOs within a CGF
4141 alpha = 0.5
4242 l,m,n = 0,0,0
4343 p = (0,0,0)
44- G = gto (coeff, p, alpha, l, m, n)
44+ G = GTO (coeff, p, alpha, l, m, n)
4545
4646.. note ::
4747 If you work with individual GTOs, the first parameter to construct the GTO
@@ -62,9 +62,9 @@ is esentially a linear combination of GTOs as given by
6262 To build a CGF, we first have to produce the CGF object and then
6363add GTOs to it::
6464
65- from pyqint import PyQInt, cgf
65+ from pyqint import PyQInt, CGF
6666
67- cgf = cgf ([0.0, 0.0, 0.0])
67+ cgf = CGF ([0.0, 0.0, 0.0])
6868
6969 cgf.add_gto(0.154329, 3.425251, 0, 0, 0)
7070 cgf.add_gto(0.535328, 0.623914, 0, 0, 0)
@@ -97,15 +97,15 @@ are separated by a distance of 1.4 Bohr.
9797
9898.. code-block :: python
9999
100- from pyqint import PyQInt, cgf
100+ from pyqint import PyQInt, CGF
101101 import numpy as np
102102 from copy import deepcopy
103103
104104 # construct integrator object
105105 integrator = PyQInt()
106106
107107 # build CGF for a H atom located at the origin
108- cgf1 = cgf ([0.0 , 0.0 , 0.0 ])
108+ cgf1 = CGF ([0.0 , 0.0 , 0.0 ])
109109
110110 cgf1.add_gto(0.154329 , 3.425251 , 0 , 0 , 0 )
111111 cgf1.add_gto(0.535328 , 0.623914 , 0 , 0 , 0 )
@@ -145,15 +145,15 @@ are separated by a distance of 1.4 Bohr.
145145
146146.. code-block :: python
147147
148- from pyqint import PyQInt, cgf, gto
148+ from pyqint import PyQInt, CGF
149149 import numpy as np
150150 from copy import deepcopy
151151
152152 # construct integrator object
153153 integrator = PyQInt()
154154
155155 # build CGF for a H atom located at the origin
156- cgf1 = cgf ([0.0 , 0.0 , 0.0 ])
156+ cgf1 = CGF ([0.0 , 0.0 , 0.0 ])
157157
158158 cgf1.add_gto(0.154329 , 3.425251 , 0 , 0 , 0 )
159159 cgf1.add_gto(0.535328 , 0.623914 , 0 , 0 , 0 )
@@ -195,15 +195,15 @@ the nuclei are the same.
195195
196196.. code-block :: python
197197
198- from pyqint import PyQInt, cgf, gto
198+ from pyqint import PyQInt, CGF
199199 import numpy as np
200200 from copy import deepcopy
201201
202202 # construct integrator object
203203 integrator = PyQInt()
204204
205205 # build CGF for a H atom located at the origin
206- cgf1 = cgf ([0.0 , 0.0 , 0.0 ])
206+ cgf1 = CGF ([0.0 , 0.0 , 0.0 ])
207207
208208 cgf1.add_gto(0.154329 , 3.425251 , 0 , 0 , 0 )
209209 cgf1.add_gto(0.535328 , 0.623914 , 0 , 0 , 0 )
@@ -260,15 +260,15 @@ system are calculated.
260260
261261.. code-block :: python
262262
263- from pyqint import PyQInt, cgf, gto
263+ from pyqint import PyQInt, CGF
264264 import numpy as np
265265 from copy import deepcopy
266266
267267 # construct integrator object
268268 integrator = PyQInt()
269269
270270 # build CGF for a H atom located at the origin
271- cgf1 = cgf ([0.0 , 0.0 , 0.0 ])
271+ cgf1 = CGF ([0.0 , 0.0 , 0.0 ])
272272
273273 cgf1.add_gto(0.154329 , 3.425251 , 0 , 0 , 0 )
274274 cgf1.add_gto(0.535328 , 0.623914 , 0 , 0 , 0 )
@@ -776,13 +776,13 @@ In the example code shown below, the latter is done.
776776
777777 cgfs = []
778778 for n in nuclei:
779- _cgf = cgf (n[0 ])
779+ cgf = CGF (n[0 ])
780780
781- _cgf .add_gto(0.154329 , 3.425251 , 0 , 0 , 0 )
782- _cgf .add_gto(0.535328 , 0.623914 , 0 , 0 , 0 )
783- _cgf .add_gto(0.444635 , 0.168855 , 0 , 0 , 0 )
781+ cgf .add_gto(0.154329 , 3.425251 , 0 , 0 , 0 )
782+ cgf .add_gto(0.535328 , 0.623914 , 0 , 0 , 0 )
783+ cgf .add_gto(0.444635 , 0.168855 , 0 , 0 , 0 )
784784
785- cgfs.append(_cgf )
785+ cgfs.append(cgf )
786786
787787 res = HF().rhf(mol, basis = cgfs, verbose = True )
788788
0 commit comments