Doxygen Source Code Documentation
        
Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search   
thd.h File Reference
#include "mcw_malloc.h"
Go to the source code of this file.
|  | 
| 
 Defines | 
| #define | EXIT   exit | 
| #define | THD_FATAL_ERROR(str)   { fprintf(stderr,"\a\n*** FATAL INTERNAL ERROR: %s\n",str);sleep(1);EXIT(1); } | 
| #define | ATR_ALLINC   8 | 
| #define | DSET_ERR(str)   {fprintf(stderr,"\n*** DATASET error:   %s\n",str);dset_ok=False;} | 
| #define | DSET_ERRN(str, val)   {fprintf(stderr,"\n*** DATASET error:   %s (%f)\n",str,(float)(val));dset_ok=False;} | 
| #define | DSET_WARN(str)   {fprintf(stderr,"\n*** DATASET warning: %s\n",str);} | 
| #define | WRITE_ERR(str)   { fprintf(stderr,"*** Datablock write error: %s\n",str); return False; } | 
| #define | ORCODE(aa) | 
| #define | OR3OK(x, y, z)   ( ((x)&6) + ((y)&6) + ((z)&6) == 6 ) | 
| #define | XLAB(xl, xv)   ((xl) = ((xv)==0.0) ? (ZZ) : ( ((xv)<0.0) ? (RR) : (LL) )) | 
| #define | YLAB(yl, yv)   ((yl) = ((yv)==0.0) ? (ZZ) : ( ((yv)<0.0) ? (AA) : (PP) )) | 
| #define | ZLAB(zl, zv)   ((zl) = ((zv)==0.0) ? (ZZ) : ( ((zv)<0.0) ? (II) : (SS) )) | 
| #define | FSWAP(x, y)   (tf=(x),(x)=(y),(y)=tf) | 
Define Documentation
  
    | 
        
          | #define DSET_ERR | ( | str |  | ) | {fprintf(stderr,"\n*** DATASET error:   %s\n",str);dset_ok=False;} |  | 
  
    | 
        
          | #define DSET_ERRN | ( | str, |  
          |  |  | val |  | ) | {fprintf(stderr,"\n*** DATASET error:   %s (%f)\n",str,(float)(val));dset_ok=False;} |  | 
  
    | 
        
          | #define DSET_WARN | ( | str |  | ) | {fprintf(stderr,"\n*** DATASET warning: %s\n",str);} |  | 
  
    |  | 
 
Definition at line 11 of file thd.h.     | 
  
    | 
        
          | #define FSWAP | ( | x, |  
          |  |  | y |  | ) | (tf=(x),(x)=(y),(y)=tf) |  | 
  
    |  | 
 
Definition at line 45 of file thd.h.     | 
  
    | 
        
          | #define OR3OK | ( | x, |  
          |  |  | y, |  
          |  |  | z |  | ) | ( ((x)&6) + ((y)&6) + ((z)&6) == 6 ) |  | 
  
    |  | 
 
Definition at line 39 of file thd.h.     | 
  
    |  | 
Value: 
Definition at line 31 of file thd.h.     | 
  
    | 
        
          | #define THD_FATAL_ERROR | ( | str |  | ) | { fprintf(stderr,"\a\n*** FATAL INTERNAL ERROR: %s\n",str);sleep(1);EXIT(1); } |  | 
  
    | 
        
          | #define WRITE_ERR | ( | str |  | ) | { fprintf(stderr,"*** Datablock write error: %s\n",str); return False; } |  | 
  
    | 
        
          | #define XLAB | ( | xl, |  
          |  |  | xv |  | ) | ((xl) = ((xv)==0.0) ? (ZZ) : ( ((xv)<0.0) ? (RR) : (LL) )) |  | 
  
    |  | 
 
Definition at line 41 of file thd.h.     | 
  
    | 
        
          | #define YLAB | ( | yl, |  
          |  |  | yv |  | ) | ((yl) = ((yv)==0.0) ? (ZZ) : ( ((yv)<0.0) ? (AA) : (PP) )) |  | 
  
    |  | 
 
Definition at line 42 of file thd.h.     | 
  
    | 
        
          | #define ZLAB | ( | zl, |  
          |  |  | zv |  | ) | ((zl) = ((zv)==0.0) ? (ZZ) : ( ((zv)<0.0) ? (II) : (SS) )) |  | 
  
    |  | 
 
Definition at line 43 of file thd.h.     |