Go to the documentation of this file.
47 scalar maxVal =
mag(axis[maxCmpt]);
51 const scalar val =
mag(axis[cmpt]);
63 dirn.
component(cmpt) = ((axis[maxCmpt] < 0) ? -1 : 1);
78 auto cstrIter = dictionaryConstructorTablePtr_->cfind(modelType);
80 if (!cstrIter.found())
87 *dictionaryConstructorTablePtr_
static autoPtr< coordinateRotation > New(const dictionary &dict)
Select constructed from dictionary.
const Cmpt & component(const direction) const
A class for handling words, derived from Foam::string.
static constexpr const zero Zero
Global zero (0)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
defineTypeName(ensightPart)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
static constexpr direction nComponents
Number of components in this vector space.
static vector findOrthogonal(const vector &axis)
Determine best-guess for an orthogonal axis.