kim-api
2.3.0+v2.3.0.GNU.GNU.
An Application Programming Interface (API) for the Knowledgebase of Interatomic Models (KIM).
|
Provides the primary interface to a KIM API ComputeArguments object and is meant to be used by simulators. More...
Functions/Subroutines | |
recursive subroutine | kim_compute_arguments_get_callback_support_status (compute_arguments_handle, compute_callback_name, support_status, ierr) |
Get the SupportStatus of a ComputeCallbackName. More... | |
recursive subroutine | kim_compute_arguments_set_argument_pointer_int0 (compute_arguments_handle, compute_argument_name, int0, ierr) |
Set the data pointer for a ComputeArgumentName. More... | |
recursive subroutine | kim_compute_arguments_set_argument_pointer_int1 (compute_arguments_handle, compute_argument_name, int1, ierr) |
Set the data pointer for a ComputeArgumentName. More... | |
recursive subroutine | kim_compute_arguments_set_argument_pointer_int2 (compute_arguments_handle, compute_argument_name, int2, ierr) |
Set the data pointer for a ComputeArgumentName. More... | |
recursive subroutine | kim_compute_arguments_set_argument_pointer_double0 (compute_arguments_handle, compute_argument_name, double0, ierr) |
Set the data pointer for a ComputeArgumentName. More... | |
recursive subroutine | kim_compute_arguments_set_argument_pointer_double1 (compute_arguments_handle, compute_argument_name, double1, ierr) |
Set the data pointer for a ComputeArgumentName. More... | |
recursive subroutine | kim_compute_arguments_set_argument_pointer_double2 (compute_arguments_handle, compute_argument_name, double2, ierr) |
Set the data pointer for a ComputeArgumentName. More... | |
recursive subroutine | kim_compute_arguments_set_callback_pointer (compute_arguments_handle, compute_callback_name, language_name, fptr, data_object, ierr) |
Set the function pointer for a ComputeCallbackName. More... | |
recursive subroutine | kim_compute_arguments_are_all_required_present (compute_arguments_handle, result_value, ierr) |
Determine if non-NULL pointers have been set for all ComputeArgumentName's and ComputeCallbackName's with SupportStatus values of SUPPORT_STATUS::requiredByAPI or SUPPORT_STATUS::required. More... | |
recursive subroutine | kim_compute_arguments_set_simulator_buffer_pointer (compute_arguments_handle, ptr) |
Set the Simulator's buffer pointer within the ComputeArguments object. More... | |
recursive subroutine | kim_compute_arguments_get_simulator_buffer_pointer (compute_arguments_handle, ptr) |
Get the Simulator's buffer pointer from the ComputeArguments object. More... | |
recursive subroutine | kim_compute_arguments_to_string (compute_arguments_handle, string) |
Get a string representing the internal state of the ComputeArguments object. More... | |
recursive subroutine | kim_compute_arguments_set_log_id (compute_arguments_handle, log_id) |
Set the identity of the Log object associated with the ComputeArguments object. More... | |
recursive subroutine | kim_compute_arguments_push_log_verbosity (compute_arguments_handle, log_verbosity) |
Push a new LogVerbosity onto the ComputeArguments object's Log object verbosity stack. More... | |
recursive subroutine | kim_compute_arguments_pop_log_verbosity (compute_arguments_handle) |
Pop a LogVerbosity from the ComputeArguments object's Log object verbosity stack. More... | |
Variables | |
type(kim_compute_arguments_handle_type), save, public, protected | kim_compute_arguments_null_handle |
NULL handle for use in comparisons. More... | |
Provides the primary interface to a KIM API ComputeArguments object and is meant to be used by simulators.
recursive subroutine kim_compute_arguments_module::kim_compute_arguments_are_all_required_present | ( | type(kim_compute_arguments_handle_type), intent(in) | compute_arguments_handle, |
integer(c_int), intent(out) | result_value, | ||
integer(c_int), intent(out) | ierr | ||
) |
Determine if non-NULL pointers have been set for all ComputeArgumentName's and ComputeCallbackName's with SupportStatus values of SUPPORT_STATUS::requiredByAPI or SUPPORT_STATUS::required.
Definition at line 680 of file kim_compute_arguments_module.f90.
recursive subroutine kim_compute_arguments_module::kim_compute_arguments_get_callback_support_status | ( | type(kim_compute_arguments_handle_type), intent(in) | compute_arguments_handle, |
type(kim_compute_callback_name_type), intent(in) | compute_callback_name, | ||
type(kim_support_status_type), intent(out) | support_status, | ||
integer(c_int), intent(out) | ierr | ||
) |
Get the SupportStatus of a ComputeCallbackName.
Definition at line 281 of file kim_compute_arguments_module.f90.
recursive subroutine kim_compute_arguments_module::kim_compute_arguments_get_simulator_buffer_pointer | ( | type(kim_compute_arguments_handle_type), intent(in) | compute_arguments_handle, |
type(c_ptr), intent(out) | ptr | ||
) |
Get the Simulator's buffer pointer from the ComputeArguments object.
Definition at line 745 of file kim_compute_arguments_module.f90.
recursive subroutine kim_compute_arguments_module::kim_compute_arguments_pop_log_verbosity | ( | type(kim_compute_arguments_handle_type), intent(in) | compute_arguments_handle | ) |
Pop a LogVerbosity from the ComputeArguments object's Log object verbosity stack.
Definition at line 866 of file kim_compute_arguments_module.f90.
recursive subroutine kim_compute_arguments_module::kim_compute_arguments_push_log_verbosity | ( | type(kim_compute_arguments_handle_type), intent(in) | compute_arguments_handle, |
type(kim_log_verbosity_type), intent(in) | log_verbosity | ||
) |
Push a new LogVerbosity onto the ComputeArguments object's Log object verbosity stack.
Definition at line 834 of file kim_compute_arguments_module.f90.
recursive subroutine kim_compute_arguments_module::kim_compute_arguments_set_argument_pointer_double0 | ( | type(kim_compute_arguments_handle_type), intent(in) | compute_arguments_handle, |
type(kim_compute_argument_name_type), intent(in) | compute_argument_name, | ||
real(c_double), intent(in), target | double0, | ||
integer(c_int), intent(out) | ierr | ||
) |
Set the data pointer for a ComputeArgumentName.
Definition at line 478 of file kim_compute_arguments_module.f90.
recursive subroutine kim_compute_arguments_module::kim_compute_arguments_set_argument_pointer_double1 | ( | type(kim_compute_arguments_handle_type), intent(in) | compute_arguments_handle, |
type(kim_compute_argument_name_type), intent(in) | compute_argument_name, | ||
real(c_double), dimension(:), intent(in), target | double1, | ||
integer(c_int), intent(out) | ierr | ||
) |
Set the data pointer for a ComputeArgumentName.
Definition at line 517 of file kim_compute_arguments_module.f90.
recursive subroutine kim_compute_arguments_module::kim_compute_arguments_set_argument_pointer_double2 | ( | type(kim_compute_arguments_handle_type), intent(in) | compute_arguments_handle, |
type(kim_compute_argument_name_type), intent(in) | compute_argument_name, | ||
real(c_double), dimension(:, :), intent(in), target | double2, | ||
integer(c_int), intent(out) | ierr | ||
) |
Set the data pointer for a ComputeArgumentName.
Definition at line 575 of file kim_compute_arguments_module.f90.
recursive subroutine kim_compute_arguments_module::kim_compute_arguments_set_argument_pointer_int0 | ( | type(kim_compute_arguments_handle_type), intent(in) | compute_arguments_handle, |
type(kim_compute_argument_name_type), intent(in) | compute_argument_name, | ||
integer(c_int), intent(in), target | int0, | ||
integer(c_int), intent(out) | ierr | ||
) |
Set the data pointer for a ComputeArgumentName.
Definition at line 322 of file kim_compute_arguments_module.f90.
recursive subroutine kim_compute_arguments_module::kim_compute_arguments_set_argument_pointer_int1 | ( | type(kim_compute_arguments_handle_type), intent(in) | compute_arguments_handle, |
type(kim_compute_argument_name_type), intent(in) | compute_argument_name, | ||
integer(c_int), dimension(:), intent(in), target | int1, | ||
integer(c_int), intent(out) | ierr | ||
) |
Set the data pointer for a ComputeArgumentName.
Definition at line 361 of file kim_compute_arguments_module.f90.
recursive subroutine kim_compute_arguments_module::kim_compute_arguments_set_argument_pointer_int2 | ( | type(kim_compute_arguments_handle_type), intent(in) | compute_arguments_handle, |
type(kim_compute_argument_name_type), intent(in) | compute_argument_name, | ||
integer(c_int), dimension(:, :), intent(in), target | int2, | ||
integer(c_int), intent(out) | ierr | ||
) |
Set the data pointer for a ComputeArgumentName.
Definition at line 419 of file kim_compute_arguments_module.f90.
recursive subroutine kim_compute_arguments_module::kim_compute_arguments_set_callback_pointer | ( | type(kim_compute_arguments_handle_type), intent(in) | compute_arguments_handle, |
type(kim_compute_callback_name_type), intent(in) | compute_callback_name, | ||
type(kim_language_name_type), intent(in) | language_name, | ||
type(c_funptr), intent(in), value | fptr, | ||
type(c_ptr), intent(in) | data_object, | ||
integer(c_int), intent(out) | ierr | ||
) |
Set the function pointer for a ComputeCallbackName.
Definition at line 634 of file kim_compute_arguments_module.f90.
recursive subroutine kim_compute_arguments_module::kim_compute_arguments_set_log_id | ( | type(kim_compute_arguments_handle_type), intent(in) | compute_arguments_handle, |
character(len=*, kind=c_char), intent(in) | log_id | ||
) |
Set the identity of the Log object associated with the ComputeArguments object.
Definition at line 805 of file kim_compute_arguments_module.f90.
recursive subroutine kim_compute_arguments_module::kim_compute_arguments_set_simulator_buffer_pointer | ( | type(kim_compute_arguments_handle_type), intent(in) | compute_arguments_handle, |
type(c_ptr), intent(in) | ptr | ||
) |
Set the Simulator's buffer pointer within the ComputeArguments object.
Definition at line 715 of file kim_compute_arguments_module.f90.
recursive subroutine kim_compute_arguments_module::kim_compute_arguments_to_string | ( | type(kim_compute_arguments_handle_type), intent(in) | compute_arguments_handle, |
character(len=*, kind=c_char), intent(out) | string | ||
) |
Get a string representing the internal state of the ComputeArguments object.
Definition at line 774 of file kim_compute_arguments_module.f90.
type(kim_compute_arguments_handle_type), save, public, protected kim_compute_arguments_module::kim_compute_arguments_null_handle |
NULL handle for use in comparisons.
Definition at line 72 of file kim_compute_arguments_module.f90.