Bond potentials
Sets up parameters for bond potentials
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(ia_specs_t), | intent(inout) | :: | specs |
Calculates the energy due to a bond.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rp), | intent(in), | dimension(3) | :: | ri |
Coordinate of atom i |
|
| real(kind=rp), | intent(in), | dimension(3) | :: | rj |
Coordinate of atom j |
|
| type(ia_specs_t), | intent(in) | :: | specs | |||
| real(kind=rp), | intent(out) | :: | enrg | |||
| integer, | intent(out) | :: | ierr |
Calculates energy for harmonic bond 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 |
Calculates energy for FENE bond interaction. If bond length exceeds
maximum extensible spring length, an error will be reported as ierr = 1.
params(1) = kspring, params(2) = r0, params(3) = delta
| 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 |
Setter for FENE bond interaction. params(1) = kspring, params(2) = r0, params(3) = eps, params(4) = sigma cache(1) = r0^2, cache(2) = sigma^2, cache(3) = 2^(1/6)*sigma
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(ia_specs_t), | intent(inout) | :: | specs |
Calculates energy for Kremer-Grest bond interaction. If bond length exceeds
maximum extensible spring length, an error will be reported as ierr = 1.
| 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 |
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 |