85 symMatrixConstructorTable::iterator constructorIter =
86 symMatrixConstructorTablePtr_->find(name);
88 if (constructorIter == symMatrixConstructorTablePtr_->end())
92 "lduMatrix::preconditioner::New" 93 "(const solver&, const dictionary&)",
95 ) <<
"Unknown symmetric matrix preconditioner " 97 <<
"Valid symmetric matrix preconditioners :" <<
endl 98 << symMatrixConstructorTablePtr_->sortedToc()
113 asymMatrixConstructorTable::iterator constructorIter =
114 asymMatrixConstructorTablePtr_->find(name);
116 if (constructorIter == asymMatrixConstructorTablePtr_->end())
120 "lduMatrix::preconditioner::New" 121 "(const solver&, const dictionary&)",
123 ) <<
"Unknown asymmetric matrix preconditioner " 125 <<
"Valid asymmetric matrix preconditioners :" <<
endl 126 << asymMatrixConstructorTablePtr_->sortedToc()
143 "lduMatrix::preconditioner::New" 144 "(const solver&, const dictionary&)",
146 ) <<
"cannot solve incomplete matrix, " 147 "no diagonal or off-diagonal coefficient"
virtual bool isDict() const
Return true if this entry is a dictionary.
word name(const complex &)
Return a string representation of a complex.
virtual const dictionary & dict() const =0
Return dictionary if this entry is a dictionary.
static word getName(const dictionary &)
Find the preconditioner name (directly or from a sub-dictionary)
A class for handling words, derived from string.
errorManipArg< error, int > exit(error &err, const int errNo=1)
static autoPtr< preconditioner > New(const solver &sol, const dictionary &solverControls)
Return a new preconditioner.
A list of keyword definitions, which are a keyword followed by any number of values (e...
static const dictionary null
Null dictionary.
virtual ITstream & stream() const =0
Return token stream if this entry is a primitive entry.
const double e
Elementary charge.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const lduMatrix & matrix() const
A keyword and a list of tokens is an 'entry'.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Abstract base-class for lduMatrix solvers.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
const entry & lookupEntry(const word &, bool recursive, bool patternMatch) const
Find and return an entry data stream if present otherwise error.
#define FatalIOErrorIn(functionName, ios)
Report an error message using Foam::FatalIOError.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...