31 #ifndef KIM_MODEL_EXTENSION_H_ 32 #define KIM_MODEL_EXTENSION_H_ 35 #ifndef KIM_LOG_VERBOSITY_DEFINED_ 36 #define KIM_LOG_VERBOSITY_DEFINED_ 45 #ifndef KIM_MODEL_DEFINED_ 46 #define KIM_MODEL_DEFINED_ 55 #ifndef KIM_MODEL_COMPUTE_DEFINED_ 56 #define KIM_MODEL_COMPUTE_DEFINED_ 65 #ifndef KIM_MODEL_CREATE_DEFINED_ 66 #define KIM_MODEL_CREATE_DEFINED_ 75 #ifndef KIM_MODEL_DESTROY_DEFINED_ 76 #define KIM_MODEL_DESTROY_DEFINED_ 85 #ifndef KIM_MODEL_DRIVER_CREATE_DEFINED_ 86 #define KIM_MODEL_DRIVER_CREATE_DEFINED_ 95 #ifndef KIM_MODEL_REFRESH_DEFINED_ 96 #define KIM_MODEL_REFRESH_DEFINED_ 105 #ifndef KIM_MODEL_WRITE_PARAMETERIZED_MODEL_DEFINED_ 106 #define KIM_MODEL_WRITE_PARAMETERIZED_MODEL_DEFINED_ 116 #ifndef KIM_COMPUTE_ARGUMENTS_DEFINED_ 117 #define KIM_COMPUTE_ARGUMENTS_DEFINED_ 126 #ifndef KIM_MODEL_COMPUTE_ARGUMENTS_DEFINED_ 127 #define KIM_MODEL_COMPUTE_ARGUMENTS_DEFINED_ 136 #ifndef KIM_MODEL_COMPUTE_ARGUMENTS_CREATE_DEFINED_ 137 #define KIM_MODEL_COMPUTE_ARGUMENTS_CREATE_DEFINED_ 146 #ifndef KIM_MODEL_COMPUTE_ARGUMENTS_DESTROY_DEFINED_ 147 #define KIM_MODEL_COMPUTE_ARGUMENTS_DESTROY_DEFINED_ 158 #ifndef KIM_MODEL_EXTENSION_DEFINED_ 159 #define KIM_MODEL_EXTENSION_DEFINED_ 181 char const **
const extensionID);
319 char const *
const message,
320 int const lineNumber,
321 char const *
const fileName);
struct KIM_ComputeArguments KIM_ComputeArguments
Provides the primary interface to a KIM API ComputeArguments object and is meant to be used by simula...
KIM_ModelComputeArguments * KIM_ModelExtension_ToModelComputeArguments(KIM_ModelExtension const *const modelExtension, KIM_ComputeArguments *const computeArguments)
Convert the ModelExtension interface to the Model object to a ModelComputeArguments interface...
KIM_ModelCreate * KIM_ModelExtension_ToModelCreate(KIM_ModelExtension *const modelExtension)
Convert the ModelExtension interface to the Model object to a ModelCreate interface.
KIM_ModelCompute * KIM_ModelExtension_ToModelCompute(KIM_ModelExtension *const modelExtension)
Convert the ModelExtension interface to the Model object to a ModelCompute interface.
struct KIM_ModelExtension KIM_ModelExtension
Forward declaration.
struct KIM_ModelCompute KIM_ModelCompute
Forward declaration.
struct KIM_ModelComputeArgumentsCreate KIM_ModelComputeArgumentsCreate
Forward declaration.
struct KIM_ModelDestroy KIM_ModelDestroy
Forward declaration.
KIM_ModelWriteParameterizedModel * KIM_ModelExtension_ToModelWriteParameterizedModel(KIM_ModelExtension *const modelExtension)
Convert the ModelExtension interface to the Model object to a ModelWriteParameterizedModel interface...
KIM_ModelRefresh * KIM_ModelExtension_ToModelRefresh(KIM_ModelExtension *const modelExtension)
Convert the ModelExtension interface to the Model object to a ModelRefresh interface.
struct KIM_ModelCreate KIM_ModelCreate
Forward declaration.
KIM_ModelDriverCreate * KIM_ModelExtension_ToModelDriverCreate(KIM_ModelExtension *const modelExtension)
Convert the ModelExtension interface to the Model object to a ModelDriverCreate interface.
An Extensible Enumeration for the LogVerbosity's supported by the KIM API.
KIM_ModelComputeArgumentsDestroy * KIM_ModelExtension_ToModelComputeArgumentsDestroy(KIM_ModelExtension const *const modelExtension, KIM_ComputeArguments *const computeArguments)
Convert the ModelExtension interface to the Model object to a ModelComputeArgumentsDestroy interface...
void KIM_ModelExtension_LogEntry(KIM_ModelExtension const *const modelCompute, KIM_LogVerbosity const logVerbosity, char const *const message, int const lineNumber, char const *const fileName)
Write a log entry into the log file.
KIM_ModelDestroy * KIM_ModelExtension_ToModelDestroy(KIM_ModelExtension *const modelExtension)
Convert the ModelExtension interface to the Model object to a ModelDestroy interface.
KIM_ModelComputeArgumentsCreate * KIM_ModelExtension_ToModelComputeArgumentsCreate(KIM_ModelExtension const *const modelExtension, KIM_ComputeArguments *const computeArguments)
Convert the ModelExtension interface to the Model object to a ModelComputeArgumentsCreate interface...
struct KIM_ModelComputeArgumentsDestroy KIM_ModelComputeArgumentsDestroy
Forward declaration.
struct KIM_ModelRefresh KIM_ModelRefresh
Forward declaration.
void KIM_ModelExtension_GetExtensionID(KIM_ModelExtension const *const modelExtension, char const **const extensionID)
Get the extension identification string.
void KIM_ModelExtension_GetModelBufferPointer(KIM_ModelExtension const *const modelCompute, void **const ptr)
Get the Model's buffer pointer within the Model object.
struct KIM_ModelWriteParameterizedModel KIM_ModelWriteParameterizedModel
Forward declaration.
KIM_Model * KIM_ModelExtension_ToModel(KIM_ModelExtension *const modelExtension)
Convert the ModelExtension interface to the Model object to a Model interface.
struct KIM_ModelDriverCreate KIM_ModelDriverCreate
Forward declaration.
struct KIM_Model KIM_Model
Provides the primary interface to a KIM API Model object and is meant to be used by simulators...
struct KIM_ModelComputeArguments KIM_ModelComputeArguments
Forward declaration.
char const * KIM_ModelExtension_ToString(KIM_ModelExtension const *const modelCompute)
Get a string representing the internal state of the Model object.