Single molecule definition with structure, geometry, fragments, and connectivity
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(bond_t), | public, | allocatable | :: | bonds(:) | |||
| integer, | public | :: | charge | = | 0 | ||
| type(input_fragment_t), | public, | allocatable | :: | fragments(:) | |||
| type(geometry_type), | public | :: | geometry | ||||
| integer, | public | :: | multiplicity | = | 1 | ||
| character(len=:), | public, | allocatable | :: | name |
Optional molecule name |
||
| integer, | public | :: | nbonds | = | 0 | ||
| integer, | public | :: | nbroken | = | 0 | ||
| integer, | public | :: | nfrag | = | 0 |
Clean up allocated memory in molecule_t
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(molecule_t), | intent(inout) | :: | this |
type :: molecule_t !! Single molecule definition with structure, geometry, fragments, and connectivity character(len=:), allocatable :: name !! Optional molecule name ! Structure information integer :: charge = 0 integer :: multiplicity = 1 ! Geometry type(geometry_type) :: geometry ! Fragments integer :: nfrag = 0 type(input_fragment_t), allocatable :: fragments(:) ! Connectivity integer :: nbonds = 0 integer :: nbroken = 0 type(bond_t), allocatable :: bonds(:) contains procedure :: destroy => molecule_destroy end type molecule_t