Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(aim) | :: | this | ||||
integer, | intent(in) | :: | ind |
logical function is_impurity_site(this, ind)
class(aim) :: this
integer, intent(in) :: ind
character(*), parameter :: this_routine = "is_impurity_site"
ASSERT(ind > 0)
ASSERT(ind <= this%get_nsites())
is_impurity_site = this%sites(ind)%is_impurity()
end function is_impurity_site