Contracted Gaussian type orbital (CGTO) data structure
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | ang_mom |
Angular momentum quantum number (0=s, 1=p, 2=d, etc.) |
|||
| real(kind=dp), | public, | allocatable | :: | coefficients(:) |
Contraction coefficients |
||
| real(kind=dp), | public, | allocatable | :: | exponents(:) |
Exponents (alpha values) |
||
| integer, | public | :: | nfunc |
Number of primitive Gaussians in the contraction |
Allocate arrays for exponents and coefficients in a CGTO
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cgto_type), | intent(inout) | :: | self | |||
| integer, | intent(in) | :: | nfunc |
Clean up allocated memory in a CGTO
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cgto_type), | intent(inout) | :: | self |
Get number of basis functions in a shell (Cartesian)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cgto_type), | intent(in) | :: | self |
type :: cgto_type !! Contracted Gaussian type orbital (CGTO) data structure integer :: ang_mom !! Angular momentum quantum number (0=s, 1=p, 2=d, etc.) integer :: nfunc !! Number of primitive Gaussians in the contraction real(dp), allocatable :: exponents(:) !! Exponents (alpha values) real(dp), allocatable :: coefficients(:) !! Contraction coefficients contains procedure :: allocate_arrays => cgto_allocate_arrays procedure :: destroy => cgto_destroy procedure :: num_basis_functions => cgto_num_basis_functions end type cgto_type