Ifpack Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions | Variables
globalObjects.c File Reference
#include "euclid_common.h"
#include "Parser_dh.h"
#include "Mem_dh.h"
#include "TimeLog_dh.h"
Include dependency graph for globalObjects.c:

Go to the source code of this file.

Macros

#define MAX_MSG_SIZE   1024
 
#define MAX_STACK_SIZE   20
 
#define MAX_ERROR_SPACES   200
 
#define INDENT_DH   3
 
#define __FUNC__   "EuclidIsInitialized"
 
#define __FUNC__   "EuclidInitialize"
 
#define __FUNC__   "EuclidFinalize"
 
#define __FUNC__   "printf_dh"
 
#define __FUNC__   "fprintf_dh"
 
#define __FUNC__   "echoInvocation_dh"
 

Functions

void sigRegister_dh ()
 
void openLogfile_dh (int argc, char *argv[])
 
void closeLogfile_dh ()
 
void setInfo_dh (char *msg, char *function, char *file, int line)
 
void dh_StartFunc (char *function, char *file, int line, int priority)
 
void dh_EndFunc (char *function, int priority)
 
void setError_dh (char *msg, char *function, char *file, int line)
 
void printErrorMsg (FILE *fp)
 
void printFunctionStack (FILE *fp)
 
void Error_dhStartFunc (char *function, char *file, int line)
 
void Error_dhEndFunc (char *function)
 
bool EuclidIsInitialized ()
 
void EuclidInitialize (int argc, char *argv[], char *help)
 
void EuclidFinalize ()
 
void printf_dh (char *fmt,...)
 
void fprintf_dh (FILE *fp, char *fmt,...)
 
void echoInvocation_dh (MPI_Comm comm, char *prefix, int argc, char *argv[])
 

Variables

bool errFlag_dh = false
 
Parser_dh parser_dh = NULL
 
TimeLog_dh tlog_dh = NULL
 
Mem_dh mem_dh = NULL
 
FILE * logFile = NULL
 
char msgBuf_dh [MSG_BUF_SIZE_DH]
 
int np_dh = 1
 
int myid_dh = 0
 
MPI_Comm comm_dh = 0
 
bool logInfoToStderr = false
 
bool logInfoToFile = false
 
bool logFuncsToStderr = false
 
bool logFuncsToFile = false
 
bool ignoreMe = true
 
int ref_counter = 0
 
static char errMsg_private [MAX_STACK_SIZE][MAX_MSG_SIZE]
 
static int errCount_private = 0
 
static char calling_stack [MAX_STACK_SIZE][MAX_MSG_SIZE]
 
static int calling_stack_count = 0
 
static char spaces [MAX_ERROR_SPACES]
 
static int nesting = 0
 
static bool initSpaces = true
 
static bool EuclidIsActive = false
 

Macro Definition Documentation

#define MAX_MSG_SIZE   1024

Definition at line 89 of file globalObjects.c.

#define MAX_STACK_SIZE   20

Definition at line 90 of file globalObjects.c.

#define MAX_ERROR_SPACES   200

Definition at line 292 of file globalObjects.c.

#define INDENT_DH   3

Definition at line 296 of file globalObjects.c.

#define __FUNC__   "EuclidIsInitialized"

Definition at line 489 of file globalObjects.c.

#define __FUNC__   "EuclidInitialize"

Definition at line 489 of file globalObjects.c.

#define __FUNC__   "EuclidFinalize"

Definition at line 489 of file globalObjects.c.

#define __FUNC__   "printf_dh"

Definition at line 489 of file globalObjects.c.

#define __FUNC__   "fprintf_dh"

Definition at line 489 of file globalObjects.c.

#define __FUNC__   "echoInvocation_dh"

Definition at line 489 of file globalObjects.c.

Function Documentation

void sigRegister_dh ( )

Definition at line 89 of file sig_dh.c.

void openLogfile_dh ( int  argc,
char *  argv[] 
)

Definition at line 102 of file globalObjects.c.

void closeLogfile_dh ( )

Definition at line 148 of file globalObjects.c.

void setInfo_dh ( char *  msg,
char *  function,
char *  file,
int  line 
)

Definition at line 161 of file globalObjects.c.

void dh_StartFunc ( char *  function,
char *  file,
int  line,
int  priority 
)

Definition at line 181 of file globalObjects.c.

void dh_EndFunc ( char *  function,
int  priority 
)

Definition at line 206 of file globalObjects.c.

void setError_dh ( char *  msg,
char *  function,
char *  file,
int  line 
)

Definition at line 228 of file globalObjects.c.

void printErrorMsg ( FILE *  fp)

Definition at line 254 of file globalObjects.c.

void printFunctionStack ( FILE *  fp)

Definition at line 276 of file globalObjects.c.

void Error_dhStartFunc ( char *  function,
char *  file,
int  line 
)

Definition at line 299 of file globalObjects.c.

void Error_dhEndFunc ( char *  function)

Definition at line 332 of file globalObjects.c.

bool EuclidIsInitialized ( )

Definition at line 349 of file globalObjects.c.

void EuclidInitialize ( int  argc,
char *  argv[],
char *  help 
)

Definition at line 357 of file globalObjects.c.

void EuclidFinalize ( )

Definition at line 411 of file globalObjects.c.

void printf_dh ( char *  fmt,
  ... 
)

Definition at line 456 of file globalObjects.c.

void fprintf_dh ( FILE *  fp,
char *  fmt,
  ... 
)

Definition at line 473 of file globalObjects.c.

void echoInvocation_dh ( MPI_Comm  comm,
char *  prefix,
int  argc,
char *  argv[] 
)

Definition at line 491 of file globalObjects.c.

Variable Documentation

bool errFlag_dh = false

Definition at line 56 of file globalObjects.c.

Parser_dh parser_dh = NULL

Definition at line 57 of file globalObjects.c.

TimeLog_dh tlog_dh = NULL

Definition at line 58 of file globalObjects.c.

Mem_dh mem_dh = NULL

Definition at line 59 of file globalObjects.c.

FILE* logFile = NULL

Definition at line 60 of file globalObjects.c.

char msgBuf_dh[MSG_BUF_SIZE_DH]

Definition at line 61 of file globalObjects.c.

int np_dh = 1

Definition at line 62 of file globalObjects.c.

int myid_dh = 0

Definition at line 63 of file globalObjects.c.

MPI_Comm comm_dh = 0

Definition at line 64 of file globalObjects.c.

bool logInfoToStderr = false

Definition at line 75 of file globalObjects.c.

bool logInfoToFile = false

Definition at line 76 of file globalObjects.c.

bool logFuncsToStderr = false

Definition at line 77 of file globalObjects.c.

bool logFuncsToFile = false

Definition at line 78 of file globalObjects.c.

bool ignoreMe = true

Definition at line 80 of file globalObjects.c.

int ref_counter = 0

Definition at line 81 of file globalObjects.c.

char errMsg_private[MAX_STACK_SIZE][MAX_MSG_SIZE]
static

Definition at line 92 of file globalObjects.c.

int errCount_private = 0
static

Definition at line 93 of file globalObjects.c.

char calling_stack[MAX_STACK_SIZE][MAX_MSG_SIZE]
static

Definition at line 95 of file globalObjects.c.

int calling_stack_count = 0
static

Definition at line 97 of file globalObjects.c.

char spaces[MAX_ERROR_SPACES]
static

Definition at line 293 of file globalObjects.c.

int nesting = 0
static

Definition at line 294 of file globalObjects.c.

bool initSpaces = true
static

Definition at line 295 of file globalObjects.c.

bool EuclidIsActive = false
static

Definition at line 344 of file globalObjects.c.