hex2center Function

public pure elemental function hex2center(layout, H) result(center)

Convert hex coordinates to real 2D space [returning the xy coordinates of the hexagon center] 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)


Called by

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