Go to the source code of this file.
|
#define | SLVOID char |
|
#define | ErrPrnt fprintf(stderr, "line %d of file %s\n",__LINE__, __FILE__); |
|
#define | Mdescset(desc, m, n, mb, nb, rsrc, csrc, ictxt, lld) |
|
#define | MCindxg2p(IG, nb, srcproc, nprocs) ( ((srcproc) + (IG)/(nb)) % nprocs ) |
|
#define | Mmalloc(M_ptr, M_type, M_elt, M_i, M_ctxt) |
|
◆ ErrPrnt
#define ErrPrnt fprintf(stderr, "line %d of file %s\n",__LINE__, __FILE__); |
◆ MCindxg2p
#define MCindxg2p |
( |
|
IG, |
|
|
|
nb, |
|
|
|
srcproc, |
|
|
|
nprocs |
|
) |
| ( ((srcproc) + (IG)/(nb)) % nprocs ) |
◆ Mdescset
#define Mdescset |
( |
|
desc, |
|
|
|
m, |
|
|
|
n, |
|
|
|
mb, |
|
|
|
nb, |
|
|
|
rsrc, |
|
|
|
csrc, |
|
|
|
ictxt, |
|
|
|
lld |
|
) |
| |
Value:{ \
(desc)[
CTXT_] = (ictxt); \
(desc)[
RSRC_] = (rsrc); \
(desc)[
CSRC_] = (csrc); \
}
Definition at line 13 of file tools.h.
◆ Mmalloc
#define Mmalloc |
( |
|
M_ptr, |
|
|
|
M_type, |
|
|
|
M_elt, |
|
|
|
M_i, |
|
|
|
M_ctxt |
|
) |
| |
Value:{ \
void pberror_(); \
(M_ptr) = ( M_type * ) malloc((M_elt)*(sizeof(M_type))); \
if (!(M_ptr)) \
{ \
if ((M_elt) > 0) \
{ \
(M_i) = 1; \
fprintf(stderr, "Not enough memory on line %d of file %s!!\n", \
__LINE__, __FILE__); \
pberror_(&(M_ctxt), __FILE__, &(M_i)); \
} \
} \
}
Definition at line 32 of file tools.h.
◆ SLVOID
◆ CPYPTR
typedef void(* CPYPTR) () |