1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
|
/* */
/* KIM-API: An API for interatomic models */
/* Copyright (c) 2013--2022, Regents of the University of Minnesota. */
/* All rights reserved. */
/* */
/* Contributors: */
/* Ryan S. Elliott */
/* */
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/* */
/* This library is free software; you can redistribute it and/or */
/* modify it under the terms of the GNU Lesser General Public */
/* License as published by the Free Software Foundation; either */
/* version 2.1 of the License, or (at your option) any later version. */
/* */
/* This library is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU */
/* Lesser General Public License for more details. */
/* */
/* You should have received a copy of the GNU Lesser General Public License */
/* along with this library; if not, write to the Free Software Foundation, */
/* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */
/* */
/* */
/* Release: This file is part of the kim-api.git repository. */
/* */
#ifndef KIM_MODEL_COMPUTE_ARGUMENTS_CREATE_H_
#define KIM_MODEL_COMPUTE_ARGUMENTS_CREATE_H_
/* Forward declarations */
#ifndef KIM_LOG_VERBOSITY_DEFINED_
#define KIM_LOG_VERBOSITY_DEFINED_
/**
** \brief Forward declaration.
**
** \since 2.0
**/
typedef struct KIM_LogVerbosity KIM_LogVerbosity;
#endif
#ifndef KIM_SUPPORT_STATUS_DEFINED_
#define KIM_SUPPORT_STATUS_DEFINED_
/**
** \brief Forward declaration.
**
** \since 2.0
**/
typedef struct KIM_SupportStatus KIM_SupportStatus;
#endif
#ifndef KIM_COMPUTE_ARGUMENT_NAME_DEFINED_
#define KIM_COMPUTE_ARGUMENT_NAME_DEFINED_
/**
** \brief Forward declaration.
**
** \since 2.0
**/
typedef struct KIM_ComputeArgumentName KIM_ComputeArgumentName;
#endif
#ifndef KIM_COMPUTE_CALLBACK_NAME_DEFINED_
#define KIM_COMPUTE_CALLBACK_NAME_DEFINED_
/**
** \brief Forward declaration.
**
** \since 2.0
**/
typedef struct KIM_ComputeCallbackName KIM_ComputeCallbackName;
#endif
#ifndef KIM_MODEL_COMPUTE_ARGUMENTS_CREATE_DEFINED_
#define KIM_MODEL_COMPUTE_ARGUMENTS_CREATE_DEFINED_
/**
** \brief \copybrief KIM::ModelComputeArgumentsCreate
**
** \sa KIM::ModelComputeArgumentsCreate,
** kim_model_compute_arguments_create_module::<!--
** -->kim_model_compute_arguments_create_handle_type
**
** \since 2.0
**/
typedef struct KIM_ModelComputeArgumentsCreate KIM_ModelComputeArgumentsCreate;
#endif
/**
** \brief \copybrief KIM::ModelComputeArgumentsCreate::SetArgumentSupportStatus
**
** \sa KIM::ModelComputeArgumentsCreate::SetArgumentSupportStatus,
** kim_model_compute_arguments_create_module::kim_set_argument_support_status
**
** \since 2.0
**/
int KIM_ModelComputeArgumentsCreate_SetArgumentSupportStatus(
KIM_ModelComputeArgumentsCreate * const modelComputeArgumentsCreate,
KIM_ComputeArgumentName const computeArgumentName,
KIM_SupportStatus const supportStatus);
/**
** \brief \copybrief KIM::ModelComputeArgumentsCreate::SetCallbackSupportStatus
**
** \sa KIM::ModelComputeArgumentsCreate::SetCallbackSupportStatus,
** kim_model_compute_arguments_create_module::kim_set_callback_support_status
**
** \since 2.0
**/
int KIM_ModelComputeArgumentsCreate_SetCallbackSupportStatus(
KIM_ModelComputeArgumentsCreate * const modelComputeArgumentsCreate,
KIM_ComputeCallbackName const computeCallbackName,
KIM_SupportStatus const supportStatus);
/**
** \brief \copybrief KIM::ModelComputeArgumentsCreate::SetModelBufferPointer
**
** \sa KIM::ModelComputeArgumentsCreate::SetModelBufferPointer,
** kim_model_compute_arguments_module::kim_set_model_buffer_pointer
**
** \since 2.0
**/
void KIM_ModelComputeArgumentsCreate_SetModelBufferPointer(
KIM_ModelComputeArgumentsCreate * const modelComputeArgumentsCreate,
void * const ptr);
/**
** \brief \copybrief KIM::ModelComputeArgumentsCreate::LogEntry
**
** \sa KIM::ModelComputeArgumentsCreate::LogEntry,
** kim_model_compute_arguments_module::kim_log_entry
**
** \since 2.0
**/
void KIM_ModelComputeArgumentsCreate_LogEntry(
KIM_ModelComputeArgumentsCreate const * const modelComputeArgumentsCreate,
KIM_LogVerbosity const logVerbosity,
char const * const message,
int const lineNumber,
char const * const fileName);
/**
** \brief \copybrief KIM::ModelComputeArgumentsCreate::ToString
**
** \sa KIM::ModelComputeArgumentsCreate::ToString,
** kim_model_compute_arguments_module::kim_to_string
**
** \since 2.0
**/
char const * KIM_ModelComputeArgumentsCreate_ToString(
KIM_ModelComputeArgumentsCreate const * const modelComputeArgumentsCreate);
#endif /* KIM_MODEL_COMPUTE_ARGUMENTS_CREATE_H_ */
|