hex2lattice Function

public pure function hex2lattice(layout, hexagons) result(lattice)

Generate a type(xy_lattice) object from any given hex array, provided a suitable layout (unit-cell)

Arguments

Type IntentOptional Attributes Name
type(unit_cell), intent(in) :: layout
type(hex), intent(in) :: hexagons(:)

Return Value type(xy_lattice)


Calls

proc~~hex2lattice~~CallsGraph proc~hex2lattice xy_coordinates::hex2lattice 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

Called by

proc~~hex2lattice~~CalledByGraph proc~hex2lattice xy_coordinates::hex2lattice proc~get_flake honeytools::get_flake proc~get_flake->proc~hex2lattice proc~get_stripe honeytools::get_stripe proc~get_stripe->proc~hex2lattice proc~get_supercell honeytools::get_supercell proc~get_supercell->proc~hex2lattice proc~get_triangle honeytools::get_triangle proc~get_triangle->proc~hex2lattice