31#ifndef KIM_ENERGY_UNIT_HPP_
32#define KIM_ENERGY_UNIT_HPP_
An Extensible Enumeration for the EnergyUnit's supported by the KIM API.
bool Known() const
Determines if the object is a quantity known to the KIM API.
bool operator!=(EnergyUnit const &rhs) const
Compares EnergyUnit objects for inequality.
EnergyUnit(std::string const &str)
Create an EnergyUnit object corresponding to the provided string. If the string does not match one of...
EnergyUnit(int const id)
Create a EnergyUnit object with the specified id.
bool operator==(EnergyUnit const &rhs) const
Compares EnergyUnit objects for equality.
EnergyUnit()
Create an uninitialized EnergyUnit object.
std::string const & ToString() const
Converts the object to a string.
int energyUnitID
Integer identifying the specific EnergyUnit represented.
EnergyUnit const eV
The standard electronvolt unit of energy.
EnergyUnit const amu_A2_per_ps2
The standard amu*A /ps unit of energy.
void GetNumberOfEnergyUnits(int *const numberOfEnergyUnits)
Get the number of standard EnergyUnit's defined by the KIM API.
EnergyUnit const unused
Indicates that a EnergyUnit is not used.
EnergyUnit const erg
The standard erg unit of energy.
EnergyUnit const J
The standard Joule unit of energy.
int GetEnergyUnit(int const index, EnergyUnit *const energyUnit)
Get the identity of each defined standard EnergyUnit.
EnergyUnit const kcal_mol
The standard kilocalorie per mole unit of energy.
EnergyUnit const Hartree
The standard Hartree unit of energy.
Structure provided for use with std::map.
bool operator()(EnergyUnit const &a, EnergyUnit const &b) const
Provides an (logically unmeaningful) ordering for EnergyUnit objects so that they can be stored in a ...