52 extern const unitSet
any;
53 extern const unitSet
none;
62 extern const unitSet&
length;
65 const HashTable<unitSet>&
table();
68 void add(
const word&
name,
const unitSet& unit);
71 const unitSet&
lookup(
const word& unitName);
void add(const word &name, const unitSet &unit)
Add a unit conversion.
const HashTable< unitSet > & table()
Get the table of unit conversions.
void setLength(const unitSet &length)
Set the length scale to the given unit set.
const unitSet & lookup(const word &unitName)
Lookup and return the named unit from the table.
scalar radToDeg(const scalar rad)
Convert radians to degrees.
scalar degToRad(const scalar deg)
Convert degrees to radians.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.