Most of the actual computational code here was originally written by George Karypis at the University of Minnesota. Ownership passed to summer student Mark Gates who made some algorithmic changes. It then passed to Andy Cleary who generalized the code to use the GetRow functionality.
37 lines
622 B
C
37 lines
622 B
C
#ifndef CONST_H
|
|
#define CONST_H
|
|
|
|
/*
|
|
* const.h
|
|
*
|
|
* This file contains MPI specific tag constants for send/recvs
|
|
* In the LDU solves, the lower 16bits are used for the nlevel
|
|
*/
|
|
|
|
enum Tags {
|
|
/* io.c */
|
|
TAG_CSR_dist,
|
|
TAG_CSR_rowdist,
|
|
TAG_CSR_rowptr,
|
|
TAG_CSR_colind,
|
|
TAG_CSR_values,
|
|
|
|
/* matvec.c */
|
|
TAG_MV_rind,
|
|
TAG_MVGather,
|
|
|
|
/* parilut.c */
|
|
TAG_Comm_rrowind,
|
|
TAG_Send_colind,
|
|
TAG_Send_values,
|
|
|
|
/* trifactor.c */
|
|
TAG_SetUp_rind,
|
|
TAG_SetUp_reord,
|
|
TAG_SetUp_rnum,
|
|
TAG_LDU_lx = 0x0100, /* uses low 16bits */
|
|
TAG_LDU_ux = 0x0200 /* uses low 16bits */
|
|
};
|
|
|
|
#endif
|