Dual network¶
Script: examples/topology/10_dual_network.py
Two assemble steps, two SITE namespaces — complex materials are stacks of simple edits.
- Mark
x/h, partial random crosslink (XLINK) - Clear first labels, mark
y/k, secondassemblewithXLINK2
# net1: RandomSelector on XLINK (sites x/h)
# clear SITE x/h
# mark second population y/k
# net2: ExhaustiveSelector on XLINK2
Note: after the first network percolates, bond-components may be a single “molecule”. exclude_same_molecule=True then forbids every pair; the second pass in the example allows same-component pairs and relies on SITE + cutoff only.