Angle potentials
Sets up parameters for angle potentials
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | num_angle_types | Number of angle types |
||
integer, | intent(in), | dimension(:) | :: | angle_styles | Styles for each type |
|
real(kind=rp), | intent(inout), | dimension(:,:) | :: | angle_params | Parameters for each type, depending on style |
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 |
Setter for angular cosine interaction.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rp), | intent(inout), | dimension(:) | :: | params | ||
real(kind=rp), | intent(in), | optional | :: | k |