Unit conversion functions. More...
Go to the source code of this file.
Namespaces | |
namespace | Foam |
Namespace for OpenFOAM. | |
Functions | |
constexpr scalar | degToRad (const scalar deg) noexcept |
Conversion from degrees to radians. More... | |
constexpr scalar | radToDeg (const scalar rad) noexcept |
Conversion from radians to degrees. More... | |
constexpr scalar | degToRad () noexcept |
Multiplication factor for degrees to radians conversion. More... | |
constexpr scalar | radToDeg () noexcept |
Multiplication factor for radians to degrees conversion. More... | |
constexpr scalar | rpmToRads (const scalar rpm) noexcept |
Conversion from revolutions/minute to radians/sec. More... | |
constexpr scalar | radsToRpm (const scalar rads) noexcept |
Conversion from radians/sec to revolutions/minute. More... | |
constexpr scalar | rpmToRads () noexcept |
Multiplication factor for revolutions/minute to radians/sec. More... | |
constexpr scalar | radsToRpm () noexcept |
Multiplication factor for radians/sec to revolutions/minute. More... | |
constexpr scalar | atmToPa (const scalar atm) noexcept |
Conversion from atm to Pa. More... | |
constexpr scalar | barToPa (const scalar bar) noexcept |
Conversion from bar to Pa. More... | |
constexpr scalar | paToAtm (const scalar pa) noexcept |
Conversion from Pa to atm. More... | |
constexpr scalar | paToBar (const scalar pa) noexcept |
Conversion from Pa to bar. More... | |
constexpr scalar | operator""_deg (unsigned long long int deg) noexcept |
User literal for degrees to radians conversion (integers) More... | |
constexpr scalar | operator""_deg (long double deg) noexcept |
User literal for degrees to radians conversion (floats) More... | |
Unit conversion functions.
Original source file unitConversion.H
InNamespace Foam
Definition in file unitConversion.H.