Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | atom_i | first atom of the bond |
|||
integer, | public | :: | atom_j | second atom of the bond |
|||
real(kind=dp), | public | :: | length | equilibrium length of the bond |
type :: bond_type
!> first atom of the bond
integer :: atom_i
!> second atom of the bond
integer :: atom_j
!> equilibrium length of the bond
real(dp) :: length
contains
procedure :: copy => copy_bond
generic, public :: assignment(=) => copy
end type bond_type