37 if (!
units.x.standard() || !
units.y.standard() || !
units.value.standard())
40 <<
"Unit conversions are not supported by "
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A class for handling words, derived from string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
errorManip< error > abort(error &err)
const HashTable< unitConversion > & units()
Get the table of unit conversions.
void assertNoConvertUnits(const word &typeName, const Function1s::unitConversions &units, const dictionary &dict)
Generate an error in an context where unit conversions are not supported.