OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

tolerances Class Reference

Selector class for solution tolerances. More...

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.

Detailed Description

Selector class for solution tolerances.

Source files

Definition at line 44 of file tolerances.H.


Constructor & Destructor Documentation

tolerances ( const Time t,
const fileName dictName 
)

Construct from time.

Definition at line 27 of file tolerances.C.

References IOobject::MUST_READ, IOobject::NO_WRITE, and TimePaths::system().

Here is the call graph for this function:


Member Function Documentation

bool relax ( const word name  )  const

Definition at line 85 of file tolerances.C.

scalar relaxationFactor ( const word name  )  const

Definition at line 90 of file tolerances.C.

scalar solverTolerance ( const word name  )  const

Definition at line 95 of file tolerances.C.

References dictionary::found().

Here is the call graph for this function:

bool solverRelativeTolerances (  )  const

Definition at line 100 of file tolerances.C.

References dictionary::lookup(), and Foam::readScalar().

Here is the call graph for this function:

scalar solverRelativeTolerance ( const word name  )  const

Definition at line 105 of file tolerances.C.

References dictionary::lookup(), and Foam::readScalar().

Here is the call graph for this function:

bool read (  )  [virtual]

Read the tolerances.

Reimplemented from regIOobject.

Definition at line 53 of file tolerances.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd