allocate_basis_shells Subroutine

private pure subroutine allocate_basis_shells(self, nshells)

Allocate array of shells in an atomic basis

Type Bound

atomic_basis_type

Arguments

Type IntentOptional Attributes Name
class(atomic_basis_type), intent(inout) :: self
integer, intent(in) :: nshells

Called by

proc~~allocate_basis_shells~~CalledByGraph proc~allocate_basis_shells atomic_basis_type%allocate_basis_shells proc~copy_atomic_basis copy_atomic_basis proc~copy_atomic_basis->proc~allocate_basis_shells proc~parse_element_basis parse_element_basis proc~parse_element_basis->proc~allocate_basis_shells proc~build_molecular_basis build_molecular_basis proc~build_molecular_basis->proc~copy_atomic_basis proc~build_molecular_basis->proc~parse_element_basis

Source Code

   pure subroutine allocate_basis_shells(self, nshells)
      !! Allocate array of shells in an atomic basis
      class(atomic_basis_type), intent(inout) :: self
      integer, intent(in) :: nshells

      self%nshells = nshells
      allocate (self%shells(nshells))
   end subroutine allocate_basis_shells