Ifpack Package Browser (Single Doxygen Collection) Development
Defines | 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.

Defines

#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

Define Documentation

#define MAX_MSG_SIZE   1024

Definition at line 76 of file globalObjects.c.

#define MAX_STACK_SIZE   20

Definition at line 77 of file globalObjects.c.

#define MAX_ERROR_SPACES   200

Definition at line 279 of file globalObjects.c.

#define INDENT_DH   3

Definition at line 283 of file globalObjects.c.

#define __FUNC__   "EuclidIsInitialized"

Definition at line 476 of file globalObjects.c.

#define __FUNC__   "EuclidInitialize"

Definition at line 476 of file globalObjects.c.

#define __FUNC__   "EuclidFinalize"

Definition at line 476 of file globalObjects.c.

#define __FUNC__   "printf_dh"

Definition at line 476 of file globalObjects.c.

#define __FUNC__   "fprintf_dh"

Definition at line 476 of file globalObjects.c.

#define __FUNC__   "echoInvocation_dh"

Definition at line 476 of file globalObjects.c.


Function Documentation

void sigRegister_dh ( )

Definition at line 76 of file sig_dh.c.

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

Definition at line 89 of file globalObjects.c.

void closeLogfile_dh ( )

Definition at line 135 of file globalObjects.c.

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

Definition at line 148 of file globalObjects.c.

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

Definition at line 168 of file globalObjects.c.

void dh_EndFunc ( char *  function,
int  priority 
)

Definition at line 193 of file globalObjects.c.

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

Definition at line 215 of file globalObjects.c.

void printErrorMsg ( FILE *  fp)

Definition at line 241 of file globalObjects.c.

void printFunctionStack ( FILE *  fp)

Definition at line 263 of file globalObjects.c.

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

Definition at line 286 of file globalObjects.c.

void Error_dhEndFunc ( char *  function)

Definition at line 319 of file globalObjects.c.

bool EuclidIsInitialized ( )

Definition at line 336 of file globalObjects.c.

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

Definition at line 344 of file globalObjects.c.

void EuclidFinalize ( )

Definition at line 398 of file globalObjects.c.

void printf_dh ( char *  fmt,
  ... 
)

Definition at line 443 of file globalObjects.c.

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

Definition at line 460 of file globalObjects.c.

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

Definition at line 478 of file globalObjects.c.


Variable Documentation

bool errFlag_dh = false

Definition at line 43 of file globalObjects.c.

Definition at line 44 of file globalObjects.c.

Definition at line 45 of file globalObjects.c.

Definition at line 46 of file globalObjects.c.

FILE* logFile = NULL

Definition at line 47 of file globalObjects.c.

char msgBuf_dh[MSG_BUF_SIZE_DH]

Definition at line 48 of file globalObjects.c.

int np_dh = 1

Definition at line 49 of file globalObjects.c.

int myid_dh = 0

Definition at line 50 of file globalObjects.c.

MPI_Comm comm_dh = 0

Definition at line 51 of file globalObjects.c.

Definition at line 62 of file globalObjects.c.

Definition at line 63 of file globalObjects.c.

Definition at line 64 of file globalObjects.c.

Definition at line 65 of file globalObjects.c.

bool ignoreMe = true

Definition at line 67 of file globalObjects.c.

int ref_counter = 0

Definition at line 68 of file globalObjects.c.

char errMsg_private[MAX_STACK_SIZE][MAX_MSG_SIZE] [static]

Definition at line 79 of file globalObjects.c.

int errCount_private = 0 [static]

Definition at line 80 of file globalObjects.c.

char calling_stack[MAX_STACK_SIZE][MAX_MSG_SIZE] [static]

Definition at line 82 of file globalObjects.c.

int calling_stack_count = 0 [static]

Definition at line 84 of file globalObjects.c.

char spaces[MAX_ERROR_SPACES] [static]

Definition at line 280 of file globalObjects.c.

int nesting = 0 [static]

Definition at line 281 of file globalObjects.c.

bool initSpaces = true [static]

Definition at line 282 of file globalObjects.c.

bool EuclidIsActive = false [static]

Definition at line 331 of file globalObjects.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines