This module provides the potentials listed below. Parameters for each
potential is given by the vector params of maximum length mxparam.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=rp), | public, | dimension(:), allocatable | :: | xbuf | |||
| integer, | public, | dimension(:), allocatable | :: | indx_xsorted |
Sets up parameters for potentials
Calculates total energy
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(out) | :: | ierr |
Calculates total energy due to short-ranged non-bonded pairwise interactions.
Uses direct N^2 calculation. Will overwrite energy_vdw in module m_globals.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(out) | :: | ierr |
Calculates total energy due to short-ranged pairwise interactions. Uses Verlet list. The Verlet list takes care of excluded atoms.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(out) | :: | ierr |
Calculates the pair energy of a single atom. No Verlet list is used.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | iatm | |||
| real(kind=rp), | intent(out) | :: | enrg_atm | |||
| integer, | intent(out) | :: | ierr |
Calculates the pair energy of a single atom using Verlet list. The Verlet list takes care of excluded atoms.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | iatm | |||
| real(kind=rp), | intent(out) | :: | enrg_atm | |||
| integer, | intent(out) | :: | ierr |
Calculates total bond energy. Will overwrite energy_bond in module
m_globals.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(out) | :: | ierr |
Calculates the bond energy of a single atom.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | iatm | |||
| real(kind=rp), | intent(out) | :: | enrg_atm | |||
| integer, | intent(out) | :: | ierr |
Calculates total angular energy. Will overwrite energy_angle in module
m_globals.
Calculates the angle energy due to a single atom.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | iatm | |||
| real(kind=rp), | intent(out) | :: | enrg_atm |
Calculates total dihedral energy. Will overwrite energy_dihedral in module
m_globals.
Calculates the dihedral energy due to a single atom.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | iatm | |||
| real(kind=rp), | intent(out) | :: | enrg_atm |
Calculates total tether energy. Will overwrite energy_tether in module
m_globals.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(out) | :: | ierr |
Calculates the tether energy due to a single atom.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | iatm | |||
| real(kind=rp), | intent(out) | :: | enrg_atm | |||
| integer, | intent(out) | :: | ierr |
Calculates total energy due to external fields. Will overwrite
energy_external in module m_globals.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(out) | :: | ierr |