Go to the documentation of this file.
33 template<
class Type,
class DType,
class LUType>
41 const word preconditionerName
43 preconditionerDict.
get<
word>(
"preconditioner")
48 auto* ctorPtr = symMatrixConstructorTable(preconditionerName);
55 "symmetric matrix preconditioner",
57 *symMatrixConstructorTablePtr_
72 auto* ctorPtr = asymMatrixConstructorTable(preconditionerName);
79 "asymmetric matrix preconditioner",
81 *asymMatrixConstructorTablePtr_
96 <<
"Cannot precondition incomplete matrix, "
97 "no diagonal or off-diagonal coefficient"
A class for handling words, derived from Foam::string.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
errorManipArg< error, int > exit(error &err, const int errNo=1)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
#define FatalIOErrorInFunction(ios)
static autoPtr< preconditioner > New(const solver &sol, const dictionary &preconditionerDict)
const LduMatrix< Type, DType, LUType > & matrix() const noexcept