Dihedral potentials (none implemented)
Sets up parameters for dihedral potentials
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | num_dihedral_types | Number of dihedral types |
||
| integer, | intent(in), | dimension(:) | :: | dihedral_styles | Styles for each type |
|
| real(kind=rp), | intent(inout), | dimension(:,:) | :: | dihedral_params | Parameters for each type, depending on style |
Calculates the force & energy due to a dihedral.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rp), | intent(in), | dimension(3) | :: | q1 | ||
| real(kind=rp), | intent(in), | dimension(3) | :: | q2 | ||
| real(kind=rp), | intent(in), | dimension(3) | :: | q3 | ||
| integer, | intent(in) | :: | sty | |||
| real(kind=rp), | intent(in), | dimension(:) | :: | params | ||
| real(kind=rp), | intent(out) | :: | enrg | |||
| real(kind=rp), | intent(out), | dimension(3) | :: | fi | ||
| real(kind=rp), | intent(out), | dimension(3) | :: | fj | ||
| real(kind=rp), | intent(out), | dimension(3) | :: | fk | ||
| real(kind=rp), | intent(out), | dimension(3) | :: | fl |