Skip to content

Hapticity and metallocenes ​

hapticity detects metal–ring interactions from a molecular graph and 3D coordinates. It reports the ring atoms coordinated to each transition metal, the hapticity η (number of contiguous ring atoms) and whether the system is a metallocene.

flowchart LR
    A[Bonds] --> B[Ring atoms]
    C[Metal + coordinates] --> D{Distance < r_M + r_C + 0.8 Å?}
    B --> D
    D --> E[Coordinated ring atoms]
    E --> F[Contiguous groups]
    F --> G[eta and centroid]
    G --> H{Two eta-5 rings on one metal?}
    H -- yes --> I[Metallocene]

Method ​

  1. Ring atoms are found with a DFS cycle detection over the bond list.
  2. For every transition metal, a ring atom is coordinated when its distance is below
rcut=rcov(M)+rcov(C)+0.8 Å,

where the extra 0.8 Å accounts for the longer haptic metal–ring bonds. 3. Coordinated ring atoms are split into contiguous groups using the bond list; each group is one haptic interaction with η=|group|. 4. A metallocene requires exactly one metal and two η5 interactions.

The centroid and metal_centroid_distance are reported in Å.

Example: ferrocene-like Fe(Cp)₂ ​

A staggered model with Fe at the origin and two five-membered rings at z=±1.65 Å gives:

json
{
  "interactions": [
    {
      "metal_index": 0,
      "metal_element": 26,
      "ring_atoms": [1, 2, 5, 3, 4],
      "hapticity": 5,
      "centroid": [0.0, 0.0, 1.65],
      "metal_centroid_distance": 1.65
    },
    {
      "metal_index": 0,
      "metal_element": 26,
      "ring_atoms": [6, 7, 10, 8, 9],
      "hapticity": 5,
      "centroid": [0.0, 0.0, -1.65],
      "metal_centroid_distance": 1.65
    }
  ],
  "is_metallocene": true,
  "n_interactions": 2
}

Water has no rings/metal and returns {"interactions": [], "is_metallocene": false, "n_interactions": 0}.

Validation and limits ​

  • Empty/mismatched/non-finite geometries are rejected; elements must be in Z=1–118.
  • Bond indices must be in 0..n_atoms and cannot be self-bonds.
  • Ring perception requires a cyclic bond list. If bonds are omitted, the CLI perceives them from covalent radii; unusual haptic coordination may need an explicit --bonds.
  • The 0.8 Å cutoff is a heuristic for haptic bonds, not a fitted value. The descriptor reports geometry, not a bonding energy.
  • Only transition metals (is_transition_metal) are considered.

Surfaces ​

SurfaceEntry point
CLIsci-form hapticity "<elements>" "<coords>" [--bonds JSON]
Rustperiodic::detect_hapticity, detect_hapticity_checked
Pythondetect_hapticity(elements, coords, bonds=None)
WASMdetect_hapticity(elements_json, coords_json, bonds_json)

Released under the MIT License.