37 n_(methodDict.lookup(
"n")),
38 delta_(methodDict.lookupOrDefault<scalar>(
"delta", 0.001)),
45 <<
"Wrong number of processor divisions in geometric:" <<
nl
47 <<
"Wanted decomposition : " <<
n_
52 const scalar d2 =
sqr(d);
55 const scalar a2 =
sqr(a);
60 a*d - a2*d, a*a2 + d2, -2*a*d,
61 a*d2 + a2, a*d - a2*d, d2 - a2
Abstract base class for decomposition.
geometric(const dictionary &decompositionDict, const dictionary &methodDict)
Construct given the decomposition dictionary.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Tensor< scalar > tensor
Tensor of scalars.
static const Identity< scalar > I
void sqr(LagrangianPatchField< typename outerProduct< Type, Type >::type > &f, const LagrangianPatchField< Type > &f1)