ith_corner_offset Function

private pure function ith_corner_offset(layout, i) result(offset)

Compute the i-th offset vector connecting the hexagon center to its corners, returning a (scalar) xy coordinate

Arguments

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

Return Value type(xy)


Called by

proc~~ith_corner_offset~~CalledByGraph proc~ith_corner_offset xy_coordinates::ith_corner_offset proc~hex2corner xy_coordinates::hex2corner proc~hex2corner->proc~ith_corner_offset proc~hex2site xy_coordinates::hex2site proc~hex2site->proc~ith_corner_offset proc~hex2lattice xy_coordinates::hex2lattice proc~hex2lattice->proc~hex2corner proc~hex_plot honeyplots::hex_plot proc~hex_plot->proc~hex2corner interface~plot honeyplots::plot interface~plot->proc~hex_plot 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