get_impurities Function

private function get_impurities(this) result(imp_sites)

Type Bound

aim

Arguments

Type IntentOptional Attributes Name
class(aim) :: this

Return Value integer, (this%n_imps)


Contents

Source Code


Source Code

    function get_impurities(this) result(imp_sites)
        class(aim) :: this
        integer :: imp_sites(this%n_imps)

        ! i guees it is better to store the impurity and the bath
        ! indices
        imp_sites = this%impurity_sites
    end function get_impurities