Go to the documentation of this file.
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)
A keyword and a list of tokens is an 'entry'.
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.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
lduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
Ostream & endl(Ostream &os)
Add newline and flush stream.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A list of keyword definitions, which are a keyword followed by any number of values (e....
static word getName(const dictionary &)
Find the smoother name (directly or from a sub-dictionary)
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.
errorManipArg< error, int > exit(error &err, const int errNo=1)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
smoother(const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces)
const dimensionedScalar e
Elementary charge.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
word name(const complex &)
Return a string representation of a complex.