Molecular geometry data structure
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| character(len=:), | public, | allocatable | :: | comment | |||
| real(kind=dp), | public, | allocatable | :: | coords(:,:) | |||
| character(len=:), | public, | allocatable | :: | elements(:) | |||
| integer, | public | :: | natoms |
Clean up allocated memory in geometry_type
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(geometry_type), | intent(inout) | :: | this |
type :: geometry_type !! Molecular geometry data structure integer :: natoms character(len=:), allocatable :: elements(:) real(dp), allocatable :: coords(:, :) ! coords(3, natoms) character(len=:), allocatable :: comment contains procedure :: destroy => geometry_destroy end type geometry_type