Skip to content

Commit c6a1d10

Browse files
committed
get rid of hlist and add_centers in return
this was discussed with Leah; they actually don't need it for mixed BE
1 parent 8a9413a commit c6a1d10

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

src/quemb/molbe/autofrag.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ def autogen(
337337
edgsites : list of list of list of int
338338
List of edge sites for each fragment where each edge is a list of LO indices.
339339
center : list of list of int
340-
List of center indices for each edge.
340+
List of the fragment index of each edge site for all fragments.
341341
edge_idx : list of list of list of int
342342
List of edge indices for each fragment where each edge index is a list of
343343
LO indices.
@@ -353,11 +353,6 @@ def autogen(
353353
Heavy atom indices for each fragment, per fragment
354354
cen: list
355355
Atom indices of all centers
356-
hlist: list of lists
357-
All hydrogen atom indices for each fragment, per fragment
358-
add_centers: list of lists
359-
"additional centers" for all fragments, per fragment: contains heavy atoms
360-
which are not centers in any other fragments
361356
"""
362357

363358
if not valence_only:
@@ -772,6 +767,4 @@ def autogen(
772767
ebe_weight,
773768
Frag,
774769
cen,
775-
hlist,
776-
add_centers,
777770
)

src/quemb/molbe/fragment.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ def __init__(
5858
mol=None,
5959
frozen_core=False,
6060
):
61-
# Initialize class attributes
6261
self.mol = mol
6362
self.frag_type = frag_type
6463
self.fsites = []
@@ -73,12 +72,8 @@ def __init__(
7372
self.frozen_core = frozen_core
7473
self.iao_valence_basis = iao_valence_basis
7574
self.valence_only = valence_only
76-
77-
# Initialize class attributes necessary for mixed-basis BE
7875
self.Frag_atom = []
7976
self.center_atom = []
80-
self.hlist_atom = []
81-
self.add_center_atom = []
8277

8378
# Check for frozen core approximation
8479
if frozen_core:
@@ -135,8 +130,6 @@ def __init__(
135130
self.ebe_weight,
136131
self.Frag_atom,
137132
self.center_atom,
138-
self.hlist_atom,
139-
self.add_center_atom,
140133
) = fgs
141134
self.Nfrag = len(self.fsites)
142135

0 commit comments

Comments
 (0)