Skip to content

build_intrcmap

Generate a bare interaction map from a Geometry instance.

build_intrcmap

build_intrcmap(geo: Geometry) -> List[Interaction2Site]

Generate an interaction map from a Geometry instance.

Looks up the lattice builder registered for geo.lattice and delegates to it.

Parameters:

Name Type Description Default
geo Geometry

Fully-resolved geometry struct, typically produced by build_geometry.

required

Returns:

Type Description
list[Interaction2Site]

Interaction objects sorted by leading_site, with cpl == 0.0 and tensor fields set to None.

See Also