36 #ifndef KIM_MODEL_EXTENSION_H_ 37 #define KIM_MODEL_EXTENSION_H_ 40 #ifndef KIM_LOG_VERBOSITY_DEFINED_ 41 #define KIM_LOG_VERBOSITY_DEFINED_ 50 #ifndef KIM_MODEL_DEFINED_ 51 #define KIM_MODEL_DEFINED_ 60 #ifndef KIM_MODEL_COMPUTE_DEFINED_ 61 #define KIM_MODEL_COMPUTE_DEFINED_ 70 #ifndef KIM_MODEL_CREATE_DEFINED_ 71 #define KIM_MODEL_CREATE_DEFINED_ 80 #ifndef KIM_MODEL_DESTROY_DEFINED_ 81 #define KIM_MODEL_DESTROY_DEFINED_ 90 #ifndef KIM_MODEL_DRIVER_CREATE_DEFINED_ 91 #define KIM_MODEL_DRIVER_CREATE_DEFINED_ 100 #ifndef KIM_MODEL_REFRESH_DEFINED_ 101 #define KIM_MODEL_REFRESH_DEFINED_ 110 #ifndef KIM_MODEL_WRITE_PARAMETERIZED_MODEL_DEFINED_ 111 #define KIM_MODEL_WRITE_PARAMETERIZED_MODEL_DEFINED_ 121 #ifndef KIM_COMPUTE_ARGUMENTS_DEFINED_ 122 #define KIM_COMPUTE_ARGUMENTS_DEFINED_ 131 #ifndef KIM_MODEL_COMPUTE_ARGUMENTS_DEFINED_ 132 #define KIM_MODEL_COMPUTE_ARGUMENTS_DEFINED_ 141 #ifndef KIM_MODEL_COMPUTE_ARGUMENTS_CREATE_DEFINED_ 142 #define KIM_MODEL_COMPUTE_ARGUMENTS_CREATE_DEFINED_ 151 #ifndef KIM_MODEL_COMPUTE_ARGUMENTS_DESTROY_DEFINED_ 152 #define KIM_MODEL_COMPUTE_ARGUMENTS_DESTROY_DEFINED_ 163 #ifndef KIM_MODEL_EXTENSION_DEFINED_ 164 #define KIM_MODEL_EXTENSION_DEFINED_ 186 char const **
const extensionID);
324 char const *
const message,
325 int const lineNumber,
326 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.