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, model_compute_arguments_handle, ierr)
 
subroutine, public refresh (model_refresh_handle, ierr)
 
subroutine, public destroy (model_destroy_handle, ierr)
 
subroutine, public compute_arguments_create (model_compute_handle, model_compute_arguments_create_handle, ierr)
 
subroutine, public compute_arguments_destroy (model_compute_handle, model_compute_arguments_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 96 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 132 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 170 of file ex_model_driver_P_LJ.F90.

◆ compute_arguments_create()

subroutine, public ex_model_driver_p_lj::compute_arguments_create ( type(kim_model_compute_handle_type), intent(in)  model_compute_handle,
type(kim_model_compute_arguments_create_handle_type), intent(inout)  model_compute_arguments_create_handle,
integer(c_int), intent(out)  ierr 
)

Definition at line 556 of file ex_model_driver_P_LJ.F90.

◆ compute_arguments_destroy()

subroutine, public ex_model_driver_p_lj::compute_arguments_destroy ( type(kim_model_compute_handle_type), intent(in)  model_compute_handle,
type(kim_model_compute_arguments_destroy_handle_type), intent(inout)  model_compute_arguments_destroy_handle,
integer(c_int), intent(out)  ierr 
)

Definition at line 622 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,
type(kim_model_compute_arguments_handle_type), intent(in)  model_compute_arguments_handle,
integer(c_int), intent(out)  ierr 
)

Definition at line 209 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 528 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 486 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 66 of file ex_model_driver_P_LJ.F90.