mirror of
https://github.com/LCPQ/quantum_package
synced 2024-12-22 20:35:19 +01:00
Fixed pseudo in gamess file
This commit is contained in:
parent
76f6de92fd
commit
c44a660a97
@ -309,16 +309,14 @@ def write_ezfio(res, filename):
|
|||||||
array_l_max_block.append(l_max_block)
|
array_l_max_block.append(l_max_block)
|
||||||
array_z_remove.append(z_remove)
|
array_z_remove.append(z_remove)
|
||||||
|
|
||||||
x = [[ filter(None,coef_n_zeta.split()) for coef_n_zeta in l.split('\n')] \
|
x = []
|
||||||
for l in array_party[1:] ]
|
for l in array_party[1:]:
|
||||||
# x = []
|
y = []
|
||||||
# for l in array_party[1:]:
|
for coef_n_zeta in l.split('\n'):
|
||||||
# y = []
|
z = coef_n_zeta.split()
|
||||||
# for coef_n_zeta in l.split('\n'):
|
if z : y.append(z)
|
||||||
# z = coef_n_zeta.split()
|
x.append(y)
|
||||||
# if z : y.append(z)
|
matrix.append(x)
|
||||||
# x.append(y)
|
|
||||||
# matrix.append(x)
|
|
||||||
return (matrix, array_l_max_block, array_z_remove)
|
return (matrix, array_l_max_block, array_z_remove)
|
||||||
|
|
||||||
def get_local_stuff(matrix):
|
def get_local_stuff(matrix):
|
||||||
@ -400,8 +398,8 @@ def write_ezfio(res, filename):
|
|||||||
klocmax, m_coef, m_n, m_zeta = get_local_stuff(matrix)
|
klocmax, m_coef, m_n, m_zeta = get_local_stuff(matrix)
|
||||||
ezfio.pseudo_pseudo_klocmax = klocmax
|
ezfio.pseudo_pseudo_klocmax = klocmax
|
||||||
|
|
||||||
ezfio.pseudo_pseudo_v_k = zip(*m_coef)
|
ezfio.pseudo_pseudo_v_k = zip(*m_coef)
|
||||||
ezfio.pseudo_pseudo_n_k = zip(*m_n)
|
ezfio.pseudo_pseudo_n_k = zip(*m_n)
|
||||||
ezfio.pseudo_pseudo_dz_k = zip(*m_zeta)
|
ezfio.pseudo_pseudo_dz_k = zip(*m_zeta)
|
||||||
|
|
||||||
# ~#~#~#~#~#~#~#~#~ #
|
# ~#~#~#~#~#~#~#~#~ #
|
||||||
|
Loading…
Reference in New Issue
Block a user