kim-api
2.3.0+v2.3.0.GNU.GNU.
An Application Programming Interface (API) for the Knowledgebase of Interatomic Models (KIM).
|
Contains the enumeration constants and the discovery routines for the TimeUnit Extensible Enumeration. More...
Classes | |
struct | Comparator |
Structure provided for use with std::map. More... | |
Functions | |
void | GetNumberOfTimeUnits (int *const numberOfTimeUnits) |
Get the number of standard TimeUnit's defined by the KIM API. More... | |
int | GetTimeUnit (int const index, TimeUnit *const timeUnit) |
Get the identity of each defined standard TimeUnit. More... | |
Variables | |
TimeUnit const | unused |
Indicates that a TimeUnit is not used. More... | |
TimeUnit const | fs |
The standard femtosecond unit of time. More... | |
TimeUnit const | ps |
The standard picosecond unit of time. More... | |
TimeUnit const | ns |
The standard nanosecond unit of time. More... | |
TimeUnit const | s |
The standard second unit of time. More... | |
Contains the enumeration constants and the discovery routines for the TimeUnit Extensible Enumeration.
void KIM::TIME_UNIT::GetNumberOfTimeUnits | ( | int *const | numberOfTimeUnits | ) |
int KIM::TIME_UNIT::GetTimeUnit | ( | int const | index, |
TimeUnit *const | timeUnit | ||
) |
Get the identity of each defined standard TimeUnit.
[in] | index | Zero-based index uniquely labeling each defined standard TimeUnitnit. This index ordering is only guaranteed to be stable during the lifetime of the current process. |
[out] | timeUnit | The TimeUnit object associated with index . |
true
if index < 0
or index >= numberOfTimeUnits
. false
otherwise.TimeUnit const KIM::TIME_UNIT::fs |
The standard femtosecond unit of time.
TimeUnit const KIM::TIME_UNIT::ns |
The standard nanosecond unit of time.
TimeUnit const KIM::TIME_UNIT::ps |
The standard picosecond unit of time.
TimeUnit const KIM::TIME_UNIT::s |
The standard second unit of time.