hex2corner Function

public pure elemental function hex2corner(layout, H) result(corner)

Convert hex coordinates to real 2D space [returning the xy coordinates for the hexagon corners, as appropriatiely wrapped in the "xy_lattice" type] Actual real-space layout has to be specified by passing a (scalar) unit_cell object.

Arguments

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

Return Value type(xy_lattice)


Calls

proc~~hex2corner~~CallsGraph proc~hex2corner xy_coordinates::hex2corner proc~hex2center xy_coordinates::hex2center proc~hex2corner->proc~hex2center proc~ith_corner_offset xy_coordinates::ith_corner_offset proc~hex2corner->proc~ith_corner_offset

Called by

proc~~hex2corner~~CalledByGraph proc~hex2corner xy_coordinates::hex2corner 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