sc_has_it Function

private function sc_has_it(self, it)

Is the passed it a member of this supercell

Type Bound

supercell_type

Arguments

Type IntentOptional Attributes Name
class(supercell_type), intent(in) :: self
integer, intent(in) :: it

Return Value logical


Contents

Source Code


Source Code

  function sc_has_it(self,it)
    implicit none
    class(supercell_type), intent(in) :: self
    integer, intent(in) :: it
    logical :: sc_has_it
    sc_has_it=any(self%cells%it_ind==it)
  end function sc_has_it