85 symMatrixConstructorTable::iterator constructorIter =
86 symMatrixConstructorTablePtr_->find(name);
88 if (constructorIter == symMatrixConstructorTablePtr_->end())
93 ) <<
"Unknown symmetric matrix preconditioner " 95 <<
"Valid symmetric matrix preconditioners :" <<
endl 96 << symMatrixConstructorTablePtr_->sortedToc()
111 asymMatrixConstructorTable::iterator constructorIter =
112 asymMatrixConstructorTablePtr_->find(name);
114 if (constructorIter == asymMatrixConstructorTablePtr_->end())
119 ) <<
"Unknown asymmetric matrix preconditioner " 121 <<
"Valid asymmetric matrix preconditioners :" <<
endl 122 << asymMatrixConstructorTablePtr_->sortedToc()
140 ) <<
"cannot solve incomplete matrix, " 141 "no diagonal or off-diagonal coefficient" errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
Ostream & endl(Ostream &os)
Add newline and flush stream.
const lduMatrix & matrix() const
virtual const dictionary & dict() const =0
Return dictionary if this entry is a dictionary.
const entry & lookupEntry(const word &, bool recursive, bool patternMatch) const
Find and return an entry data stream if present otherwise error.
A class for handling words, derived from 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
Null dictionary.
virtual bool isDict() const
Return true if this entry is a dictionary.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
word name(const complex &)
Return a string representation of a complex.
#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)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const doubleScalar e
Elementary charge.
virtual ITstream & stream() const =0
Return token stream if this entry is a primitive entry.
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.