Skip to content

Commit 63aa794

Browse files
committed
f! species active
1 parent d8833f9 commit 63aa794

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

arc/species/species.py

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,15 @@ class ARCSpecies(object):
184184
fragments (Optional[List[List[int]]]):
185185
Fragments represented by this species, i.e., as in a VdW well or a TS.
186186
Entries are atom index lists of all atoms in a fragment, each list represents a different fragment.
187-
active (Tuple[int, int], optional): The number of active electrons and orbitals, usually from a molpro CCSD sp calc.
188-
The first value is the number of active electrons, determined by the total
189-
number of electrons minus the core electrons (2 e's per heavy atom).
190-
The second value is the number of active orbitals, determined by the number
191-
of closed-shell orbitals and active orbitals (w/o core orbitals).
187+
active (dict, optional): The active orbitals. Possible keys are:
188+
'occ' (List[int]): The occupied orbitals.
189+
'closed' (List[int]): The closed-shell orbitals.
190+
'frozen' (List[int]): The frozen orbitals.
191+
'core' (List[int]): The core orbitals.
192+
'e_o' (Tuple[int, int]): The number of active electrons, determined by the total number
193+
of electrons minus the core electrons (2 e's per heavy atom), and the number of active
194+
orbitals, determined by the number of closed-shell orbitals and active orbitals
195+
(w/o core orbitals).
192196
irc_label (str, optional): The label of an original ``ARCSpecies`` object (a TS) for which an IRC job was spawned.
193197
The present species object instance represents a geometry optimization job of the IRC
194198
result in one direction.
@@ -290,7 +294,7 @@ class ARCSpecies(object):
290294
fragments (Optional[List[List[int]]]):
291295
Fragments represented by this species, i.e., as in a VdW well or a TS.
292296
Entries are atom index lists of all atoms in a fragment, each list represents a different fragment.
293-
active (Tuple[int, int], optional): The number of active electrons and orbitals, usually from a molpro CCSD sp calc.
297+
active (dict): The active orbitals.
294298
irc_label (str): The label of an original ``ARCSpecies`` object (a TS) for which an IRC job was spawned.
295299
The present species object instance represents a geometry optimization job of the IRC
296300
result in one direction. If a species is a transition state, then this attribute contains the
@@ -301,6 +305,7 @@ class ARCSpecies(object):
301305
"""
302306

303307
def __init__(self,
308+
active: Optional[dict] = None,
304309
adjlist: str = '',
305310
bdes: Optional[list] = None,
306311
bond_corrections: Optional[dict] = None,
@@ -322,7 +327,6 @@ def __init__(self,
322327
multiplicity: Optional[int] = None,
323328
multi_species: Optional[str] = None,
324329
number_of_radicals: Optional[int] = None,
325-
active: Optional[Tuple[int, int]] = None,
326330
optical_isomers: Optional[int] = None,
327331
preserve_param_in_scan: Optional[list] = None,
328332
rmg_species: Optional[Species] = None,

0 commit comments

Comments
 (0)