quemb.molbe.chemfrag.Fragmented¶
- class quemb.molbe.chemfrag.Fragmented(*, mol, conn_data, frag_structure, AO_per_atom, AO_per_frag, AO_per_motif, AO_per_edge_per_frag, rel_AO_per_motif_per_frag, rel_AO_per_edge_per_frag, rel_AO_per_center_per_frag, rel_AO_per_origin_per_frag, other_rel_AO_per_edge_per_frag)¶
Contains the whole BE fragmentation information, including AO indices.
This takes into account the geometrical data and the used basis sets, hence it “knows” which AO index belongs to which atom and which fragment. It depends on
PurelyStructureFragmented
to store structural data, but contains more information.Attributes
-
conn_data:
Final
[BondConnectivity
]¶
-
frag_structure:
Final
[PurelyStructureFragmented
]¶
-
AO_per_atom:
Final
[Sequence
[OrderedSet
[NewType
(GlobalAOIdx
,NewType
(AOIdx
,int
))]]]¶ The atomic orbital indices per atom
-
AO_per_frag:
Final
[Sequence
[OrderedSet
[NewType
(GlobalAOIdx
,NewType
(AOIdx
,int
))]]]¶ The atomic orbital indices per fragment
-
AO_per_motif:
Final
[Mapping
[NewType
(MotifIdx
,NewType
(AtomIdx
,int
)),OrderedSet
[NewType
(GlobalAOIdx
,NewType
(AOIdx
,int
))]]]¶ The atomic orbital indices per motif
-
AO_per_edge_per_frag:
Final
[Sequence
[Mapping
[NewType
(EdgeIdx
,NewType
(MotifIdx
,NewType
(AtomIdx
,int
))),OrderedSet
[NewType
(GlobalAOIdx
,NewType
(AOIdx
,int
))]]]]¶ The atomic orbital indices per edge per fragment. The AO index is global. This variable was formerly known as
edgesites
.
-
rel_AO_per_motif_per_frag:
Final
[Sequence
[Mapping
[NewType
(MotifIdx
,NewType
(AtomIdx
,int
)),OrderedSet
[NewType
(OwnRelAOIdx
,NewType
(AOIdx
,int
))]]]]¶ The relative atomic orbital indices per motif per fragment. Relative means that the AO indices are relative to the own fragment.
-
rel_AO_per_edge_per_frag:
Final
[Sequence
[Mapping
[NewType
(EdgeIdx
,NewType
(MotifIdx
,NewType
(AtomIdx
,int
))),OrderedSet
[NewType
(OwnRelAOIdx
,NewType
(AOIdx
,int
))]]]]¶ The relative atomic orbital indices per edge per fragment. Relative means that the AO indices are relative to the own fragment. This variable is a strict subset of
rel_AO_per_motif_per_frag
, in the sense that the motif indices, the keys in the mapping, are restricted to the edges of the fragment. This variable was formerly known asedge_idx
.
-
rel_AO_per_center_per_frag:
Final
[Sequence
[Mapping
[NewType
(CenterIdx
,NewType
(MotifIdx
,NewType
(AtomIdx
,int
))),OrderedSet
[NewType
(OwnRelAOIdx
,NewType
(AOIdx
,int
))]]]]¶ Is the complement of
rel_AO_per_edge_per_frag
. This variable was formerly known asebe_weight
. Note thatebe_weight
also contained the weight for democratic matching. This was always 1.0 inquemb.molbe.autofrag.autogen()
so it did actually not matter.
-
rel_AO_per_origin_per_frag:
Final
[Sequence
[Mapping
[NewType
(OriginIdx
,NewType
(CenterIdx
,NewType
(MotifIdx
,NewType
(AtomIdx
,int
)))),OrderedSet
[NewType
(OwnRelAOIdx
,NewType
(AOIdx
,int
))]]]]¶ The relative atomic orbital indices per origin per fragment. Relative means that the AO indices are relative to the own fragment. This variable is a subset of
rel_AO_per_center_per_frag
, in the sense that the motif indices, the keys in the mapping, are restricted to the origins of the fragment. This variable was formerly known ascenterf_idx
.
-
other_rel_AO_per_edge_per_frag:
Final
[Sequence
[Mapping
[NewType
(EdgeIdx
,NewType
(MotifIdx
,NewType
(AtomIdx
,int
))),OrderedSet
[NewType
(OtherRelAOIdx
,NewType
(AOIdx
,int
))]]]]¶ The relative atomic orbital indices per edge per fragment. Relative means that the AO indices are relative to the other fragment where the edge is a center. This variable was formerly known as
center_idx
.
Methods
__init__
(*, mol, conn_data, frag_structure, ...)Method generated by attrs for class Fragmented.
from_frag_structure
(mol, frag_structure)Construct a
Fragmented
from_mole
(mol, n_BE, *[, treat_H_different, ...])Construct a
Fragmented
frompyscf.gto.mole.Mole
.Match the output of
quemb.molbe.autofrag.autogen()
.-
conn_data: