Calculates the energy & force due to an angle.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rp), | intent(in), | dimension(3) | :: | q1 | ||
| real(kind=rp), | intent(in), | dimension(3) | :: | q2 | ||
| integer, | intent(in) | :: | sty | |||
| real(kind=rp), | intent(in), | dimension(:) | :: | params | ||
| real(kind=rp), | intent(out) | :: | enrg | |||
| real(kind=rp), | intent(out), | dimension(3) | :: | fim1 | ||
| real(kind=rp), | intent(out), | dimension(3) | :: | fi | ||
| real(kind=rp), | intent(out), | dimension(3) | :: | fip1 |