debug.H File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Functions

dictionary & controlDict ()
 
dictionary & debugSwitches ()
 The DebugSwitches sub-dictionary in the central controlDict(s). More...
 
dictionary & infoSwitches ()
 The InfoSwitches sub-dictionary in the central controlDict(s). More...
 
dictionary & optimisationSwitches ()
 The OptimisationSwitches sub-dictionary in the central controlDict(s). More...
 
int debugSwitch (const char *name, const int deflt=0)
 Lookup debug switch or add default value. More...
 
int infoSwitch (const char *name, const int deflt=0)
 Lookup info switch or add default value. More...
 
int optimisationSwitch (const char *name, const int deflt=0)
 Lookup optimisation switch or add default value. More...
 
float floatOptimisationSwitch (const char *name, const float deflt=0)
 Lookup optimisation switch or add default value. More...
 
dictionary & switchSet (const char *subDictName, dictionary *&subDictPtr)
 Internal function to lookup a sub-dictionary from controlDict. More...
 
void addDebugObject (const char *name, simpleRegIOobject *obj)
 Register debug switch read/write object. More...
 
void addInfoObject (const char *name, simpleRegIOobject *obj)
 Register info switch read/write object. More...
 
void addOptimisationObject (const char *name, simpleRegIOobject *obj)
 Register optimisation switch read/write object. More...
 
void addDimensionSetObject (const char *name, simpleRegIOobject *obj)
 Register DimensionSets read/write object. More...
 
void addDimensionedConstantObject (const char *name, simpleRegIOobject *)
 Register DimensionedConstant read/write object. More...
 
simpleObjectRegistry & debugObjects ()
 Access to registered DebugSwitch objects. More...
 
simpleObjectRegistry & infoObjects ()
 Access to registered InfoSwitch objects. More...
 
simpleObjectRegistry & optimisationObjects ()
 Access to registered OptimisationSwitch objects. More...
 
simpleObjectRegistry & dimensionSetObjects ()
 Access to registered DimensionSets objects. More...
 
simpleObjectRegistry & dimensionedConstantObjects ()
 Access to registered DimensionedConstants objects. More...
 
void listSwitches (const bool unset=false)
 List debug/info/optimisation switches. More...
 
void listDebugSwitches (const bool unset=false)
 List debug switches. More...
 
void listInfoSwitches (const bool unset=false)
 List info switches. More...
 
void listOptimisationSwitches (const bool unset=false)
 List optimisation switches. More...
 
void listRegisteredSwitches (const bool unset=false)
 List registered debug/info/optimisation switches. More...
 
void listRegisteredDebugSwitches (const bool unset=false)
 List debug switches. More...
 
void listRegisteredInfoSwitches (const bool unset=false)
 List info switches. More...
 
void listRegisteredOptimisationSwitches (const bool unset=false)
 List optimisation switches. More...
 

Detailed Description

Original source file debug.H

Definition in file debug.H.