Skip to main content

assemble_framework

Function assemble_framework 

Source
pub fn assemble_framework(
    node_sbu: &Sbu,
    linker_sbu: &Sbu,
    topology: &Topology,
    cell: &UnitCell,
) -> CrystalStructure
Expand description

Assemble a framework by placing SBUs on a topology.

node_sbu: the SBU placed at each topology node linker_sbu: the SBU placed along each topology edge topology: the periodic net topology cell: the unit cell for the framework

Returns the assembled crystal structure.