Ifpack Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Typedefs | Functions | Variables
euclid_common.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <limits.h>
#include <stdarg.h>
#include <mpi.h>
#include "euclid_config.h"
#include "macros_dh.h"
Include dependency graph for euclid_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define REAL_DH   double
 
#define true   1
 
#define false   0
 
#define MPI_MAX_ERROR_STRING   256
 
#define MSG_BUF_SIZE_DH   MAX(1024, MPI_MAX_ERROR_STRING)
 

Typedefs

typedef struct _matgenfdMatGenFD
 
typedef struct _subdomain_dhSubdomainGraph_dh
 
typedef struct _timer_dhTimer_dh
 
typedef struct _parser_dhParser_dh
 
typedef struct _timeLog_dhTimeLog_dh
 
typedef struct _mem_dhMem_dh
 
typedef struct _mat_dhMat_dh
 
typedef struct _factor_dhFactor_dh
 
typedef struct _vec_dhVec_dh
 
typedef struct _numbering_dhNumbering_dh
 
typedef struct _hash_dhHash_dh
 
typedef struct _hash_i_dhHash_i_dh
 
typedef struct _mpi_interface_dhEuclid_dh
 
typedef struct _sortedList_dhSortedList_dh
 
typedef struct _extrows_dhExternalRows_dh
 
typedef struct _stack_dh * Stack_dh
 
typedef struct _queue_dh * Queue_dh
 
typedef struct _sortedset_dhSortedSet_dh
 
typedef int bool
 

Functions

void setInfo_dh (char *msg, char *function, char *file, int line)
 
void setError_dh (char *msg, char *function, char *file, int line)
 
void printErrorMsg (FILE *fp)
 
void openLogfile_dh (int argc, char *argv[])
 
void closeLogfile_dh ()
 
void Error_dhStartFunc (char *function, char *file, int line)
 
void Error_dhEndFunc (char *function)
 
void dh_StartFunc (char *function, char *file, int line, int priority)
 
void dh_EndFunc (char *function, int priority)
 
void printFunctionStack (FILE *fp)
 
void EuclidInitialize (int argc, char *argv[], char *help)
 
void EuclidFinalize ()
 
bool EuclidIsInitialized ()
 
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

Parser_dh parser_dh
 
TimeLog_dh tlog_dh
 
Mem_dh mem_dh
 
FILE * logFile
 
int np_dh
 
int myid_dh
 
MPI_Comm comm_dh
 
bool ignoreMe
 
int ref_counter
 
bool errFlag_dh
 
char msgBuf_dh [MSG_BUF_SIZE_DH]
 
bool logInfoToStderr
 
bool logInfoToFile
 
bool logFuncsToStderr
 
bool logFuncsToFile
 

Macro Definition Documentation

#define REAL_DH   double

Definition at line 59 of file euclid_common.h.

#define true   1

Definition at line 120 of file euclid_common.h.

#define false   0

Definition at line 121 of file euclid_common.h.

#define MPI_MAX_ERROR_STRING   256

Definition at line 161 of file euclid_common.h.

#define MSG_BUF_SIZE_DH   MAX(1024, MPI_MAX_ERROR_STRING)

Definition at line 164 of file euclid_common.h.

Typedef Documentation

typedef struct _matgenfd* MatGenFD

Definition at line 85 of file euclid_common.h.

Definition at line 86 of file euclid_common.h.

typedef struct _timer_dh* Timer_dh

Definition at line 87 of file euclid_common.h.

typedef struct _parser_dh* Parser_dh

Definition at line 88 of file euclid_common.h.

typedef struct _timeLog_dh* TimeLog_dh

Definition at line 89 of file euclid_common.h.

typedef struct _mem_dh* Mem_dh

Definition at line 90 of file euclid_common.h.

typedef struct _mat_dh* Mat_dh

Definition at line 91 of file euclid_common.h.

typedef struct _factor_dh* Factor_dh

Definition at line 92 of file euclid_common.h.

typedef struct _vec_dh* Vec_dh

Definition at line 93 of file euclid_common.h.

typedef struct _numbering_dh* Numbering_dh

Definition at line 94 of file euclid_common.h.

typedef struct _hash_dh* Hash_dh

Definition at line 95 of file euclid_common.h.

typedef struct _hash_i_dh* Hash_i_dh

Definition at line 96 of file euclid_common.h.

typedef struct _mpi_interface_dh* Euclid_dh

Definition at line 97 of file euclid_common.h.

typedef struct _sortedList_dh* SortedList_dh

Definition at line 98 of file euclid_common.h.

typedef struct _extrows_dh* ExternalRows_dh

Definition at line 99 of file euclid_common.h.

typedef struct _stack_dh* Stack_dh

Definition at line 100 of file euclid_common.h.

typedef struct _queue_dh* Queue_dh

Definition at line 101 of file euclid_common.h.

typedef struct _sortedset_dh* SortedSet_dh

Definition at line 102 of file euclid_common.h.

typedef int bool

Definition at line 119 of file euclid_common.h.

Function Documentation

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

Definition at line 161 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 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 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.

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 printFunctionStack ( FILE *  fp)

Definition at line 276 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.

bool EuclidIsInitialized ( )

Definition at line 349 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

Parser_dh parser_dh

Definition at line 57 of file globalObjects.c.

TimeLog_dh tlog_dh

Definition at line 58 of file globalObjects.c.

Mem_dh mem_dh

Definition at line 59 of file globalObjects.c.

FILE * logFile

Definition at line 72 of file globalObjects.c.

int np_dh

Definition at line 62 of file globalObjects.c.

int myid_dh

Definition at line 63 of file globalObjects.c.

MPI_Comm comm_dh

Definition at line 64 of file globalObjects.c.

bool ignoreMe

Definition at line 80 of file globalObjects.c.

int ref_counter

Definition at line 81 of file globalObjects.c.

bool errFlag_dh

Definition at line 56 of file globalObjects.c.

char msgBuf_dh[MSG_BUF_SIZE_DH]

Definition at line 61 of file globalObjects.c.

bool logInfoToStderr

Definition at line 75 of file globalObjects.c.

bool logInfoToFile

Definition at line 76 of file globalObjects.c.

bool logFuncsToStderr

Definition at line 77 of file globalObjects.c.

bool logFuncsToFile

Definition at line 78 of file globalObjects.c.