13 #ifndef included_MPQC_Physics_Units_Impl_hh 14 #define included_MPQC_Physics_Units_Impl_hh 16 #ifndef included_sidl_cxx_hh 17 #include "sidl_cxx.hh" 19 #ifndef included_MPQC_Physics_Units_IOR_h 20 #include "MPQC_Physics_Units_IOR.h" 25 #ifndef included_MPQC_Physics_Units_hh 26 #include "MPQC_Physics_Units.hh" 28 #ifndef included_sidl_BaseInterface_hh 29 #include "sidl_BaseInterface.hh" 31 #ifndef included_sidl_ClassInfo_hh 32 #include "sidl_ClassInfo.hh" 37 #include <util/misc/units.h> 105 const ::std::string& unitname
123 const ::std::string& unitname
134 const ::std::string& unitname
double convert_from(const ::std::string &unitname)
Converts to self's units from the given unit name.
double convert_to(const ::std::string &unitname)
Converts from self's units to the given unit name.
::std::string get_unit_name()
Returns the units as a human readable string.
void initialize(const ::std::string &unitname)
Initializes the units as a human readable string options are "angstroms" or "bohr".
Symbol "MPQC.Physics_Units" (version 0.2)
Definition: MPQC_Physics_Units_Impl.hh:45