Skip to content

Commit 3065b81

Browse files
andyclaude
andcommitted
Basis sets: load orbital-only aggregates (6-31G*, aug-cc-pVDZ, ...) as one whole set (#164)
The composite path assembled 6-31G* from 6-31G.BAS + 6-31GS.BAS at load time and was the source of #164 and its relatives: components sharing an identity so insertGBS() dropped the polarization shell, 6-31G saved as "6-31G*", SP interleaving in the MO ordering. tools/basissets/merge_aggregates.py fills the (until now empty) -AGG.BAS placeholder of the 83 aggregates whose components are all orbital-type .BAS files, per element orbital shells first then auxiliary ones, in the order TGBSConfig::dump() writes them. The loader reads a non-empty placeholder as one basis set named and typed as the aggregate; the file decides, so an older server (empty placeholders) still gets the component path, and an older client still skips "-AGG." files and reads the components, which stay. The 7 aggregates with an ECP component and the fitting sets are left alone. completeGroup() no longer re-adds the components of a stored calculation's aggregate next to the whole set. tests/basisload loads all 129 multi-file aggregates both ways and requires identical shells and identical dump() text (by name and in full); runs the cases against the shipped, poisoned, emptied-placeholder and in-place upgraded libraries. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A58GUKGuhByHAQG18Q8FPR
1 parent 6803e5c commit 3065b81

91 files changed

Lines changed: 44197 additions & 29 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 220 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,220 @@
1+
atom=H
2+
contraction shell=S num_primitives=2 num_coefficients=1
3+
5.447178 0.156285
4+
0.824547 0.904691
5+
contraction shell=S num_primitives=1 num_coefficients=1
6+
0.183192 1.000000
7+
atom=He
8+
contraction shell=S num_primitives=2 num_coefficients=1
9+
13.62670 0.175230
10+
1.999350 0.893483
11+
contraction shell=S num_primitives=1 num_coefficients=1
12+
0.382993 1.000000
13+
atom=Li
14+
contraction shell=S num_primitives=3 num_coefficients=1
15+
36.83820 0.0696686
16+
5.481720 0.381346
17+
1.113270 0.681702
18+
contraction shell=SP num_primitives=2 num_coefficients=2
19+
0.540205 -0.263127 0.161546
20+
0.102255 1.14339 0.915663
21+
contraction shell=SP num_primitives=1 num_coefficients=2
22+
0.028565 1.000000 1.000000
23+
atom=Be
24+
contraction shell=S num_primitives=3 num_coefficients=1
25+
71.88760 0.0644263
26+
10.72890 0.366096
27+
2.222050 0.695934
28+
contraction shell=SP num_primitives=2 num_coefficients=2
29+
1.295480 -0.421064 0.205132
30+
0.268881 1.224070 0.882528
31+
contraction shell=SP num_primitives=1 num_coefficients=2
32+
0.077350 1.000000 1.000000
33+
atom=B
34+
contraction shell=S num_primitives=3 num_coefficients=1
35+
116.4340 0.0629605
36+
17.43140 0.363304
37+
3.680160 0.697255
38+
contraction shell=SP num_primitives=2 num_coefficients=2
39+
2.281870 -0.368662 0.231152
40+
0.465248 1.19944 0.866764
41+
contraction shell=SP num_primitives=1 num_coefficients=2
42+
0.124328 1.000000 1.000000
43+
atom=C
44+
contraction shell=S num_primitives=3 num_coefficients=1
45+
172.2560 0.0617669
46+
25.91090 0.358794
47+
5.533350 0.700713
48+
contraction shell=SP num_primitives=2 num_coefficients=2
49+
3.664980 -0.395897 0.236460
50+
0.770545 1.215840 0.860619
51+
contraction shell=SP num_primitives=1 num_coefficients=2
52+
0.195857 1.000000 1.000000
53+
atom=N
54+
contraction shell=S num_primitives=3 num_coefficients=1
55+
242.7660 0.0598657
56+
36.48510 0.352955
57+
7.814490 0.706513
58+
contraction shell=SP num_primitives=2 num_coefficients=2
59+
5.425220 -0.413301 0.237972
60+
1.149150 1.224420 0.858953
61+
contraction shell=SP num_primitives=1 num_coefficients=2
62+
0.283205 1.000000 1.000000
63+
atom=O
64+
contraction shell=S num_primitives=3 num_coefficients=1
65+
322.0370 0.0592394
66+
48.43080 0.351500
67+
10.42060 0.707658
68+
contraction shell=SP num_primitives=2 num_coefficients=2
69+
7.402940 -0.404453 0.244586
70+
1.576200 1.221560 0.853955
71+
contraction shell=SP num_primitives=1 num_coefficients=2
72+
0.373684 1.000000 1.000000
73+
atom=F
74+
contraction shell=S num_primitives=3 num_coefficients=1
75+
413.8010 0.0585483
76+
62.24460 0.349308
77+
13.43400 0.709632
78+
contraction shell=SP num_primitives=2 num_coefficients=2
79+
9.777590 -0.407327 0.246680
80+
2.086170 1.223140 0.852321
81+
contraction shell=SP num_primitives=1 num_coefficients=2
82+
0.482383 1.000000 1.000000
83+
atom=Ne
84+
contraction shell=S num_primitives=3 num_coefficients=1
85+
515.7240 0.0581430
86+
77.65380 0.347951
87+
16.81360 0.710714
88+
contraction shell=SP num_primitives=2 num_coefficients=2
89+
12.48300 -0.409922 0.247460
90+
2.664510 1.224310 0.851743
91+
contraction shell=SP num_primitives=1 num_coefficients=2
92+
0.606250 1.000000 1.000000
93+
atom=Na
94+
contraction shell=S num_primitives=3 num_coefficients=1
95+
547.6130 0.0674911
96+
82.06780 0.393505
97+
17.69170 0.665605
98+
contraction shell=SP num_primitives=3 num_coefficients=2
99+
17.54070 -0.111937 0.128233
100+
3.793980 0.254654 0.471533
101+
0.906441 0.844417 0.604273
102+
contraction shell=SP num_primitives=2 num_coefficients=2
103+
0.501824 -0.219660 0.0090665
104+
0.0609458 1.089120 0.997202
105+
contraction shell=SP num_primitives=1 num_coefficients=2
106+
0.0244349 1.000000 1.000000
107+
contraction shell=D num_primitives=1 num_coefficients=1
108+
0.175000 1.000000
109+
atom=Mg
110+
contraction shell=S num_primitives=3 num_coefficients=1
111+
652.8410 0.0675982
112+
98.38050 0.391778
113+
21.29960 0.666661
114+
contraction shell=SP num_primitives=3 num_coefficients=2
115+
23.37270 -0.110246 0.121014
116+
5.199530 0.184119 0.462810
117+
1.315080 0.896399 0.606907
118+
contraction shell=SP num_primitives=2 num_coefficients=2
119+
0.611349 -0.361101 0.0242633
120+
0.141841 1.215050 0.986673
121+
contraction shell=SP num_primitives=1 num_coefficients=2
122+
0.0464011 1.000000 1.000000
123+
contraction shell=D num_primitives=1 num_coefficients=1
124+
0.175000 1.000000
125+
atom=Al
126+
contraction shell=S num_primitives=3 num_coefficients=1
127+
775.7370 0.0668347
128+
116.9520 0.389061
129+
25.33260 0.669468
130+
contraction shell=SP num_primitives=3 num_coefficients=2
131+
29.47960 -0.107902 0.117574
132+
6.633140 0.146245 0.461174
133+
1.726750 0.923730 0.605535
134+
contraction shell=SP num_primitives=2 num_coefficients=2
135+
0.946160 -0.320327 0.0519383
136+
0.202506 1.184120 0.972660
137+
contraction shell=SP num_primitives=1 num_coefficients=2
138+
0.0639088 1.000000 1.000000
139+
contraction shell=D num_primitives=1 num_coefficients=1
140+
0.325000 1.000000
141+
atom=Si
142+
contraction shell=S num_primitives=3 num_coefficients=1
143+
910.655 0.0660823
144+
137.336 0.3862290
145+
29.7601 0.6723800
146+
contraction shell=SP num_primitives=3 num_coefficients=2
147+
36.6716 -0.104511 0.113355
148+
8.31729 0.107410 0.457578
149+
2.21645 0.951446 0.607427
150+
contraction shell=SP num_primitives=2 num_coefficients=2
151+
1.07913 -0.376108 0.067103
152+
0.302422 1.251650 0.956883
153+
contraction shell=SP num_primitives=1 num_coefficients=2
154+
0.0933392 1.000000 1.000000
155+
contraction shell=D num_primitives=1 num_coefficients=1
156+
0.450000 1.000000
157+
atom=P
158+
contraction shell=S num_primitives=3 num_coefficients=1
159+
1054.900 0.065541
160+
159.1950 0.384036
161+
34.53040 0.674541
162+
contraction shell=SP num_primitives=3 num_coefficients=2
163+
44.28660 -0.102130 0.110851
164+
10.10190 0.081592 0.456495
165+
2.739970 0.969788 0.606936
166+
contraction shell=SP num_primitives=2 num_coefficients=2
167+
1.218650 -0.371495 0.091582
168+
0.395546 1.270990 0.934924
169+
contraction shell=SP num_primitives=1 num_coefficients=2
170+
0.122811 1.000000 1.000000
171+
contraction shell=D num_primitives=1 num_coefficients=1
172+
0.550000 1.000000
173+
atom=S
174+
contraction shell=S num_primitives=3 num_coefficients=1
175+
1210.620 0.065007
176+
182.7470 0.382040
177+
39.66730 0.676545
178+
contraction shell=SP num_primitives=3 num_coefficients=2
179+
52.22360 -0.100310 0.109646
180+
11.96290 0.065088 0.457649
181+
3.289110 0.981455 0.604261
182+
contraction shell=SP num_primitives=2 num_coefficients=2
183+
1.223840 -0.286089 0.164777
184+
0.457303 1.228060 0.870855
185+
contraction shell=SP num_primitives=1 num_coefficients=2
186+
0.142269 1.000000 1.000000
187+
contraction shell=D num_primitives=1 num_coefficients=1
188+
0.650000 1.000000
189+
atom=Cl
190+
contraction shell=S num_primitives=3 num_coefficients=1
191+
1376.40 0.0645827
192+
207.857 0.3803630
193+
45.1554 0.6781900
194+
contraction shell=SP num_primitives=3 num_coefficients=2
195+
60.8014 -0.0987639 0.108598
196+
13.9765 0.0511338 0.458682
197+
3.88710 0.9913370 0.601962
198+
contraction shell=SP num_primitives=2 num_coefficients=2
199+
1.35299 -0.222401 0.219216
200+
0.526955 1.182520 0.822321
201+
contraction shell=SP num_primitives=1 num_coefficients=2
202+
0.166714 1.000000 1.000000
203+
contraction shell=D num_primitives=1 num_coefficients=1
204+
0.750000 1.000000
205+
atom=Ar
206+
contraction shell=S num_primitives=3 num_coefficients=1
207+
1553.71 0.0641707
208+
234.678 0.3787970
209+
51.0121 0.6797520
210+
contraction shell=SP num_primitives=3 num_coefficients=2
211+
70.0453 -0.0974661 0.107619
212+
16.1473 0.0390569 0.459576
213+
4.53492 0.9999160 0.600041
214+
contraction shell=SP num_primitives=2 num_coefficients=2
215+
1.542090 -0.176866 0.255687
216+
0.607267 1.146900 0.789842
217+
contraction shell=SP num_primitives=1 num_coefficients=2
218+
0.195373 1.000000 1.000000
219+
contraction shell=D num_primitives=1 num_coefficients=1
220+
0.850000 1.000000

0 commit comments

Comments
 (0)