KIM API V2
KIM_ModelRefresh.hpp
Go to the documentation of this file.
1 //
2 // CDDL HEADER START
3 //
4 // The contents of this file are subject to the terms of the Common Development
5 // and Distribution License Version 1.0 (the "License").
6 //
7 // You can obtain a copy of the license at
8 // http://www.opensource.org/licenses/CDDL-1.0. See the License for the
9 // specific language governing permissions and limitations under the License.
10 //
11 // When distributing Covered Code, include this CDDL HEADER in each file and
12 // include the License file in a prominent location with the name LICENSE.CDDL.
13 // If applicable, add the following below this CDDL HEADER, with the fields
14 // enclosed by brackets "[]" replaced with your own identifying information:
15 //
16 // Portions Copyright (c) [yyyy] [name of copyright owner]. All rights reserved.
17 //
18 // CDDL HEADER END
19 //
20 
21 //
22 // Copyright (c) 2016--2018, Regents of the University of Minnesota.
23 // All rights reserved.
24 //
25 // Contributors:
26 // Ryan S. Elliott
27 //
28 
29 //
30 // Release: This file is part of the kim-api-v2.0.0-alpha.0 package.
31 //
32 
33 
34 #ifndef KIM_MODEL_REFRESH_HPP_
35 #define KIM_MODEL_REFRESH_HPP_
36 
37 #include <string>
38 
39 namespace KIM
40 {
41 // Forward declarations
42 class LogVerbosity;
43 class LengthUnit;
44 class EnergyUnit;
45 class ChargeUnit;
46 class TemperatureUnit;
47 class TimeUnit;
48 
49 
51  public:
52  void SetInfluenceDistancePointer(double const * const influenceDistance);
53 
54  void SetNeighborListCutoffsPointer(int const numberOfCutoffs,
55  double const * const cutoffs);
56 
57  void GetModelBufferPointer(void ** const ptr) const;
58 
59  void LogEntry(LogVerbosity const logVerbosity, std::string const & message,
60  int const lineNumber, std::string const & fileName) const;
61  std::string String() const;
62 
63  private:
64  // do not allow copy constructor or operator=
65  ModelRefresh(ModelRefresh const &);
66  void operator=(ModelRefresh const &);
67 
68  ModelRefresh();
69  ~ModelRefresh();
70 
71  class ModelRefreshImplementation;
72  ModelRefreshImplementation * pimpl;
73 }; // class ModelRefresh
74 } // namespace KIM
75 #endif // KIM_MODEL_REFRESH_HPP_
void LogEntry(LogVerbosity const logVerbosity, std::string const &message, int const lineNumber, std::string const &fileName) const
std::string String() const
void SetNeighborListCutoffsPointer(int const numberOfCutoffs, double const *const cutoffs)
void SetInfluenceDistancePointer(double const *const influenceDistance)
void GetModelBufferPointer(void **const ptr) const