ESYS13
Revision_
|
#include "SystemMatrix_MIS.h"
Defines | |
#define | MISIN 0 |
#define | MISOUT 100 |
#define | ISLESS(x, y) (x<y) |
#define | ISAVAILABLE(x) ((x!=MISIN) && (x!=MISOUT)) |
#define | IMAX(x, y) (x>y?x:y) |
#define | MISSTRING(x) ((x==MISIN)?"IN":((x==MISOUT)?"OUT":"UNKNOWN")) |
Functions | |
index_t * | Paso_SparseMatrix_getBorderNodes (Paso_SystemMatrix *A, index_t *count) |
void | Paso_SystemMatrix_CalcBorderMIS (Paso_SystemMatrix *A, index_t *border, index_t bordercount, double *weights, index_t n) |
index_t | Paso_SystemMatrix_getMIS (Paso_SystemMatrix *A, index_t **set) |
Variables | |
static double | Paso_Pattern_mis_seed = .4142135623730951 |
#define IMAX | ( | x, | |
y | |||
) | (x>y?x:y) |
#define ISAVAILABLE | ( | x | ) | ((x!=MISIN) && (x!=MISOUT)) |
Referenced by Paso_SystemMatrix_CalcBorderMIS(), and Paso_SystemMatrix_getMIS().
#define ISLESS | ( | x, | |
y | |||
) | (x<y) |
Referenced by Paso_SystemMatrix_getMIS().
#define MISIN 0 |
Referenced by Paso_SystemMatrix_CalcBorderMIS(), and Paso_SystemMatrix_getMIS().
#define MISOUT 100 |
Referenced by Paso_SystemMatrix_CalcBorderMIS(), and Paso_SystemMatrix_getMIS().
index_t* Paso_SparseMatrix_getBorderNodes | ( | Paso_SystemMatrix * | A, |
index_t * | count | ||
) |
References Paso_SystemMatrix::col_coupleBlock, Paso_SparseMatrix::len, MEMALLOC, Paso_Pattern::numOutput, Paso_SparseMatrix::pattern, and Paso_Pattern::ptr.
Referenced by Paso_SystemMatrix_getMIS().
void Paso_SystemMatrix_CalcBorderMIS | ( | Paso_SystemMatrix * | A, |
index_t * | border, | ||
index_t | bordercount, | ||
double * | weights, | ||
index_t | n | ||
) |
References Paso_SystemMatrix::col_coupleBlock, Esys_setError(), Paso_Pattern::index, ISAVAILABLE, Paso_SystemMatrix::mainBlock, MATRIX_FORMAT_DEFAULT, MISIN, MISOUT, MPI_COMM_WORLD, Paso_Pattern::numOutput, Paso_SystemMatrix_finishCollect(), Paso_SystemMatrix_startCollect(), Paso_SparseMatrix::pattern, Paso_Pattern::ptr, Paso_SystemMatrix::type, and TYPE_ERROR.
Referenced by Paso_SystemMatrix_getMIS().
index_t Paso_SystemMatrix_getMIS | ( | Paso_SystemMatrix * | A, |
index_t ** | set | ||
) |
References Esys_noError(), Esys_resetError(), Esys_setError(), Paso_Pattern::index, ISAVAILABLE, ISLESS, Paso_SystemMatrix::mainBlock, MEMALLOC, MEMFREE, MISIN, MISOUT, NO_PROGRESS_ERROR, Paso_SparseMatrix::numRows, Paso_Pattern_mis_seed, Paso_SparseMatrix_getBorderNodes(), Paso_SystemMatrix_CalcBorderMIS(), Paso_SparseMatrix::pattern, and Paso_Pattern::ptr.
double Paso_Pattern_mis_seed = .4142135623730951 [static] |
Referenced by Paso_SystemMatrix_getMIS().