Get number of basis functions in a shell (Cartesian)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cgto_type), | intent(in) | :: | self |
pure function cgto_num_basis_functions(self) result(nbf) !! Get number of basis functions in a shell (Cartesian) class(cgto_type), intent(in) :: self integer :: nbf ! Cartesian: (ang_mom+1)*(ang_mom+2)/2 nbf = (self%ang_mom + 1)*(self%ang_mom + 2)/2 end function cgto_num_basis_functions