m_ia_tether Module

Tether potentials

  • Style none: None
  • Style harm: Harmonic tether
  • Style fene: Fene spring tether

Uses

  • module~~m_ia_tether~~UsesGraph module~m_ia_tether m_ia_tether module~m_constants_math m_constants_math module~m_ia_tether->module~m_constants_math module~m_ia_types m_ia_types module~m_ia_tether->module~m_ia_types module~m_precision m_precision module~m_ia_tether->module~m_precision module~m_constants_math->module~m_precision module~m_ia_types->module~m_precision iso_fortran_env iso_fortran_env module~m_precision->iso_fortran_env

Used by

  • module~~m_ia_tether~~UsedByGraph module~m_ia_tether m_ia_tether module~m_interaction m_interaction module~m_interaction->module~m_ia_tether module~m_mc_moves m_mc_moves module~m_mc_moves->module~m_interaction module~m_mc_solver m_mc_solver module~m_mc_solver->module~m_interaction module~m_mc_solver->module~m_mc_moves module~m_setup m_setup module~m_setup->module~m_interaction module~m_setup->module~m_mc_solver program~main main program~main->module~m_mc_solver program~main->module~m_setup

Subroutines

public subroutine ia_tether_setup(teth)

Sets up parameters for tether potentials

Arguments

Type IntentOptional Attributes Name
type(tether_t), intent(inout) :: teth

public subroutine ia_get_tether_energy(ri, teth, enrg, ierr)

Calculates the energy due to a tether.

Arguments

Type IntentOptional 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

public subroutine teth_harm(r, teth, enrg)

Calculates energy for harmonic tether interaction.

Arguments

Type IntentOptional Attributes Name
real(kind=rp), intent(in) :: r
type(tether_t), intent(in) :: teth
real(kind=rp), intent(out) :: enrg

public subroutine teth_fene(r, teth, enrg, ierr)

Calculates energy for fene tether interaction.

Arguments

Type IntentOptional Attributes Name
real(kind=rp), intent(in) :: r
type(tether_t), intent(in) :: teth
real(kind=rp), intent(out) :: enrg
integer, intent(out) :: ierr