55 e.dict().readEntry(
"preconditioner",
name);
82 e.dict().readEntry(
"preconditioner",
name);
93 auto* ctorPtr = symMatrixConstructorTable(
name);
100 "symmetric matrix preconditioner",
102 *symMatrixConstructorTablePtr_
106 return autoPtr<lduMatrix::preconditioner>
117 auto* ctorPtr = asymMatrixConstructorTable(
name);
124 "asymmetric matrix preconditioner",
126 *asymMatrixConstructorTablePtr_
130 return autoPtr<lduMatrix::preconditioner>
141 <<
"cannot solve incomplete matrix, " 142 "no diagonal or off-diagonal coefficient" bool symmetric() const noexcept
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const lduMatrix & matrix() const noexcept
const entry & lookupEntry(const word &keyword, enum keyType::option matchOpt) const
Search for an entry (const access) with the given keyword.
const dimensionedScalar e
Elementary charge.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
A class for handling words, derived from Foam::string.
static autoPtr< preconditioner > New(const solver &sol, const dictionary &solverControls)
Return a new preconditioner.
Abstract base-class for lduMatrix solvers.
static const dictionary null
An empty dictionary, which is also the parent for all dictionaries.
bool asymmetric() const noexcept
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
Abstract base-class for lduMatrix preconditioners.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
static word getName(const dictionary &)
Find the preconditioner name (directly or from a sub-dictionary)
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
A keyword and a list of tokens is an 'entry'.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...