Allocate arrays for exponents and coefficients in a CGTO
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cgto_type), | intent(inout) | :: | self | |||
| integer, | intent(in) | :: | nfunc |
pure subroutine cgto_allocate_arrays(self, nfunc) !! Allocate arrays for exponents and coefficients in a CGTO class(cgto_type), intent(inout) :: self integer, intent(in) :: nfunc self%nfunc = nfunc allocate (self%exponents(nfunc)) allocate (self%coefficients(nfunc)) end subroutine cgto_allocate_arrays