51 e.dict().lookup(
"smoother") >>
name;
64 const word& fieldName,
78 e.dict().lookup(
"smoother") >>
name;
104 symMatrixConstructorTable::iterator constructorIter =
105 symMatrixConstructorTablePtr_->find(
name);
107 if (constructorIter == symMatrixConstructorTablePtr_->end())
110 <<
"Unknown symmetric matrix smoother "
112 <<
"Valid symmetric matrix smoothers are :" <<
endl
113 << symMatrixConstructorTablePtr_->sortedToc()
131 asymMatrixConstructorTable::iterator constructorIter =
132 asymMatrixConstructorTablePtr_->find(
name);
134 if (constructorIter == asymMatrixConstructorTablePtr_->end())
137 <<
"Unknown asymmetric matrix smoother "
139 <<
"Valid asymmetric matrix smoothers are :" <<
endl
140 << asymMatrixConstructorTablePtr_->sortedToc()
159 <<
"cannot solve incomplete matrix, "
160 "no diagonal or off-diagonal coefficient"
172 const word& fieldName,
179 fieldName_(fieldName),
181 interfaceBouCoeffs_(interfaceBouCoeffs),
182 interfaceIntCoeffs_(interfaceIntCoeffs),
183 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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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 lduMatrix::smoother that does nothing. Not on the selection table. Only used by GAMG in the event t...
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)
Ostream & endl(Ostream &os)
Add newline and flush stream.
defineRunTimeSelectionTable(fvConstraint, dictionary)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.