Molecular basis set data structure (assembled basis)
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(atomic_basis_type), | public, | allocatable | :: | elements(:) |
array of atomic basis types |
||
| integer, | public | :: | nelements |
total number of atoms/elements in a molecule |
Allocate array of atomic basis elements in a molecular basis set
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(molecular_basis_type), | intent(inout) | :: | self | |||
| integer, | intent(in) | :: | nelements |
Clean up allocated memory in a molecular basis set
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(molecular_basis_type), | intent(inout) | :: | self |
Get total number of basis functions for the molecule
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(molecular_basis_type), | intent(in) | :: | self |
type :: molecular_basis_type !! Molecular basis set data structure (assembled basis) type(atomic_basis_type), allocatable :: elements(:) !! array of atomic basis types integer :: nelements !! total number of atoms/elements in a molecule contains procedure :: allocate_elements => basis_set_allocate_elements procedure :: destroy => basis_set_destroy procedure :: num_basis_functions => molecular_basis_num_basis_functions end type molecular_basis_type