Selector class for solution tolerances. More...
#include <OpenFOAM/tolerances.H>
Selector class for solution tolerances.
Definition at line 49 of file tolerances.H.
Public Member Functions | |
tolerances (const Time &t, const fileName &dictName) | |
Construct from time.
| |
bool | relax (const word &name) const |
scalar | relaxationFactor (const word &name) const |
scalar | solverTolerance (const word &name) const |
bool | solverRelativeTolerances () const |
scalar | solverRelativeTolerance (const word &name) const |
bool | read () |
Read the tolerances.
|
tolerances | ( | const Time & | t, |
const fileName & | dictName | ||
) |
bool relax | ( | const word & | name ) | const |
Definition at line 93 of file tolerances.C.
References dictionary::found().
scalar relaxationFactor | ( | const word & | name ) | const |
Definition at line 98 of file tolerances.C.
References dictionary::lookup(), and Foam::readScalar().
scalar solverTolerance | ( | const word & | name ) | const |
Definition at line 103 of file tolerances.C.
References dictionary::lookup(), and Foam::readScalar().
bool solverRelativeTolerances | ( | ) | const |
Definition at line 108 of file tolerances.C.
References DLListBase::size().
scalar solverRelativeTolerance | ( | const word & | name ) | const |
Definition at line 113 of file tolerances.C.
References dictionary::lookup(), and Foam::readScalar().
bool read | ( | ) | [virtual]
|
Read the tolerances.
Reimplemented from regIOobject.
Definition at line 61 of file tolerances.C.
References dictionary::found(), dictionary::lookup(), regIOobject::read(), and dictionary::subDict().
Referenced by tolerances::tolerances().