kim-api 2.4.1+AppleClang.AppleClang.GNU
An Application Programming Interface (API) for the Knowledgebase of Interatomic Models (KIM).
 
Loading...
Searching...
No Matches
kim_model_module::kim_extension Interface Reference

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

Public Member Functions

recursive subroutine kim_model_extension (model_handle, extension_id, extension_structure, ierr)
 Call the Model's MODEL_ROUTINE_NAME::Extension routine.
 

Detailed Description

Call the Model's MODEL_ROUTINE_NAME::Extension routine.

See also
KIM::Model::Extension, KIM_Model_Extension
Since
2.0

Definition at line 179 of file kim_model_module.f90.

Member Function/Subroutine Documentation

◆ kim_model_extension()

recursive subroutine kim_model_module::kim_extension::kim_model_extension ( type(kim_model_handle_type), intent(in) model_handle,
character(len=*, kind=c_char), intent(in) extension_id,
type(c_ptr), intent(in) extension_structure,
integer(c_int), intent(out) ierr )

Call the Model's MODEL_ROUTINE_NAME::Extension routine.

A Fortran PM may provide a KIM::MODEL_ROUTINE_NAME::Extension routine. The interface for this is given here (see also KIM::ModelExtensionFunction, KIM_ModelExtensionFunction).

interface
recursive subroutine extension( &
model_extension_handle, extension_structure, ierr) &
bind(c)
use, intrinsic :: iso_c_binding
implicit none
type(kim_model_extension_handle_type), intent(in) :: &
model_extension_handle
type(c_ptr), intent(in), value :: extension_structure
integer(c_int), intent(out) :: ierr
end subroutine extension
end interface
See also
KIM::Model::Extension, KIM_Model_Extension
Since
2.0

Definition at line 906 of file kim_model_module.f90.


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