core/globals.h File Reference


Detailed Description

Id
globals.h,v 1.33 2008/01/29 19:53:35 d3p988 Exp

Definition in file globals.h.

Go to the source code of this file.

Classes

struct  s_globalvar

Defines

#define FALSE   (0)
#define GLOBAL   extern
#define INIT(A)
#define TRUE   (!FALSE)

Enumerations

enum  STATUS { FAILED = FALSE, SUCCESS = TRUE }

Functions

GLOBALVARglobal_create (char *name,...)
 Creates a user-defined global variable.
void global_dump (void)
GLOBALVARglobal_find (char *name)
 Find a global variable.
GLOBALVARglobal_getnext (GLOBALVAR *previous)
 Get global variable list.
char * global_getvar (char *name, char *buffer, int size)
 Get the value of a global variable in a safer fashion.
STATUS global_init (void)
 Register global variables.
STATUS global_setvar (char *def,...)
 Sets a user-defined global variable.
GLOBAL char global_object_scan[32] INIT ("%[^:]:%d")
 the format to use when scanning for object ids
GLOBAL char global_complex_format[256] INIT ("%+lg%+lg%c")
 the format to use when processing complex numbers
GLOBAL char global_double_format[32] INIT ("%+lg")
 the format to use when processing real numbers
GLOBAL TIMESTAMP global_stoptime INIT (TS_NEVER)
 The simulation stop time.
GLOBAL TIMESTAMP global_clock INIT (TS_ZERO)
 The main clock timestamp.
GLOBAL int global_xml_encoding INIT (8)
 Specifies XML encoding (default is 8).
GLOBAL int global_profiler INIT (0)
 Flags the profiler to process class performance data.
GLOBAL int global_threadcount INIT (1)
 the maximum thread limit, zero means automagically determine best thread count
GLOBAL char global_savefile[1024] INIT ("")
 The save file name.
GLOBAL char global_dumpfile[1024] INIT ("gridlabd.xml")
 The dump file name.
GLOBAL char global_workdir[1024] INIT (".")
 The current working directory.
GLOBAL unsigned global_iteration_limit INIT (100)
 The global iteration limit.
GLOBAL int global_quiet_mode INIT (FALSE)
 The quiet mode flag.
GLOBAL char global_environment[1024] INIT ("batch")
 The processing environment in use.
GLOBAL unsigned global_version_minor INIT (REV_MINOR)
 The software's minor version.
GLOBAL unsigned global_version_major INIT (REV_MAJOR)
 The software's major version.

Variables

GLOBAL char global_command_line [1024]
 The current command-line.


GridLAB-DTM Version 1.0
An open-source project initiated by the US Department of Energy