•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Search Results
mpqc::Unit Class Reference
Documentation
The Unit class is used to perform unit conversions.
Public Member Functions | |
~Unit () | |
double to (const Unit &u) const | |
The conversion factor from this to u . More... | |
double from (const Unit &u) const | |
The conversion factor from u to this. More... | |
double to_atomic_units () const | |
The conversion factor from this to the corresponding atomic unit. More... | |
double from_atomic_units () const | |
The conversion factor from the corresponding atomic unit to this. More... | |
Friends | |
class UnitFactory | |
std::string to_string (const Unit &unit) | |
Constructor & Destructor Documentation
◆ ~Unit()
|
inline |
Member Function Documentation
◆ from()
double mpqc::Unit::from | ( | const Unit & | u | ) | const |
The conversion factor from u
to this.
◆ from_atomic_units()
double mpqc::Unit::from_atomic_units | ( | ) | const |
The conversion factor from the corresponding atomic unit to this.
◆ to()
double mpqc::Unit::to | ( | const Unit & | u | ) | const |
The conversion factor from this to u
.
◆ to_atomic_units()
double mpqc::Unit::to_atomic_units | ( | ) | const |
The conversion factor from this to the corresponding atomic unit.
Friends And Related Function Documentation
◆ to_string
|
friend |
◆ UnitFactory
|
friend |
The documentation for this class was generated from the following files: