| 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 |
/* Ellad B. Tadmor */ |
| 9 |
/* */ |
| 10 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 11 |
/* */ |
| 12 |
/* This library is free software; you can redistribute it and/or */ |
| 13 |
/* modify it under the terms of the GNU Lesser General Public */ |
| 14 |
/* License as published by the Free Software Foundation; either */ |
| 15 |
/* version 2.1 of the License, or (at your option) any later version. */ |
| 16 |
/* */ |
| 17 |
/* This library is distributed in the hope that it will be useful, */ |
| 18 |
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ |
| 19 |
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU */ |
| 20 |
/* Lesser General Public License for more details. */ |
| 21 |
/* */ |
| 22 |
/* You should have received a copy of the GNU Lesser General Public License */ |
| 23 |
/* along with this library; if not, write to the Free Software Foundation, */ |
| 24 |
/* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ |
| 25 |
/* */ |
| 26 |
|
| 27 |
/* */ |
| 28 |
/* Release: This file is part of the kim-api.git repository. */ |
| 29 |
/* */ |
| 30 |
|
| 31 |
/** |
| 32 |
\mainpage Table of Contents |
| 33 |
|
| 34 |
The Knowledgebase of Interatomic Models (%KIM) Application Programming |
| 35 |
Interface (API) defines a standard (the Portable Model Interface (PMI)) for how |
| 36 |
molecular simulators interface with interatomic models (also called potentials |
| 37 |
or force-fields). This allows a single computer implementation of a Portable |
| 38 |
Model (PM) to be used (without modification) within multiple simulator codes. |
| 39 |
A PM can include code and parameters all in one. Or, a PM can include just |
| 40 |
parameters and use a separate Model Driver (MD) library containing the code. |
| 41 |
See [openkim.org](https://openkim.org) to find many PM implementations, |
| 42 |
[openkim.org/projects-using-kim](https://openkim.org/projects-using-kim) to |
| 43 |
learn which simulators support the %KIM API/PMI, and |
| 44 |
[openkim.org/doc/usage/using-models](https://openkim.org/doc/usage/using-models) |
| 45 |
to learn how to use %KIM PMs with those simulators. The %KIM API also defines |
| 46 |
a standard (the Simulator Model Interface (SMI)) that allows for the creation |
| 47 |
and curation of Simulator Models (SMs), which are packages containing the |
| 48 |
metadata necessary to set up and run a model that is implemented as an |
| 49 |
integrated part of a simulation code (simulator). A %KIM SM includes all of |
| 50 |
the necessary parameter files, simulator input commands, and metadata |
| 51 |
(supported species, units, etc.) needed to run the model in its native |
| 52 |
simulator. See [openkim.org](https://openkim.org) to find many SM packages, |
| 53 |
[openkim.org/projects-using-kim](https://openkim.org/projects-using-kim) to |
| 54 |
learn which simulators support the %KIM API/SMI, and |
| 55 |
[openkim.org/doc/usage/using-models](https://openkim.org/doc/usage/using-models) |
| 56 |
to learn how to use %KIM SMs with those simulators. |
| 57 |
|
| 58 |
This documentation describes the specifications and official implementation of |
| 59 |
the %KIM API as a system-level software library that gives computer programmers |
| 60 |
the ability to write PM, SM, and/or Simulators in supported programming |
| 61 |
language (C, C++, Fortran). |
| 62 |
|
| 63 |
Table of Contents: |
| 64 |
|
| 65 |
-# \ref features |
| 66 |
|
| 67 |
-# \ref theory |
| 68 |
|
| 69 |
-# [**INSTALL the %KIM API package**](_i_n_s_t_a_l_l_source.html) |
| 70 |
|
| 71 |
-# \ref implementation |
| 72 |
|
| 73 |
-# Example Portable Models (PMs) written in C++ (\link |
| 74 |
../examples/portable-models/LennardJones_Ar LennardJones_Ar\endlink), C |
| 75 |
(\link ../examples/portable-models/ex_model_Ar_P_Morse_07C |
| 76 |
ex_model_Ar_P_Morse_07C\endlink, \link |
| 77 |
../examples/portable-models/ex_model_Ar_P_Morse_MultiCutoff |
| 78 |
ex_model_Ar_P_Morse_MultiCutoff\endlink, \link |
| 79 |
../examples/portable-models/ex_model_Ar_P_Morse_07C_w_Extensions |
| 80 |
ex_model_Ar_P_Morse_07C_w_Extensions\endlink) and Fortran (\link |
| 81 |
../examples/portable-models/ex_model_Ar_P_MLJ_Fortran |
| 82 |
ex_model_Ar_P_MLJ_Fortran\endlink, \link |
| 83 |
../examples/portable-models/ex_model_Ar_SLJ_MultiCutoff |
| 84 |
ex_model_Ar_SLJ_MultiCutoff\endlink) |
| 85 |
|
| 86 |
-# Example Model Drivers (MDs) written in C++ (\link |
| 87 |
../examples/model-drivers/LennardJones612__MD_414112407348_003 |
| 88 |
LennardJones612__MD_414112407348_003\endlink), C (\link |
| 89 |
../examples/model-drivers/ex_model_driver_P_Morse |
| 90 |
ex_model_driver_P_Morse\endlink), and Fortran (\link |
| 91 |
../examples/model-drivers/ex_model_driver_P_LJ |
| 92 |
ex_model_driver_P_LJ\endlink). |
| 93 |
|
| 94 |
-# Example PMs using MDs (\link ../examples/portable-models/ex_model_Ar_P_LJ |
| 95 |
ex_model_Ar_P_LJ\endlink, \link |
| 96 |
../examples/portable-models/ex_model_Ar_P_Morse ex_model_Ar_P_Morse\endlink, |
| 97 |
\link |
| 98 |
../examples/portable-models/LennardJones612_UniversalShifted__MO_959249795837_003 |
| 99 |
LennardJones612_UniversalShifted__MO_959249795837_003\endlink). |
| 100 |
|
| 101 |
-# An Example SM (\link |
| 102 |
../examples/simulator-models/Sim_LAMMPS_LJcut_AkersonElliott_Alchemy_PbAu |
| 103 |
Sim_LAMMPS_LJcut_AkersonElliott_Alchemy_PbAu\endlink). |
| 104 |
|
| 105 |
-# Example Simulators written in C++ ( \link |
| 106 |
../examples/simulators/ex_test_Ar_fcc_cluster_cpp |
| 107 |
ex_test_Ar_fcc_cluster_cpp\endlink, \link |
| 108 |
../examples/simulators/collections-example collections-example\endlink, |
| 109 |
\link ../examples/simulators/simulator-model-example |
| 110 |
simulator-model-example\endlink), C (\link |
| 111 |
../examples/simulators/ex_test_Ar_fcc_cluster |
| 112 |
ex_test_Ar_fcc_cluster\endlink, \link |
| 113 |
../examples/simulators/collections-example collections-example\endlink, |
| 114 |
\link ../examples/simulators/simulator-model-example |
| 115 |
simulator-model-example\endlink), and Fortran ( \link |
| 116 |
../examples/simulators/ex_test_Ar_fcc_cluster_fortran |
| 117 |
ex_test_Ar_fcc_cluster_fortran\endlink, \link |
| 118 |
../examples/simulators/collections-example collections-example\endlink, |
| 119 |
\link ../examples/simulators/simulator-model-example |
| 120 |
simulator-model-example\endlink). |
| 121 |
|
| 122 |
-# A utility for checking the consistency between a PM's energy function and |
| 123 |
its forces function (\link ../examples/simulators/utility_forces_numer_deriv |
| 124 |
utility_forces_numer_deriv\endlink). This performs a numerical |
| 125 |
differentiation of the PM's energy, using Ridder's method, and compares the |
| 126 |
result with the PM's forces. |
| 127 |
|
| 128 |
-# \ref cmake_files |
| 129 |
|
| 130 |
-# \ref version2_differences |
| 131 |
|
| 132 |
-# The [NEWS](_n_e_w_s_source.html) file. |
| 133 |
|
| 134 |
In addition, all public header files and included example codes are available |
| 135 |
for [browsing](files.html). |
| 136 |
|
| 137 |
|
| 138 |
|
| 139 |
|
| 140 |
|
| 141 |
*/ |
| 142 |
|
| 143 |
LocalWords: yyyy Ellad Tadmor kim api mainpage atomistic interatomic ref |
| 144 |
LocalWords: Ar fcc cpp fortran MLJ LennardJones hpp LJ params html SLJ org SM |
| 145 |
LocalWords: MultiCutoff UniversalShifted Knowledgebase openkim PMI PMs SMI em |
| 146 |
LocalWords: curation SMs metadata MDs Sim LAMMPS LJcut AkersonElliott PbAu pb |
| 147 |
LocalWords: smspec edn au PM's numer deriv Ridder's |