#include "Common.h"
Go to the source code of this file.
#define INDEXLIST_LENGTH 85 |
#define PATTERN_FORMAT_DEFAULT 0 |
#define PATTERN_FORMAT_OFFSET1 2 |
#define PATTERN_FORMAT_SYM 1 |
int Paso_comparIndex | ( | const void * | , | |
const void * | ||||
) |
dim_t Paso_IndexList_count | ( | Paso_IndexList * | , | |
index_t | , | |||
index_t | ||||
) |
References Paso_IndexList::extension, Paso_IndexList::index, Paso_IndexList::n, and Paso_IndexList_count().
Referenced by Paso_IndexList_count(), and Paso_IndexList_createPattern().
Paso_Pattern* Paso_IndexList_createPattern | ( | dim_t | n0, | |
dim_t | n, | |||
Paso_IndexList * | index_list, | |||
index_t | range_min, | |||
index_t | range_max, | |||
index_t | index_offset | |||
) |
void Paso_IndexList_free | ( | Paso_IndexList * | ) |
References Paso_IndexList::extension, Paso_IndexList_free(), and TMPMEMFREE.
Referenced by Paso_IndexList_free(), Paso_Pattern_Aggregiation(), Paso_Pattern_binop(), Paso_Pattern_multiply(), and Paso_Pattern_RS().
void Paso_IndexList_insertIndex | ( | Paso_IndexList * | , | |
index_t | ||||
) |
References Paso_IndexList::extension, Paso_IndexList::index, INDEXLIST_LENGTH, Paso_IndexList::n, Paso_checkPtr(), Paso_IndexList_insertIndex(), and TMPMEMALLOC.
Referenced by Paso_IndexList_insertIndex(), Paso_Pattern_Aggregiation(), Paso_Pattern_binop(), Paso_Pattern_multiply(), and Paso_Pattern_RS().
void Paso_IndexList_toArray | ( | Paso_IndexList * | , | |
index_t * | , | |||
index_t | , | |||
index_t | , | |||
index_t | ||||
) |
References Paso_IndexList::extension, Paso_IndexList::index, Paso_IndexList::n, and Paso_IndexList_toArray().
Referenced by Paso_IndexList_createPattern(), and Paso_IndexList_toArray().
Paso_Pattern* Paso_Pattern_alloc | ( | int | type, | |
dim_t | numOutput, | |||
dim_t | numInput, | |||
index_t * | ptr, | |||
index_t * | index | |||
) |
References Paso_Pattern::index, Paso_Pattern::len, MAX, MEMALLOC, MIN, Paso_Pattern::numInput, Paso_Pattern::numOutput, Paso_checkPtr(), Paso_comparIndex(), Paso_resetError(), Paso_setError(), PATTERN_FORMAT_OFFSET1, PATTERN_FORMAT_SYM, Paso_Pattern::ptr, Paso_Pattern::reference_counter, Paso_Pattern::type, and TYPE_ERROR.
Referenced by Finley_IndexList_createPattern(), Paso_IndexList_createPattern(), Paso_Pattern_getSubpattern(), Paso_Pattern_unrollBlocks(), Paso_SparseMatrix_loadMM_toCSR(), Paso_SystemMatrix_loadMM_toCSC(), and Paso_SystemMatrix_loadMM_toCSR().
Paso_Pattern* Paso_Pattern_binop | ( | int | type, | |
Paso_Pattern * | A, | |||
Paso_Pattern * | B | |||
) |
References Paso_IndexList::extension, Paso_Pattern::index, Paso_IndexList::n, Paso_Pattern::numInput, Paso_Pattern::numOutput, Paso_checkPtr(), Paso_IndexList_createPattern(), Paso_IndexList_free(), Paso_IndexList_insertIndex(), Paso_Pattern::ptr, TMPMEMALLOC, and TMPMEMFREE.
Referenced by Paso_Solver_getAMG().
void Paso_Pattern_color | ( | Paso_Pattern * | patter, | |
index_t * | num_colors, | |||
index_t * | colorOf | |||
) |
References Paso_IndexList::n, Paso_Pattern::numOutput, Paso_checkPtr(), Paso_noError(), Paso_Pattern_mis(), Paso_Util_isAny(), TMPMEMALLOC, and TMPMEMFREE.
Referenced by Paso_Pattern_greedy_color(), Paso_Solver_getGS(), and Paso_Solver_getILU().
void Paso_Pattern_free | ( | Paso_Pattern * | ) |
References Paso_Pattern::index, MEMFREE, Paso_Pattern::ptr, and Paso_Pattern::reference_counter.
Referenced by Finley_IndexList_createPattern(), Finley_makePattern(), Finley_Mesh_optimizeDOFDistribution(), Finley_Mesh_optimizeDOFLabeling(), Paso_IndexList_createPattern(), Paso_Pattern_Aggregiation(), Paso_Pattern_RS(), Paso_Solver_getAMG(), Paso_Solver_GS_free(), Paso_Solver_ILU_free(), Paso_SparseMatrix_free(), Paso_SparseMatrix_getSubmatrix(), Paso_SparseMatrix_loadMM_toCSR(), Paso_SystemMatrix_loadMM_toCSC(), Paso_SystemMatrix_loadMM_toCSR(), Paso_SystemMatrixPattern_free(), and Paso_SystemMatrixPattern_unrollBlocks().
Paso_Pattern* Paso_Pattern_getReference | ( | Paso_Pattern * | ) |
References Paso_Pattern::reference_counter.
Referenced by Paso_Pattern_unrollBlocks(), Paso_Solver_getGS(), Paso_Solver_getILU(), Paso_SparseMatrix_alloc(), and Paso_SystemMatrixPattern_alloc().
Paso_Pattern* Paso_Pattern_getSubpattern | ( | Paso_Pattern * | , | |
dim_t | , | |||
dim_t | , | |||
index_t * | , | |||
index_t * | ||||
) |
bool_t Paso_Pattern_isEmpty | ( | Paso_Pattern * | in | ) |
References FALSE, Paso_Pattern::index, Paso_Pattern::ptr, and TRUE.
Referenced by Paso_SparseMatrix_MatrixVector_CSC_OFFSET0(), and Paso_SparseMatrix_setValues().
void Paso_Pattern_mis | ( | Paso_Pattern * | pattern_p, | |
index_t * | mis_marker | |||
) |
References Paso_Pattern::index, IS_AVAILABLE, IS_CONNECTED_TO_MIS, IS_IN_MIS, IS_IN_MIS_NOW, Paso_IndexList::n, Paso_Pattern::numOutput, Paso_checkPtr(), Paso_Pattern_mis_seed, Paso_setError(), Paso_Util_isAny(), PATTERN_FORMAT_OFFSET1, PATTERN_FORMAT_SYM, Paso_Pattern::ptr, TMPMEMALLOC, TMPMEMFREE, Paso_Pattern::type, and TYPE_ERROR.
Referenced by Paso_Pattern_color(), and Paso_Solver_getRILU().
Paso_Pattern* Paso_Pattern_multiply | ( | int | type, | |
Paso_Pattern * | A, | |||
Paso_Pattern * | B | |||
) |
References Paso_IndexList::extension, Paso_Pattern::index, Paso_IndexList::n, Paso_Pattern::numInput, Paso_Pattern::numOutput, Paso_checkPtr(), Paso_IndexList_createPattern(), Paso_IndexList_free(), Paso_IndexList_insertIndex(), Paso_Pattern::ptr, TMPMEMALLOC, and TMPMEMFREE.
Referenced by Paso_Solver_getAMG().
void Paso_Pattern_reduceBandwidth | ( | Paso_Pattern * | self, | |
index_t * | oldToNew | |||
) |
References Paso_DegreeAndIdx::deg, Paso_DegreeAndIdx::idx, MAX, N, Paso_Pattern::numInput, Paso_Pattern::numOutput, Paso_checkPtr(), Paso_comparDegreeAndIdx(), Paso_Pattern_dropTree(), Paso_Pattern_getBandwidth(), Paso_setError(), Paso_Pattern::ptr, TMPMEMALLOC, TMPMEMFREE, and VALUE_ERROR.
Referenced by Finley_Mesh_optimizeDOFLabeling().
Paso_Pattern* Paso_Pattern_unrollBlocks | ( | Paso_Pattern * | , | |
int | , | |||
dim_t | , | |||
dim_t | ||||
) |
References Paso_Pattern::index, Paso_Pattern::len, MEMALLOC, MEMFREE, Paso_Pattern::numInput, Paso_Pattern::numOutput, Paso_checkPtr(), Paso_noError(), Paso_Pattern_alloc(), Paso_Pattern_getReference(), Paso_resetError(), Paso_setError(), PATTERN_FORMAT_OFFSET1, PATTERN_FORMAT_SYM, Paso_Pattern::ptr, Paso_Pattern::type, and TYPE_ERROR.
Referenced by Paso_SparseMatrix_alloc(), and Paso_SystemMatrixPattern_unrollBlocks().