Angle potentials
Sets up parameters for angle potentials
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(ia_specs_t), | intent(inout) | :: | specs |
Calculates the energy due to an angle potential.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rp), | intent(in), | dimension(3) | :: | rim1 | ||
| real(kind=rp), | intent(in), | dimension(3) | :: | ri | ||
| real(kind=rp), | intent(in), | dimension(3) | :: | rip1 | ||
| type(ia_specs_t), | intent(in) | :: | specs | |||
| real(kind=rp), | intent(out) | :: | enrg |
Calculates energy for angular cosine interaction. params(1) = k
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rp), | intent(in) | :: | ctheta | |||
| type(ia_specs_t), | intent(in) | :: | specs | |||
| real(kind=rp), | intent(out) | :: | enrg |
Calculates energy for harmonic angular interaction. params(1) = k
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rp), | intent(in) | :: | ctheta | |||
| type(ia_specs_t), | intent(in) | :: | specs | |||
| real(kind=rp), | intent(out) | :: | enrg |
Setter for tabulated interaction. params(1) = vtltmin, params(2) = vtgtmax, params(3) = intrp_meth, params(4) = flag_bc cache(1) = tmin, cache(2) = tmax
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(ia_specs_t), | intent(inout) | :: | specs |
Calculates energy for tabulated interaction.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rp), | intent(in) | :: | r | |||
| type(ia_specs_t), | intent(in) | :: | specs | |||
| real(kind=rp), | intent(out) | :: | enrg | |||
| integer, | intent(out) | :: | ierr |