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_ModelRefresh.h
Go to the documentation of this file.
1/* */
2/* KIM-API: An API for interatomic models */
3/* Copyright (c) 2013--2022, Regents of the University of Minnesota. */
4/* All rights reserved. */
5/* */
6/* Contributors: */
7/* Ryan S. Elliott */
8/* */
9/* SPDX-License-Identifier: LGPL-2.1-or-later */
10/* */
11/* This library is free software; you can redistribute it and/or */
12/* modify it under the terms of the GNU Lesser General Public */
13/* License as published by the Free Software Foundation; either */
14/* version 2.1 of the License, or (at your option) any later version. */
15/* */
16/* This library is distributed in the hope that it will be useful, */
17/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
18/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU */
19/* Lesser General Public License for more details. */
20/* */
21/* You should have received a copy of the GNU Lesser General Public License */
22/* along with this library; if not, write to the Free Software Foundation, */
23/* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */
24/* */
25
26/* */
27/* Release: This file is part of the kim-api-2.3.0 package. */
28/* */
29
30
31#ifndef KIM_MODEL_REFRESH_H_
32#define KIM_MODEL_REFRESH_H_
33
34/* Forward declarations */
35#ifndef KIM_LOG_VERBOSITY_DEFINED_
36#define KIM_LOG_VERBOSITY_DEFINED_
43#endif
44
45
46#ifndef KIM_MODEL_REFRESH_DEFINED_
47#define KIM_MODEL_REFRESH_DEFINED_
57#endif
58
68 KIM_ModelRefresh * const modelRefresh,
69 double const * const influenceDistance);
70
80 KIM_ModelRefresh * const modelRefresh,
81 int const numberOfNeighborLists,
82 double const * const cutoffs,
83 int const * const modelWillNotRequestNeighborsOfNoncontributingParticles);
84
94 KIM_ModelRefresh const * const modelRefresh, void ** const ptr);
95
103void KIM_ModelRefresh_LogEntry(KIM_ModelRefresh const * const modelRefresh,
104 KIM_LogVerbosity const logVerbosity,
105 char const * const message,
106 int const lineNumber,
107 char const * const fileName);
108
116char const *
117KIM_ModelRefresh_ToString(KIM_ModelRefresh const * const modelRefresh);
118
119#endif /* KIM_MODEL_REFRESH_H_ */
struct KIM_ModelRefresh KIM_ModelRefresh
Forward declaration.
void KIM_ModelRefresh_LogEntry(KIM_ModelRefresh const *const modelRefresh, KIM_LogVerbosity const logVerbosity, char const *const message, int const lineNumber, char const *const fileName)
Write a log entry into the log file.
void KIM_ModelRefresh_SetInfluenceDistancePointer(KIM_ModelRefresh *const modelRefresh, double const *const influenceDistance)
Set the Model's influence distance data pointer.
void KIM_ModelRefresh_GetModelBufferPointer(KIM_ModelRefresh const *const modelRefresh, void **const ptr)
Get the Model's buffer pointer within the Model object.
void KIM_ModelRefresh_SetNeighborListPointers(KIM_ModelRefresh *const modelRefresh, int const numberOfNeighborLists, double const *const cutoffs, int const *const modelWillNotRequestNeighborsOfNoncontributingParticles)
Set the Model's neighbor list data pointers.
char const * KIM_ModelRefresh_ToString(KIM_ModelRefresh const *const modelRefresh)
Get a string representing the internal state of the Model object.
An Extensible Enumeration for the LogVerbosity's supported by the KIM API.