get_sym_from_k Function

private pure function get_sym_from_k(this, k) result(sym)

Type Bound

lattice

Arguments

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

Return Value integer


Contents

Source Code


Source Code

    pure function get_sym_from_k(this, k) result(sym)
        ! the routine to get the symmetry label associated with the k-vector k
        class(lattice), intent(in) :: this
        integer, intent(in) :: k(3)
        integer :: sym

        sym = this%k_to_sym(k(1), k(2), k(3))

    end function get_sym_from_k