Calculates the energy due to a bond.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rp), | intent(in), | dimension(3) | :: | ri |
Coordinate of atom i |
|
| real(kind=rp), | intent(in), | dimension(3) | :: | rj |
Coordinate of atom j |
|
| type(ia_specs_t), | intent(in) | :: | specs | |||
| real(kind=rp), | intent(out) | :: | enrg | |||
| integer, | intent(out) | :: | ierr |