kim-api 2.3.0+AppleClang.AppleClang.GNU
An Application Programming Interface (API) for the Knowledgebase of Interatomic Models (KIM).
Loading...
Searching...
No Matches
KIM_ComputeArguments.h File Reference

Go to the source code of this file.

Typedefs

typedef struct KIM_LanguageName KIM_LanguageName
 Forward declaration.
 
typedef struct KIM_ComputeCallbackName KIM_ComputeCallbackName
 Forward declaration.
 
typedef struct KIM_SupportStatus KIM_SupportStatus
 Forward declaration.
 
typedef struct KIM_ComputeArguments KIM_ComputeArguments
 Provides the primary interface to a KIM API ComputeArguments object and is meant to be used by simulators.
 

Functions

int KIM_ComputeArguments_GetArgumentSupportStatus (KIM_ComputeArguments const *const computeArguments, KIM_ComputeArgumentName const computeArgumentName, KIM_SupportStatus *const supportStatus)
 Get the SupportStatus of a ComputeArgumentName.
 
int KIM_ComputeArguments_GetCallbackSupportStatus (KIM_ComputeArguments const *const computeArguments, KIM_ComputeCallbackName const computeCallbackName, KIM_SupportStatus *const supportStatus)
 Get the SupportStatus of a ComputeCallbackName.
 
int KIM_ComputeArguments_SetArgumentPointerInteger (KIM_ComputeArguments *const computeArguments, KIM_ComputeArgumentName const computeArgumentName, int const *const ptr)
 Set the data pointer for a ComputeArgumentName.
 
int KIM_ComputeArguments_SetArgumentPointerDouble (KIM_ComputeArguments *const computeArguments, KIM_ComputeArgumentName const computeArgumentName, double const *const ptr)
 Set the data pointer for a ComputeArgumentName.
 
int KIM_ComputeArguments_SetCallbackPointer (KIM_ComputeArguments *const computeArguments, KIM_ComputeCallbackName const computeCallbackName, KIM_LanguageName const languageName, KIM_Function *const fptr, void *const dataObject)
 Set the function pointer for a ComputeCallbackName.
 
void KIM_ComputeArguments_AreAllRequiredArgumentsAndCallbacksPresent (KIM_ComputeArguments const *const computeArguments, int *const result)
 KIM::ComputeArguments::AreAllRequiredArgumentsAndCallbacksPresent
 
void KIM_ComputeArguments_SetSimulatorBufferPointer (KIM_ComputeArguments *const computeArguments, void *const ptr)
 Set the Simulator's buffer pointer within the ComputeArguments object.
 
void KIM_ComputeArguments_GetSimulatorBufferPointer (KIM_ComputeArguments const *const computeArguments, void **const ptr)
 Get the Simulator's buffer pointer from the ComputeArguments object.
 
char const * KIM_ComputeArguments_ToString (KIM_ComputeArguments const *const computeArguments)
 Get a string representing the internal state of the ComputeArguments object.
 
void KIM_ComputeArguments_SetLogID (KIM_ComputeArguments *const computeArguments, char const *const logID)
 Set the identity of the Log object associated with the ComputeArguments object.
 
void KIM_ComputeArguments_PushLogVerbosity (KIM_ComputeArguments *const computeArguments, KIM_LogVerbosity const logVerbosity)
 Push a new LogVerbosity onto the ComputeArguments object's Log object verbosity stack.
 
void KIM_ComputeArguments_PopLogVerbosity (KIM_ComputeArguments *const computeArguments)
 Pop a LogVerbosity from the ComputeArguments object's Log object verbosity stack.
 

Typedef Documentation

◆ KIM_ComputeArguments

Provides the primary interface to a KIM API ComputeArguments object and is meant to be used by simulators.

Forward declaration.

See also
KIM::ComputeArguments, kim_compute_arguments_module::kim_compute_arguments_handle_type
Since
2.0
2.0

Definition at line 100 of file KIM_ComputeArguments.h.

◆ KIM_ComputeCallbackName

typedef struct KIM_ComputeCallbackName KIM_ComputeCallbackName

Forward declaration.

Convenience typedef.

Since
2.0

Definition at line 76 of file KIM_ComputeArguments.h.

◆ KIM_LanguageName

typedef struct KIM_LanguageName KIM_LanguageName

Forward declaration.

Convenience typedef.

Since
2.0
2.2

Definition at line 56 of file KIM_ComputeArguments.h.

◆ KIM_SupportStatus

typedef struct KIM_SupportStatus KIM_SupportStatus

Forward declaration.

Convenience typedef.

Since
2.0

Definition at line 86 of file KIM_ComputeArguments.h.

Function Documentation

◆ KIM_ComputeArguments_AreAllRequiredArgumentsAndCallbacksPresent()

void KIM_ComputeArguments_AreAllRequiredArgumentsAndCallbacksPresent ( KIM_ComputeArguments const *const computeArguments,
int *const result )

◆ KIM_ComputeArguments_GetArgumentSupportStatus()

int KIM_ComputeArguments_GetArgumentSupportStatus ( KIM_ComputeArguments const *const computeArguments,
KIM_ComputeArgumentName const computeArgumentName,
KIM_SupportStatus *const supportStatus )

◆ KIM_ComputeArguments_GetCallbackSupportStatus()

int KIM_ComputeArguments_GetCallbackSupportStatus ( KIM_ComputeArguments const *const computeArguments,
KIM_ComputeCallbackName const computeCallbackName,
KIM_SupportStatus *const supportStatus )

◆ KIM_ComputeArguments_GetSimulatorBufferPointer()

void KIM_ComputeArguments_GetSimulatorBufferPointer ( KIM_ComputeArguments const *const computeArguments,
void **const ptr )

◆ KIM_ComputeArguments_PopLogVerbosity()

void KIM_ComputeArguments_PopLogVerbosity ( KIM_ComputeArguments *const computeArguments)

Pop a LogVerbosity from the ComputeArguments object's Log object verbosity stack.

See also
KIM::ComputeArguments::PopLogVerbosity, kim_compute_arguments_module::kim_pop_log_verbosity
Since
2.0

◆ KIM_ComputeArguments_PushLogVerbosity()

void KIM_ComputeArguments_PushLogVerbosity ( KIM_ComputeArguments *const computeArguments,
KIM_LogVerbosity const logVerbosity )

Push a new LogVerbosity onto the ComputeArguments object's Log object verbosity stack.

See also
KIM::ComputeArguments::PushLogVerbosity, kim_compute_arguments_module::kim_push_log_verbosity
Since
2.0

◆ KIM_ComputeArguments_SetArgumentPointerDouble()

int KIM_ComputeArguments_SetArgumentPointerDouble ( KIM_ComputeArguments *const computeArguments,
KIM_ComputeArgumentName const computeArgumentName,
double const *const ptr )

Set the data pointer for a ComputeArgumentName.

See also
KIM::ComputeArguments::SetArgumentPointer, kim_compute_arguments_module::kim_set_argument_pointer
Since
2.0

◆ KIM_ComputeArguments_SetArgumentPointerInteger()

int KIM_ComputeArguments_SetArgumentPointerInteger ( KIM_ComputeArguments *const computeArguments,
KIM_ComputeArgumentName const computeArgumentName,
int const *const ptr )

Set the data pointer for a ComputeArgumentName.

See also
KIM::ComputeArguments::SetArgumentPointer, kim_compute_arguments_module::kim_set_argument_pointer
Since
2.0

◆ KIM_ComputeArguments_SetCallbackPointer()

int KIM_ComputeArguments_SetCallbackPointer ( KIM_ComputeArguments *const computeArguments,
KIM_ComputeCallbackName const computeCallbackName,
KIM_LanguageName const languageName,
KIM_Function *const fptr,
void *const dataObject )

Set the function pointer for a ComputeCallbackName.

See also
KIM::ComputeArguments::SetCallbackPointer, kim_compute_arguments_module::kim_set_callback_pointer
Since
2.0

◆ KIM_ComputeArguments_SetLogID()

void KIM_ComputeArguments_SetLogID ( KIM_ComputeArguments *const computeArguments,
char const *const logID )

Set the identity of the Log object associated with the ComputeArguments object.

See also
KIM::ComputeArguments::SetLogID, kim_compute_arguments_module::kim_set_log_id
Since
2.0

◆ KIM_ComputeArguments_SetSimulatorBufferPointer()

void KIM_ComputeArguments_SetSimulatorBufferPointer ( KIM_ComputeArguments *const computeArguments,
void *const ptr )

◆ KIM_ComputeArguments_ToString()

char const * KIM_ComputeArguments_ToString ( KIM_ComputeArguments const *const computeArguments)

Get a string representing the internal state of the ComputeArguments object.

See also
KIM::ComputeArguments::ToString, kim_compute_arguments_module::kim_to_string
Since
2.0