Tether potentials
Style 0: None Style 1: Rigid connector (not implemented) *Style 2: Harmonic spring. See teth_harm_set.
Sets up parameters for tether potentials
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | num_tether_types | Number of tether types |
||
integer, | intent(in), | dimension(:) | :: | tether_styles | Styles for each type |
|
real(kind=rp), | intent(inout), | dimension(:,:) | :: | tether_params | Parameters for each type, depending on style |
Calculates the energy and its derivative due to a tether.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rp), | intent(in) | :: | qmag | Distance between the tethered atom & the tether point |
||
integer, | intent(in) | :: | sty | Tether style |
||
real(kind=rp), | intent(in), | dimension(:) | :: | params | Parameters for tether interaction |
|
real(kind=rp), | intent(out) | :: | enrg | Energy due to this tether |
||
real(kind=rp), | intent(out) | :: | frc | |||
integer, | intent(out) | :: | ierr | Error flag |
Setter for rigid tether interaction.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rp), | intent(inout), | dimension(:) | :: | params | ||
real(kind=rp), | intent(in), | optional | :: | r0 | ||
real(kind=rp), | intent(in), | optional | :: | eps |
Not implemented, needs constraint formalism. See teth_rigid_set.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rp), | intent(in) | :: | r | |||
real(kind=rp), | intent(in), | dimension(:) | :: | params | ||
real(kind=rp), | intent(out) | :: | enrg | |||
real(kind=rp), | intent(out) | :: | frc | |||
integer, | intent(out) | :: | ierr |
Setter for harmonic tether interaction.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rp), | intent(inout), | dimension(:) | :: | params | ||
real(kind=rp), | intent(in), | optional | :: | k | ||
real(kind=rp), | intent(in), | optional | :: | r0 |
Calculates energy and its derivative for harmonic tether interaction. See teth_harm_set.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rp), | intent(in) | :: | r | |||
real(kind=rp), | intent(in), | dimension(:) | :: | params | ||
real(kind=rp), | intent(out) | :: | enrg | |||
real(kind=rp), | intent(out) | :: | frc |