Definition in file globals.h.
Go to the source code of this file.
Enumerations | |
| enum | DATEFORMAT |
| flag to allow skipping of safe syncs (see OF_SKIPSAFE) | |
Functions | |
| GLOBALVAR * | global_create (char *name,...) |
| Creates a user-defined global variable. | |
| GLOBALVAR * | global_find (char *name) |
| Find a global variable. | |
| GLOBALVAR * | global_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_platform[8] | INIT ("LINUX") |
| < the host operating platform | |
| GLOBAL int global_maximum_synctime | INIT (60) |
| the maximum time allotted to any single sync call | |
| 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) |
| date format (ISO=0, US=1, EURO=2) | |
| GLOBAL char global_tmp[1024] | INIT ("/tmp") |
| < location for temp files | |
| GLOBAL char global_include[1024] | INIT ("/usr/etc/gridlabd") |
| include path for models and code headers | |
| GLOBAL char global_urlbase[1024] | INIT ("http://www.gridlabd.org/") |
| < default urlbase used for online resources | |
| GLOBAL int global_xml_encoding | INIT (8) |
| Specifies XML encoding (default is 8). | |
|
GLOBAL char global_testoutputfile[1024] | INIT ("test.txt") |
| Specifies the test output file. | |
| 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_warn_mode | INIT (TRUE) |
| The warning mode flag. | |
| 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. | |
| GLOBAL bool global_xmlstrict | INIT (false) |
| Causes XML I/O to use strict XML data structures. | |
| GLOBAL bool global_strictnames | INIT (true) |
| Enforce strict global naming (prevents globals from being implicitly created by assignment). | |
| GLOBAL int global_profiler | INIT (0) |
| Flags the profiler to process class performance data. | |
Variables | |
| GLOBAL char | global_command_line [1024] |
| The current command-line. | |