get_supercell Function

public pure function get_supercell(rows, cols, layout) result(lattice)

Get the lattice for a honeycomb supercell

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: rows
integer, intent(in) :: cols
type(unit_cell), intent(in) :: layout

Return Value type(xy_lattice)


Calls

proc~~get_supercell~~CallsGraph proc~get_supercell honeytools::get_supercell proc~hex2lattice xy_coordinates::hex2lattice proc~get_supercell->proc~hex2lattice proc~hex_supercell hex_geometries::hex_supercell proc~get_supercell->proc~hex_supercell proc~hex2corner xy_coordinates::hex2corner proc~hex2lattice->proc~hex2corner proc~xy_ordered_union xy_coordinates::xy_ordered_union proc~hex2lattice->proc~xy_ordered_union proc~hex2center xy_coordinates::hex2center proc~hex2corner->proc~hex2center proc~ith_corner_offset xy_coordinates::ith_corner_offset proc~hex2corner->proc~ith_corner_offset proc~push_back xy_coordinates::xy_lattice%push_back proc~xy_ordered_union->proc~push_back