Container for a single displaced geometry
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | atom_index |
Which atom was displaced (1-based) |
|||
| integer, | public | :: | coordinate |
Which coordinate was displaced (1=x, 2=y, 3=z) |
|||
| integer, | public | :: | direction |
+1 for forward, -1 for backward |
|||
| real(kind=dp), | public | :: | displacement |
Displacement magnitude in Bohr |
|||
| type(physical_fragment_t), | public | :: | geometry |
The displaced geometry |
Clean up memory for displaced geometry
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(displaced_geometry_t), | intent(inout) | :: | this |
type :: displaced_geometry_t !! Container for a single displaced geometry integer :: atom_index !! Which atom was displaced (1-based) integer :: coordinate !! Which coordinate was displaced (1=x, 2=y, 3=z) integer :: direction !! +1 for forward, -1 for backward real(dp) :: displacement !! Displacement magnitude in Bohr type(physical_fragment_t) :: geometry !! The displaced geometry contains procedure :: destroy => displaced_geometry_destroy end type displaced_geometry_t