FreeFOAM The Cross-Platform CFD Toolkit
debug.H File Reference

Detailed Description

Definition in file debug.H.

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Foam::debug
 Namespace for handling debugging switches.
namespace  Foam
 Namespace for OpenFOAM.

Functions

dictionary & controlDict ()
 The central control dictionary.
dictionary & debugSwitches ()
 The DebugSwitches sub-dictionary in the central controlDict.
dictionary & infoSwitches ()
 The InfoSwitches sub-dictionary in the central controlDict.
dictionary & optimisationSwitches ()
 The OptimisationSwitches sub-dictionary in the central controlDict.
int debugSwitch (const char *name, const int defaultValue=0)
 Lookup debug switch or add default value.
int infoSwitch (const char *name, const int defaultValue=0)
 Lookup info switch or add default value.
int optimisationSwitch (const char *name, const int defaultValue=0)
 Lookup optimisation switch or add default value.
dictionary & switchSet (const char *subDictName, dictionary *&subDictPtr)
 Internal function to lookup a sub-dictionary from controlDict.