FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

tolerances Class Reference

Selector class for solution tolerances. More...

#include <OpenFOAM/tolerances.H>


Detailed Description

Selector class for solution tolerances.

Source files

Definition at line 49 of file tolerances.H.

Inheritance diagram for tolerances:
Collaboration diagram for tolerances:

List of all members.

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.

Constructor & Destructor Documentation

tolerances ( const Time &   t,
const fileName &   dictName  
)

Construct from time.

Definition at line 35 of file tolerances.C.

References tolerances::read().


Member Function Documentation

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().


The documentation for this class was generated from the following files: