The Grid File for Jaguar Calculations
The grid input file (.grid file) determines the grids used during the calculation. Each grid type, for example, “coarse” or “ultrafine,” is constructed from grids assigned to each atom in the molecule. For any basis set for which the pseudospectral method is used, the grid file must contain grids for each grid type used, where each of these grid types in turn requires atomic grids for each element in the molecule. Grids can be assigned to grid types in the input file using the gen section keywords gcoarse, gmedium, and so on.
The first line of a .grid file contains a character string which includes the version number of Jaguar. This string should be gridv followed immediately by four digits giving the version number times 100. Leading zeroes are added if necessary.
The next line should consist of an integer which gives the number of grid types described in the file. For instance, this number would be six if the grids specified were of the types coarse, medium, fine, ultrafine, eldens (for electron density calculations), and gradient. By default, Jaguar uses the coarse grid for electron density calculations and the ultrafine grid for gradient calculations, and the “extreme” grid is included for testing purposes, so the number of grid types in the file default.grid is actually five. Jaguar uses the grids upon each atom in the molecule provided by the .grid file to generate molecular grids.
All grids for each basis set are then listed in turn. The basis set is identified with a BASIS line and containing its name, and is followed by a blank line.
Each molecular grid description starts with two comment lines, usually a blank line followed by a descriptive line. The next line contains an integer flag which determines which points from the atomic grids for the atoms in a molecule are included in the molecular grid. Jaguar generates a boundary plane between the two atoms and perpendicular to the vector between them, disposing of any points from one atom that are on the other atom’s side of the boundary plane. The integer flag determines the location of this plane: if the flag is 0, the plane is located so that the ratio of the distances of the atoms to the plane is the same as the ratio of their covalent radii, while if it is −1, the boundary plane is set where the grid point density from each atom, on the vector between the atoms, is equal. The grid point density is determined as a spline fit of the density for each shell, where each shell’s density is determined as the number of points for that shell divided by the shell volume, which is the volume between the spheres whose radii are the average of the current and previous shell radii, and the current and following shell radii.
After the flag for the grid, information for each atomic grid is provided. The first line of each atomic grid section contains two integers, one providing the atomic number for that atom and the other giving the number of shells to be described. Currently, this second number should be 30 or less. The next line contains that number of entries defining the radial shell spacing, listing the radius of each shell in bohr. Grid points for that shell will be placed at that radius, in a pattern determined by the integers given in the third line. This last line of integers represents the density of the angular grid for each shell. The values are explained below.
The default.grid file for Jaguar begins as follows:
gridvversion 5 24 BASIS 6-31G coarse grid -1 1 6 0.23021 0.71955 1.74518 2.82595 3.94135 6.40743 1 3 7 7 3 1 2 7 0.20699 0.45860 0.97184 1.61794 2.40119 3.26487 5.20964 1 3 7 9 7 3 1 3 7 0.59584 1.69094 3.39571 5.30494 7.49262 11.30338 16.61803 1 3 7 9 7 3 1
Blank lines have been added between atomic grids for readability. Data may be spread over multiple lines.
As explained above, the beginning of the default.grid file indicates that five grid types are listed for each atom (corresponding to the coarse, medium, fine, ultrafine, and gradient grids. All coarse grids for 6‑31G (with or without the polarization functions indicated by the **) will set the boundary plane between atoms (described earlier) at the point where the grid point densities are the same for the two atoms, because of the “−1” flag. Next, seven shells apiece are specified for H (atomic number 1), He (atomic number 2), and Li (atomic number 3). The actual default.grid file continues with a list of coarse atomic grids for the other atoms in the basis set, followed by the medium, fine, and ultrafine atomic grids in the same format, before proceeding to define the grids for another basis set in the same manner.
The possible values of the numbers on the angular grid line are listed in Table 1, along with the corresponding number of points per angular shell and the degree of the highest spherical harmonic which the grid integrates exactly, when relevant. The full references are provided in Jaguar References.
|
Entry |
Points |
Degree |
Reference for Grid |
|
1 |
6 |
3 |
Un 3-1 (Stroud), p.294 [215] |
|
2 |
8 |
3 |
Un 3-2 (Stroud), p.294 [215] |
|
3 |
12 |
3 |
U3 3-1 (McLaren), p.296 [215] |
|
4 |
14 |
5 |
Un 5-2 (Albrecht & Collatz), p.294 [215] |
|
5 |
18 |
5 |
Un 5-1 (Albrecht & Collatz), p.294 [215] |
|
6 |
18 |
5 |
Un 5-1 (Albrecht & Collatz), p.294 [215] |
|
7 |
24 |
5 |
Un 5-4 (Stroud), p.295 [215] |
|
8 |
26 |
7 |
Un 7-1 (Albrecht & Collatz), p.295 [215] |
|
9 |
38 |
9 |
9.1 (Lebedev) [216] |
|
10 |
38 |
9 |
9.1 (Lebedev) [216] |
|
11 |
42 |
9 |
9.2 (Lebedev) [216] |
|
12 |
44 |
9 |
9.3 (Lebedev) [216] |
|
13 |
44 |
9 |
9.4 (Lebedev) [216] |
|
14 |
50 |
11 |
|
|
15 |
54 |
11 |
11.2 (Lebedev) [216] |
|
16 |
56 |
11 |
U3 11-2 (Stroud), p.301 [215] |
|
17 |
60 |
11 |
11.3 (Lebedev) [216] |
|
18 |
60 |
11 |
11.3 (Lebedev) [216] |
|
19 |
78 |
13 |
13.2 (Lebedev) [216] |
|
20 |
78 |
13 |
13.3 (Lebedev) [216] |
|
21 |
86 |
15 |
15.1 (Lebedev) [216] |
|
22 |
90 |
15 |
15.2 (Lebedev) [216] |
|
23 |
90 |
15 |
15.2 (Lebedev) [216] |
|
24 |
110 |
17 |
17.1 (Lebedev) [216] |
|
25 |
116 |
17 |
17.2 (Lebedev) [216] |
|
26 |
146 |
19 |
19 (Lebedev) [217] |
|
27 |
146 |
19 |
19 (Lebedev) [217] |
|
28 |
194 |
23 |
23 (Lebedev) [217] |
|
29 |
302 |
29 |
29 (Lebedev) [218] |
|
30 |
434 |
35 |
Lebedev [219] |
|
31 |
590 |
41 |
Lebedev [220] |
|
32 |
770 |
47 |
Lebedev [220]] |
|
33 |
974 |
53 |
Lebedev [220]] |
|
34 |
1202 |
59 |
Lebedev [220]] |
|
35 |
1454 |
65 |
Lebedev [220]] |
|
36 |
1730 |
71 |
Lebedev [220]] |
|
37 |
2030 |
77 |
Lebedev [220]] |
|
38 |
2354 |
83 |
Lebedev [220]] |
|
39 |
2702 |
89 |
Lebedev [220]] |
|
40 |
3074 |
95 |
Lebedev [220]] |
|
41 |
3470 |
101 |
Lebedev [220]] |
|
42 |
3890 |
107 |
Lebedev [220]] |
|
43 |
4334 |
113 |
Lebedev [220]] |
|
44 |
4802 |
119 |
Lebedev [220]] |
|
45 |
5294 |
125 |
Lebedev [220]] |
|
46 |
5810 |
131 |
Lebedev [220]] |