ith_A_offset Function

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

Compute the offset vector connecting a site with label "A", to its i-th neighbor, returning a (scalar) xy coordinate. It takes any i ∈ ℤ, but there will only be 3 inequivalent output vectors, pointing to the three nearest neighbors.

Arguments

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

Return Value type(xy)


Called by

proc~~ith_a_offset~~CalledByGraph proc~ith_a_offset xy_neighbors::ith_A_offset proc~xy_nn_hop xy_neighbors::xy_nn_hop proc~xy_nn_hop->proc~ith_a_offset proc~xy_nnn_hop xy_neighbors::xy_nnn_hop proc~xy_nnn_hop->proc~xy_nn_hop