34 #ifndef KIM_SIMULATOR_MODEL_HPP_ 35 #define KIM_SIMULATOR_MODEL_HPP_ 43 class SimulatorModelImplementation;
172 static int Create(std::string
const & simulatorModelName,
207 std::string
const **
const simulatorVersion)
const;
233 std::string
const **
const speciesName)
const;
293 int AddTemplateMap(std::string
const & key, std::string
const & value);
341 std::string
const **
const fieldName)
const;
365 std::string
const **
const lineValue)
const;
392 std::string
const **
const specificationFileName)
const;
422 std::string
const **
const parameterFileName)
const;
463 std::string
const &
ToString()
const;
475 void SetLogID(std::string
const & logID);
505 SimulatorModelImplementation * pimpl;
509 #endif // KIM_SIMULATOR_MODEL_HPP_ void GetSimulatorNameAndVersion(std::string const **const simulatorName, std::string const **const simulatorVersion) const
Get the SimulatorModel's simulator name and version.
void GetNumberOfParameterFiles(int *const numberOfParameterFiles) const
Get the number of parameter files provided by the SimulatorModel.
void PopLogVerbosity()
Pop a LogVerbosity from the SimulatorModel object's Log object verbosity stack.
void GetSimulatorBufferPointer(void **const ptr) const
Get the Simulator's buffer pointer from the SimulatorModel object.
CollectionItemType const simulatorModel
The standard simulatorModel CollectionItemType.
std::string const & ToString() const
Get a string representing the internal state of the SimulatorModel object.
void GetNumberOfSupportedSpecies(int *const numberOfSupportedSpecies) const
Get the number of species supported by the SimulatorModel.
void SetSimulatorBufferPointer(void *const ptr)
Set the Simulator's buffer pointer within the SimulatorModel object.
An Extensible Enumeration for the LogVerbosity's supported by the KIM API.
void GetSpecificationFileName(std::string const **const specificationFileName) const
Get the SimulatorModel's specification file basename (file name without path). The file is located in...
void CloseTemplateMap()
Close the template map and perform template substitutions.
static int Create(std::string const &simulatorModelName, SimulatorModel **const simulatorModel)
Create a new KIM API SimulatorModel object.
void GetParameterFileDirectoryName(std::string const **const directoryName) const
Get absolute path name of the temporary directory where parameter files provided by the simulator mod...
int AddTemplateMap(std::string const &key, std::string const &value)
Add a new key-value entry to the template map.
int GetParameterFileName(int const index, std::string const **const parameterFileName) const
Get the basename (file name without path) of a particular parameter file. The file is located in the ...
Provides the primary interface to a KIM API SimulatorModel object and is meant to be used by simulato...
int GetSupportedSpecies(int const index, std::string const **const speciesName) const
Get a species name supported by the SimulatorModel.
void OpenAndInitializeTemplateMap()
Open and initialize the template map for simulator field line substitutions.
int GetSimulatorFieldMetadata(int const fieldIndex, int *const extent, std::string const **const fieldName) const
Get the metadata for the simulator field of interest.
void PushLogVerbosity(LogVerbosity const logVerbosity)
Push a new LogVerbosity onto the SimulatorModel object's Log object verbosity stack.
int TemplateMapIsOpen() const
Determine if the template map is open.
static void Destroy(SimulatorModel **const simulatorModel)
Destroy a previously SimulatorModel::Create'd object.
void SetLogID(std::string const &logID)
Set the identity of the Log object associated with the SimulatorModel object.
int GetSimulatorFieldLine(int const fieldIndex, int const lineIndex, std::string const **const lineValue) const
Get a line for the simulator field of interest with all template substitutions performed (Requires th...
void GetNumberOfSimulatorFields(int *const numberOfSimulatorFields) const
Get the number of simulator fields provided by the SimulatorModel.