31#ifndef KIM_MODEL_COMPUTE_ARGUMENTS_HPP_
32#define KIM_MODEL_COMPUTE_ARGUMENTS_HPP_
43class ModelComputeArgumentsImplementation;
53class ModelComputeArguments
86 int const particleNumber,
87 int *
const numberOfNeighbors,
88 int const **
const neighborsOfParticle)
const;
119 double const *
const dx,
148 double const *
const r,
149 double const *
const dx,
151 int const *
const j)
const;
168 int const **
const ptr)
const;
172 int **
const ptr)
const;
176 double const **
const ptr)
const;
180 double **
const ptr)
const;
200 int *
const present)
const;
249 std::string
const & message,
250 int const lineNumber,
251 std::string
const & fileName)
const;
255 std::stringstream
const & message,
256 int const lineNumber,
257 std::string
const & fileName)
const;
274 ModelComputeArguments(ModelComputeArguments
const &);
275 void operator=(ModelComputeArguments
const &);
277 ModelComputeArguments();
278 ~ModelComputeArguments();
280 ModelComputeArgumentsImplementation * pimpl;
An Extensible Enumeration for the ComputeArgumentName's supported by the KIM API.
An Extensible Enumeration for the ComputeCallbackName's supported by the KIM API.
An Extensible Enumeration for the LogVerbosity's supported by the KIM API.
int ProcessD2EDr2Term(double const de, double const *const r, double const *const dx, int const *const i, int const *const j) const
Call the Simulator's COMPUTE_CALLBACK_NAME::ProcessD2EDr2Term routine.
int GetNeighborList(int const neighborListIndex, int const particleNumber, int *const numberOfNeighbors, int const **const neighborsOfParticle) const
Get the neighbor list for a particle of interest corresponding to a particular neighbor list cutoff d...
void SetModelBufferPointer(void *const ptr)
Set the Model's buffer pointer within the ComputeArguments object.
void GetModelBufferPointer(void **const ptr) const
Get the Model's buffer pointer within the ComputeArguments object.
int ProcessDEDrTerm(double const de, double const r, double const *const dx, int const i, int const j) const
Call the Simulator's COMPUTE_CALLBACK_NAME::ProcessDEDrTerm routine.
std::string const & ToString() const
Get a string representing the internal state of the ComputeArguments object.
int GetArgumentPointer(ComputeArgumentName const computeArgumentName, int const **const ptr) const
Get the data pointer for a ComputeArgumentName.
void LogEntry(LogVerbosity const logVerbosity, std::string const &message, int const lineNumber, std::string const &fileName) const
Write a log entry into the log file.
int GetArgumentPointer(ComputeArgumentName const computeArgumentName, double **const ptr) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
int IsCallbackPresent(ComputeCallbackName const computeCallbackName, int *const present) const
Determine if the Simulator has provided a non-NULL function pointer for a ComputeCallbackName of inte...
int GetArgumentPointer(ComputeArgumentName const computeArgumentName, int **const ptr) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void LogEntry(LogVerbosity const logVerbosity, std::stringstream const &message, int const lineNumber, std::string const &fileName) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
int GetArgumentPointer(ComputeArgumentName const computeArgumentName, double const **const ptr) const
This is an overloaded member function, provided for convenience. It differs from the above function o...