get_k_vec Function

private pure function get_k_vec(this, orb) result(k_vec)

Type Bound

lattice

Arguments

Type IntentOptional Attributes Name
class(lattice), intent(in) :: this
integer, intent(in) :: orb

Return Value integer, (3)


Contents

Source Code


Source Code

    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