KIM API V2
Data Types | Functions/Subroutines | Variables
ex_model_driver_p_lj Module Reference

Functions/Subroutines

subroutine, public calc_phi (model_epsilon, model_sigma, model_shift, model_cutoff, r, phi)
 
subroutine, public calc_phi_dphi (model_epsilon, model_sigma, model_shift, model_cutoff, r, phi, dphi)
 
subroutine, public calc_phi_dphi_d2phi (model_epsilon, model_sigma, model_shift, model_cutoff, r, phi, dphi, d2phi)
 
subroutine, public compute_energy_forces (model_compute_handle, ierr)
 
subroutine, public refresh (model_refresh_handle, ierr)
 
subroutine, public destroy (model_destroy_handle, ierr)
 

Variables

integer(c_int), parameter, public speccode = 1
 

Function/Subroutine Documentation

◆ calc_phi()

subroutine, public ex_model_driver_p_lj::calc_phi ( real(c_double), intent(in)  model_epsilon,
real(c_double), intent(in)  model_sigma,
real(c_double), intent(in)  model_shift,
real(c_double), intent(in)  model_cutoff,
real(c_double), intent(in)  r,
real(c_double), intent(out)  phi 
)

Definition at line 93 of file ex_model_driver_P_LJ.F90.

◆ calc_phi_dphi()

subroutine, public ex_model_driver_p_lj::calc_phi_dphi ( real(c_double), intent(in)  model_epsilon,
real(c_double), intent(in)  model_sigma,
real(c_double), intent(in)  model_shift,
real(c_double), intent(in)  model_cutoff,
real(c_double), intent(in)  r,
real(c_double), intent(out)  phi,
real(c_double), intent(out)  dphi 
)

Definition at line 129 of file ex_model_driver_P_LJ.F90.

◆ calc_phi_dphi_d2phi()

subroutine, public ex_model_driver_p_lj::calc_phi_dphi_d2phi ( real(c_double), intent(in)  model_epsilon,
real(c_double), intent(in)  model_sigma,
real(c_double), intent(in)  model_shift,
real(c_double), intent(in)  model_cutoff,
real(c_double), intent(in)  r,
real(c_double), intent(out)  phi,
real(c_double), intent(out)  dphi,
real(c_double), intent(out)  d2phi 
)

Definition at line 167 of file ex_model_driver_P_LJ.F90.

◆ compute_energy_forces()

subroutine, public ex_model_driver_p_lj::compute_energy_forces ( type(kim_model_compute_handle_type), intent(in)  model_compute_handle,
integer(c_int), intent(out)  ierr 
)

Definition at line 205 of file ex_model_driver_P_LJ.F90.

◆ destroy()

subroutine, public ex_model_driver_p_lj::destroy ( type(kim_model_destroy_handle_type), intent(inout)  model_destroy_handle,
integer(c_int), intent(out)  ierr 
)

Definition at line 519 of file ex_model_driver_P_LJ.F90.

◆ refresh()

subroutine, public ex_model_driver_p_lj::refresh ( type(kim_model_refresh_handle_type), intent(inout)  model_refresh_handle,
integer(c_int), intent(out)  ierr 
)

Definition at line 476 of file ex_model_driver_P_LJ.F90.

Variable Documentation

◆ speccode

integer(c_int), parameter, public ex_model_driver_p_lj::speccode = 1

Definition at line 65 of file ex_model_driver_P_LJ.F90.