kim-api 2.3.0+AppleClang.AppleClang.GNU
An Application Programming Interface (API) for the Knowledgebase of Interatomic Models (KIM).
Loading...
Searching...
No Matches
Public Member Functions | List of all members
kim_model_module::kim_compute Interface Reference

Call the Model's MODEL_ROUTINE_NAME::Compute routine. More...

Public Member Functions

recursive subroutine kim_model_compute (model_handle, compute_arguments_handle, ierr)
 Call the Model's MODEL_ROUTINE_NAME::Compute routine.
 

Detailed Description

Call the Model's MODEL_ROUTINE_NAME::Compute routine.

See also
KIM::Model::Compute, KIM_Model_Compute
Since
2.0

Definition at line 170 of file kim_model_module.f90.

Member Function/Subroutine Documentation

◆ kim_model_compute()

recursive subroutine kim_model_module::kim_compute::kim_model_compute ( type(kim_model_handle_type), intent(in)  model_handle,
type(kim_compute_arguments_handle_type), intent(in)  compute_arguments_handle,
integer(c_int), intent(out)  ierr 
)

Call the Model's MODEL_ROUTINE_NAME::Compute routine.

A Fortran PM must provide a KIM::MODEL_ROUTINE_NAME::Compute routine. The interface for this is given here (see also KIM::ModelComputeFunction, KIM_ModelComputeFunction).

interface
recursive subroutine compute( &
model_compute_handle, model_compute_arguments_handle, ierr) &
bind(c)
use, intrinsic :: iso_c_binding
implicit none
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
end subroutine compute
end interface
See also
KIM::Model::Compute, KIM_Model_Compute
Since
2.0

Definition at line 852 of file kim_model_module.f90.


The documentation for this interface was generated from the following file: