xnn.ffnn.models.gfnff_export.GFNFFExport#
- class xnn.ffnn.models.gfnff_export.GFNFFExport(model)[source]#
Bases:
_Termsnode_features_energy_chargesof a bound GFN-FF model: the energy of one conformation of a molecule or cluster as equal per-atom shares (eV), its EEQ charges, and no features.- Parameters:
model (GFNFF) – A model built without a cell.
- Raises:
ValueError – If the model is periodic.
- terms(pos)[source]#
The energies (Hartree) in the order of
TERMSand the EEQ charges of the conformation atpos(Angstrom,(N, 3)).
- node_features_energy_charges(atomic_numbers, edge_index, edge_vec, pos, cell, pbc, total_charge, spin_multiplicity)[source]#
The features
(N, 0), the energy as equal per-atom shares(N,)in eV and the EEQ charges(N,)of the bound system atpos; the neighbor list is not used (the model evaluates every pair), and the charge is the bound one.- Raises:
RuntimeError – If the atoms are not those of the bound system in its order, or the structure is periodic.
- Parameters:
- Return type: