Input fragment definition with charge, multiplicity, and atom indices This is the parsed representation from the input file, not the computational fragment
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | charge | = | 0 | ||
| integer, | public, | allocatable | :: | indices(:) |
Atom indices in this fragment |
||
| integer, | public | :: | multiplicity | = | 1 |
Clean up allocated memory in input_fragment_t
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(input_fragment_t), | intent(inout) | :: | this |
type :: input_fragment_t !! Input fragment definition with charge, multiplicity, and atom indices !! This is the parsed representation from the input file, not the computational fragment integer :: charge = 0 integer :: multiplicity = 1 integer, allocatable :: indices(:) !! Atom indices in this fragment contains procedure :: destroy => input_fragment_destroy end type input_fragment_t