Commit e248cb3
committed
fix cube file grid ordering bug, resize_grid point_tree bug & Bq atom validation
The meshgrid in the density code path used default 'xy' indexing which
produced (z-slow, x-mid, y-fast) ordering, mismatching the cube file's
(x-slow, y-mid, z-fast) density storage. This scrambled occupied grid
point positions, giving correct Mol_Vol but wrong %V_Bur. Fixed by
using indexing='ij' with .reshape(3,-1).T.
Also fixed resize_grid not returning an updated point_tree (sphere
volume error ~6% for cube files), and allowed Bq ghost atoms through
the VDW radii validation check so --sambvca works when atom1 is H.
Adds benzene and Ne test cube files at coarse/medium/fine resolutions.1 parent b987e30 commit e248cb3
9 files changed
Lines changed: 1497151 additions & 292 deletions
File tree
- dbstep
- tests/cube_files
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | | - | |
149 | | - | |
150 | 148 | | |
151 | 149 | | |
152 | 150 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | 151 | | |
158 | 152 | | |
159 | 153 | | |
| |||
167 | 161 | | |
168 | 162 | | |
169 | 163 | | |
170 | | - | |
171 | | - | |
172 | 164 | | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
| 165 | + | |
177 | 166 | | |
178 | 167 | | |
179 | 168 | | |
| |||
239 | 228 | | |
240 | 229 | | |
241 | 230 | | |
| 231 | + | |
242 | 232 | | |
243 | | - | |
| 233 | + | |
244 | 234 | | |
245 | 235 | | |
246 | 236 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
Large diffs are not rendered by default.
0 commit comments