honeytools Module

Top level API: what you probably want to use


Uses

  • module~~honeytools~~UsesGraph module~honeytools honeytools module~hex_coordinates hex_coordinates module~honeytools->module~hex_coordinates module~hex_geometries hex_geometries module~honeytools->module~hex_geometries module~hex_layout hex_layout module~honeytools->module~hex_layout module~hex_neighbors hex_neighbors module~honeytools->module~hex_neighbors module~xy_coordinates xy_coordinates module~honeytools->module~xy_coordinates module~xy_neighbors xy_neighbors module~honeytools->module~xy_neighbors assert_m assert_m module~hex_coordinates->assert_m module~hex_geometries->module~hex_coordinates module~hex_geometries->module~hex_layout module~hex_geometries->assert_m module~hex_neighbors->module~hex_coordinates module~xy_coordinates->module~hex_coordinates module~xy_coordinates->module~hex_layout module~xy_coordinates->assert_m module~xy_neighbors->module~hex_layout module~xy_neighbors->module~xy_coordinates stdlib_sorting stdlib_sorting module~xy_neighbors->stdlib_sorting

Functions

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)

public pure function get_triangle(size, layout) result(lattice)

Get the lattice for a triangle-shaped flake

Arguments

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

Return Value type(xy_lattice)

public pure function get_flake(radius, layout) result(lattice)

Get the lattice for a hexagon-shaped flake

Arguments

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

Return Value type(xy_lattice)

public pure function get_stripe(height, width, layout) result(lattice)

Get the lattice for a hexagon-shaped flake

Arguments

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

Return Value type(xy_lattice)