33 const word& derivedType
37 geometricDict_(decompositionDict.optionalSubDict(derivedType +
"Coeffs")),
38 n_(geometricDict_.lookup(
"n")),
39 delta_(geometricDict_.lookupOrDefault<scalar>(
"delta", 0.001)),
46 <<
"Wrong number of processor divisions in geometric:" <<
nl
48 <<
"Wanted decomposition : " <<
n_
53 const scalar d2 =
sqr(d);
56 const scalar a2 =
sqr(a);
61 a*d - a2*d, a*a2 + d2, -2*a*d,
62 a*d2 + a2, a*d - a2*d, d2 - a2
Abstract base class for decomposition.
geometric(const dictionary &decompositionDict, const word &derivedType)
Construct given the decomposition dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Tensor< scalar > tensor
Tensor of scalars.
static const Identity< scalar > I