50 e.dict().lookup(
"smoother") >>
name;
63 const word& fieldName,
77 e.dict().lookup(
"smoother") >>
name;
89 symMatrixConstructorTable::iterator constructorIter =
90 symMatrixConstructorTablePtr_->find(
name);
92 if (constructorIter == symMatrixConstructorTablePtr_->end())
95 <<
"Unknown symmetric matrix smoother "
97 <<
"Valid symmetric matrix smoothers are :" <<
endl
98 << symMatrixConstructorTablePtr_->sortedToc()
116 asymMatrixConstructorTable::iterator constructorIter =
117 asymMatrixConstructorTablePtr_->find(
name);
119 if (constructorIter == asymMatrixConstructorTablePtr_->end())
122 <<
"Unknown asymmetric matrix smoother "
124 <<
"Valid asymmetric matrix smoothers are :" <<
endl
125 << asymMatrixConstructorTablePtr_->sortedToc()
144 <<
"cannot solve incomplete matrix, "
145 "no diagonal or off-diagonal coefficient"
157 const word& fieldName,
164 fieldName_(fieldName),
166 interfaceBouCoeffs_(interfaceBouCoeffs),
167 interfaceIntCoeffs_(interfaceIntCoeffs),
168 interfaces_(interfaces)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
const entry & lookupEntry(const word &, bool recursive, bool patternMatch) const
Find and return an entry data stream if present otherwise error.
A keyword and a list of tokens is an 'entry'.
Abstract base-class for lduMatrix smoothers.
smoother(const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces)
static autoPtr< smoother > New(const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, const dictionary &solverControls)
Return a new smoother.
static word getName(const dictionary &)
Find the smoother name (directly or from a sub-dictionary)
lduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
A class for handling words, derived from string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.