Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(lattice), | intent(in) | :: | this | |||
integer, | intent(in) | :: | orb |
pure function get_k_vec(this, orb) result(k_vec)
class(lattice), intent(in) :: this
integer, intent(in) :: orb
integer :: k_vec(3)
k_vec = this%sites(orb)%k_vec
end function get_k_vec