Tether potentials
Sets up parameters for tether potentials
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(tether_t), | intent(inout) | :: | teth |
Calculates the energy due to a tether.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rp), | intent(in), | dimension(3) | :: | ri |
Coordinate of atom i |
|
| type(tether_t), | intent(in) | :: | teth | |||
| real(kind=rp), | intent(out) | :: | enrg | |||
| integer, | intent(out) | :: | ierr |