Loading...
Searching...
No Matches
debug.H File Reference
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

dictionarycontrolDict ()
 The central control dictionary, the contents of which are either taken directly from the FOAM_CONTROLDICT environment variable, or generated by merging the contents of user/group/other files.
dictionarydebugSwitches ()
 The DebugSwitches sub-dictionary in the central controlDict(s).
dictionaryinfoSwitches ()
 The InfoSwitches sub-dictionary in the central controlDict(s).
dictionaryoptimisationSwitches ()
 The OptimisationSwitches sub-dictionary in the central controlDict(s).
int debugSwitch (const char *name, const int deflt=0)
 Lookup debug switch or add default value.
int infoSwitch (const char *name, const int deflt=0)
 Lookup info switch or add default value.
int optimisationSwitch (const char *name, const int deflt=0)
 Lookup optimisation switch or add default value.
float floatOptimisationSwitch (const char *name, const float deflt=0)
 Lookup optimisation switch or add default value.
dictionaryswitchSet (const char *subDictName, dictionary *&subDictPtr)
 Internal function to lookup a sub-dictionary from controlDict.
void addDebugObject (const char *name, simpleRegIOobject *obj)
 Register debug switch read/write object.
void addInfoObject (const char *name, simpleRegIOobject *obj)
 Register info switch read/write object.
void addOptimisationObject (const char *name, simpleRegIOobject *obj)
 Register optimisation switch read/write object.
void addDimensionSetObject (const char *name, simpleRegIOobject *obj)
 Register DimensionSets read/write object.
void addDimensionedConstantObject (const char *name, simpleRegIOobject *)
 Register DimensionedConstant read/write object.
simpleObjectRegistrydebugObjects ()
 Access to registered DebugSwitch objects.
simpleObjectRegistryinfoObjects ()
 Access to registered InfoSwitch objects.
simpleObjectRegistryoptimisationObjects ()
 Access to registered OptimisationSwitch objects.
simpleObjectRegistrydimensionSetObjects ()
 Access to registered DimensionSets objects.
simpleObjectRegistrydimensionedConstantObjects ()
 Access to registered DimensionedConstants objects.
void listSwitches (const bool unset=false)
 List debug/info/optimisation switches.
void listDebugSwitches (const bool unset=false)
 List debug switches.
void listInfoSwitches (const bool unset=false)
 List info switches.
void listOptimisationSwitches (const bool unset=false)
 List optimisation switches.
void listRegisteredSwitches (const bool unset=false)
 List registered debug/info/optimisation switches.
void listRegisteredDebugSwitches (const bool unset=false)
 List debug switches.
void listRegisteredInfoSwitches (const bool unset=false)
 List info switches.
void listRegisteredOptimisationSwitches (const bool unset=false)
 List optimisation switches.

Detailed Description

Original source file debug.H

Definition in file debug.H.