encode_excit_typ_rdm Subroutine

private pure subroutine encode_excit_typ_rdm(rdm_ind, excit_typ)

Arguments

Type IntentOptional Attributes Name
integer(kind=int_rdm), intent(inout) :: rdm_ind
integer, intent(in) :: excit_typ

Contents

Source Code


Source Code

    pure subroutine encode_excit_typ_rdm(rdm_ind, excit_typ)
        integer(int_rdm), intent(inout) :: rdm_ind
        integer, intent(in) :: excit_typ

        call mvbits(int(excit_typ, int_rdm), 0, n_excit_type_bits, &
                    rdm_ind, pos_excit_type_bits)

    end subroutine encode_excit_typ_rdm