Useful unit conversions.
More...
Go to the source code of this file.
|
| const HashTable< unitSet > & | table () |
| | Get the table of unit conversions. More...
|
| |
| void | add (const word &name, const unitSet &unit) |
| | Add a unit conversion. More...
|
| |
| const unitSet & | lookup (const word &unitName) |
| | Lookup and return the named unit from the table. More...
|
| |
| void | setLength (const unitSet &length) |
| | Set the length scale to the given unit set. More...
|
| |
| void | setLength (const scalar length) |
| | Set the length scale to the given value. More...
|
| |
| scalar | degToRad (const scalar deg) |
| | Convert degrees to radians. More...
|
| |
| scalar | radToDeg (const scalar rad) |
| | Convert radians to degrees. More...
|
| |
Useful unit conversions.
Original source file units.H
- Source files
-
Definition in file units.H.