mirror of
https://github.com/pfloos/quack
synced 2025-01-03 01:56:09 +01:00
mini modif
This commit is contained in:
parent
ba5da9536a
commit
ce1882cd4e
@ -162,8 +162,7 @@ else:
|
|||||||
eri_mmap = np.memmap(output_file_path, dtype='float64', mode='w+', shape=eri_shape)
|
eri_mmap = np.memmap(output_file_path, dtype='float64', mode='w+', shape=eri_shape)
|
||||||
mol.intor('int2e', out=eri_mmap)
|
mol.intor('int2e', out=eri_mmap)
|
||||||
for i in range(norb):
|
for i in range(norb):
|
||||||
transposed_chunk = eri_mmap[i, :, :, :].transpose(1, 0, 2)
|
eri_mmap[i, :, :, :] = eri_mmap[i, :, :, :].transpose(1, 0, 2)
|
||||||
eri_mmap[i, :, :, :] = transposed_chunk
|
|
||||||
eri_mmap.flush()
|
eri_mmap.flush()
|
||||||
del eri_mmap
|
del eri_mmap
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user