get_triangle Function

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)


Calls

proc~~get_triangle~~CallsGraph proc~get_triangle honeytools::get_triangle proc~hex2lattice xy_coordinates::hex2lattice proc~get_triangle->proc~hex2lattice proc~hex_triangle hex_geometries::hex_triangle proc~get_triangle->proc~hex_triangle proc~hex2corner xy_coordinates::hex2corner proc~hex2lattice->proc~hex2corner proc~xy_ordered_union xy_coordinates::xy_ordered_union proc~hex2lattice->proc~xy_ordered_union assert assert proc~hex_triangle->assert proc~hex_insert hex_geometries::hex_insert proc~hex_triangle->proc~hex_insert 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