Constants & Units
Enumerations and helpers mirroring the KIM-API constant definitions and unit styles.
KIM_API.compute_argument_name_to_string — Methodcompute_argument_name_to_string(value::Cint) -> StringConvert compute argument name integer to string
KIM_API.energy_unit_to_string — Methodenergy_unit_to_string(value::Cint) -> StringConvert energy unit integer to string
KIM_API.get_charge_unit — Methodget_charge_unit(name::String) -> CintGet charge unit constant from string name ("C", "e")
KIM_API.get_compute_argument_name — Methodget_compute_argument_name(name::String) -> CintGet compute argument name constant from string
KIM_API.get_compute_callback_name — Methodget_compute_callback_name(name::String) -> CintGet compute callback name constant from string
KIM_API.get_energy_unit — Methodget_energy_unit(name::String) -> CintGet energy unit constant from string name ("eV", "J", "kcal_mol", etc.)
KIM_API.get_language_name — Methodget_language_name(name::String) -> CintGet language name constant from string ("c", "cpp", "fortran")
KIM_API.get_length_unit — Methodget_length_unit(name::String) -> CintGet length unit constant from string name ("A", "Bohr", "cm", "m", "nm")
KIM_API.get_numbering — Methodget_numbering(name::String) -> CintGet numbering constant from string name ("zeroBased" or "oneBased")
KIM_API.get_support_status — Methodget_support_status(name::String) -> CintGet support status constant from string ("required", "optional", "notSupported")
KIM_API.get_temperature_unit — Methodget_temperature_unit(name::String) -> CintGet temperature unit constant from string name ("K")
KIM_API.get_time_unit — Methodget_time_unit(name::String) -> CintGet time unit constant from string name ("fs", "ps", "ns", "s")
KIM_API.length_unit_to_string — Methodlength_unit_to_string(value::Cint) -> StringConvert length unit integer to string
KIM_API.numbering_to_string — Methodnumbering_to_string(value::Cint) -> StringConvert numbering integer to string