10
1
mirror of https://github.com/pfloos/quack synced 2025-05-06 23:24:58 +02:00

Fixed unit bug

This commit is contained in:
Loris Burth 2025-03-20 18:16:39 +01:00
parent 6755e7f365
commit ef50c07685

View File

@ -225,7 +225,8 @@ if args.use_cap:
"angular_points": "590",
"thresh": 10}
pc = pyopencap.CAP(cap_system, cap_dict, norb)
cap_ao = pc.get_ao_cap(ordering="pyscf")
# Get AO and convert from eV to Hartree
cap_ao = pc.get_ao_cap(ordering="pyscf")/27.211386245981
def write_matrix_to_file(matrix, size, file, cutoff=1e-15):