Useful unit conversions. More...


Go to the source code of this file.
Namespaces | |
| Foam | |
| Namespace for OpenFOAM. | |
Functions | |
| scalar | degToRad (const scalar deg) |
| Convert degrees to radians. More... | |
| scalar | radToDeg (const scalar rad) |
| Convert radians to degrees. More... | |
| void | addUnits (const word &name, const unitConversion &units) |
| Add a unit conversion. More... | |
| const HashTable< unitConversion > & | units () |
| Get the table of unit conversions. More... | |
Variables | |
| const unitConversion | unitless |
| const unitConversion | unitAny |
| const unitConversion | unitNone |
| const unitConversion | unitFraction |
| const unitConversion | unitPercent |
| const unitConversion | unitRadians |
| const unitConversion | unitRotations |
| const unitConversion | unitDegrees |
Useful unit conversions.
Original source file unitConversions.H
Definition in file unitConversions.H.