#include "PasoUtil.h"
#include "Pattern_coupling.h"
#include <limits.h>
Defines | |
#define | IS_AVAILABLE -1 |
#define | IS_IN_SET -3 |
#define | IS_REMOVED -4 |
Functions | |
void | Paso_Pattern_coup (Paso_SparseMatrix *A, index_t *mis_marker, double threshold) |
void | Paso_Pattern_RS (Paso_SparseMatrix *A, index_t *mis_marker, double theta) |
void | Paso_Pattern_Aggregiation (Paso_SparseMatrix *A, index_t *mis_marker, double theta) |
void | Paso_Pattern_greedy (Paso_Pattern *pattern, index_t *mis_marker) |
void | Paso_Pattern_greedy_color (Paso_Pattern *pattern, index_t *mis_marker) |
#define IS_AVAILABLE -1 |
#define IS_IN_SET -3 |
Referenced by Paso_Pattern_coup(), Paso_Pattern_greedy(), and Paso_Pattern_greedy_color().
#define IS_REMOVED -4 |
Referenced by Paso_Pattern_coup(), Paso_Pattern_greedy(), and Paso_Pattern_greedy_color().
void Paso_Pattern_Aggregiation | ( | Paso_SparseMatrix * | A, | |
index_t * | mis_marker, | |||
double | theta | |||
) |
References ABS, Paso_IndexList::extension, Paso_Pattern::index, IS_AVAILABLE, MEMALLOC, MEMFREE, Paso_IndexList::n, Paso_Pattern::numInput, Paso_Pattern::numOutput, Paso_SparseMatrix::numRows, Paso_checkPtr(), Paso_IndexList_createPattern(), Paso_IndexList_free(), Paso_IndexList_insertIndex(), Paso_Pattern_free(), Paso_Pattern_greedy(), Paso_setError(), Paso_SparseMatrix::pattern, PATTERN_FORMAT_SYM, Paso_Pattern::ptr, TMPMEMALLOC, TMPMEMFREE, Paso_Pattern::type, TYPE_ERROR, and Paso_SparseMatrix::val.
Referenced by Paso_Solver_getAMG().
void Paso_Pattern_coup | ( | Paso_SparseMatrix * | A, | |
index_t * | mis_marker, | |||
double | threshold | |||
) |
References ABS, FALSE, Paso_Pattern::index, Paso_IndexList::index, IS_AVAILABLE, IS_IN_SET, IS_REMOVED, MEMALLOC, MEMFREE, Paso_IndexList::n, Paso_SparseMatrix::numRows, Paso_comparIndex(), Paso_setError(), Paso_SparseMatrix::pattern, PATTERN_FORMAT_SYM, Paso_Pattern::ptr, TRUE, Paso_Pattern::type, TYPE_ERROR, Paso_SparseMatrix::val, and VALUE_ERROR.
Referenced by Paso_Solver_getAMG().
void Paso_Pattern_greedy | ( | Paso_Pattern * | pattern, | |
index_t * | mis_marker | |||
) |
References FALSE, Paso_Pattern::index, IS_AVAILABLE, IS_IN_SET, IS_REMOVED, Paso_IndexList::n, Paso_Pattern::numOutput, Paso_setError(), PATTERN_FORMAT_SYM, Paso_Pattern::ptr, TRUE, Paso_Pattern::type, and TYPE_ERROR.
Referenced by Paso_Pattern_Aggregiation(), and Paso_Pattern_RS().
void Paso_Pattern_greedy_color | ( | Paso_Pattern * | pattern, | |
index_t * | mis_marker | |||
) |
void Paso_Pattern_RS | ( | Paso_SparseMatrix * | A, | |
index_t * | mis_marker, | |||
double | theta | |||
) |
References Paso_IndexList::extension, Paso_Pattern::index, IS_AVAILABLE, MIN, Paso_IndexList::n, Paso_Pattern::numInput, Paso_Pattern::numOutput, Paso_SparseMatrix::numRows, Paso_checkPtr(), Paso_IndexList_createPattern(), Paso_IndexList_free(), Paso_IndexList_insertIndex(), Paso_Pattern_free(), Paso_Pattern_greedy(), Paso_setError(), Paso_SparseMatrix::pattern, PATTERN_FORMAT_SYM, Paso_Pattern::ptr, TMPMEMALLOC, TMPMEMFREE, Paso_Pattern::type, TYPE_ERROR, and Paso_SparseMatrix::val.
Referenced by Paso_Solver_getAMG().